aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-05-22 13:47:53 +0200
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:44:34 +0200
commit261d812b04ef82808d25c0e07c8487d82ce18e4e (patch)
treeac670cee80330b1b4c91bc89283df88015912442 /include/linux/string.h
parentbtrfs: factor out a btrfs_csum_ptr helper (diff)
btrfs: add a helper to iterate through a btrfs_bio with sector sized chunks
Add a helper that works similar to __bio_for_each_segment, but instead of iterating over PAGE_SIZE chunks it iterates over each sector. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> [hch: split from a larger patch, and iterate over the offset instead of the offset bits] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> [ add parameter comments ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions