Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:55:32
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_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

Proto:void bio_advance(struct bio *bio, unsigned bytes)

Type:void

Parameter:

TypeParameterName
struct bio *bio
unsignedbytes
1046  If bio_integrity(bio) Then bio_integrity_advance(bio, bytes)
1049  bio_advance_iter(bio, & bi_iter, bytes)
Caller
NameDescribe
bio_split_split - split a bio*@bio: bio to split*@sectors: number of sectors to split from the front of @bio*@gfp: gfp mask*@bs: bio set to allocate from* Allocates and returns a new bio which represents @sectors from the start of
bio_trim_trim - trim a bio*@bio: bio to trim*@offset: number of sectors to trim from the front of @bio*@size: size we want to trim @bio to, in sectors
req_bio_endio