com.silver-tree.ide-plugin/samples/include/linux/uio.h
/*
 * Cap the iov_iter by given limit; note that the second argument is
 * *not* the new size - it's upper limit for such.  Passing it a value
 * greater than the amount of data in iov_iter is fine - it'll just do
 * nothing in that case.
 */
Cap the iov_iter by given limit; note that the second argument is
*not* the new size - it's upper limit for such.  Passing it a value
greater than the amount of data in iov_iter is fine - it'll just do
nothing in that case.
Cap the iov_iter by given limit ; note that the second argument is * not * the new size - it ' s upper limit for such . Passing it a value greater than the amount of data in iov_iter is fine - it ' ll just do nothing in that case .
static inline void iov_iter_truncate(struct iov_iter *i, u64 count)
{
	if (i->count > count)
		i->count = count;
}
static inline void iov_iter_truncate ( struct iov_iter * i , u64 count ) { if ( i -> count > count ) i -> count = count ; }
Cap the iov_iter by given limit; note that the second argument is
 *not* the new size - it's upper limit for such.
Cap the iov_iter by given limit ; note that the second argument is * not * the new size - it ' s upper limit for such .
/*
	 * count doesn't have to fit in size_t - comparison extends both
	 * operands to u64 here and any value that would be truncated by
	 * conversion in assignement is by definition greater than all
	 * values of size_t, including old i->count.
	 */