aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2022-06-10 12:58:27 -0700
committerJens Axboe <[email protected]>2022-06-27 06:29:11 -0600
commitcfa320f72882f0e944e2237287db84b0f7df877d (patch)
tree4f98bfdc889216c8e68f4c1a1ce0b5a489f87654 /tools/perf/scripts/python
parent9cfe3ddecdc556ab1d1693b29e8a26ba80953ccc (diff)
iov: introduce iov_iter_aligned
The existing iov_iter_alignment() function returns the logical OR of address and length. For cases where address and length need to be considered separately, introduce a helper function that a caller can specificy length and address masks that indicate if the iov is unaligned. Cc: Alexander Viro <[email protected]> Signed-off-by: Keith Busch <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions