Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bio.h Create Date:2022-07-28 05:45:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bio_advance_iter

Proto:static inline void bio_advance_iter(struct bio *bio, struct bvec_iter *iter, unsigned bytes)

Type:void

Parameter:

TypeParameterName
struct bio *bio
struct bvec_iter *iter
unsignedbytes
144  device address in 512 byte sectors += bytes >> 9
146  If bio_no_advance_iter(bio) Then residual I/O count -= bytes
148  Else bvec_iter_advance( the actual vec list , iter, bytes)
Caller
NameDescribe
bio_advance_advance - increment/complete a bio by some number of bytes*@bio: bio to advance*@bytes: number of bytes to complete* This updates bi_sector, bi_size and bi_idx; if the number of bytes to* complete doesn't align with a bvec boundary, then bv_len and
bio_copy_data_iter
copy_to_high_bio_irqSimple bounce buffer support for highmem pages. Depending on the* queue gfp mask set, *to may or may not be a highmem page. kmap it* always, it will do the Right Thing
bounce_end_io