函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-27 18:30:45
Last Modify:2020-03-17 23:13:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_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

函数原型:void bio_advance(struct bio *bio, unsigned bytes)

返回类型:void

参数:

类型参数名称
struct bio *bio
unsignedbytes
1046  如果bio_integrity(bio)则bio_integrity_advance(bio, bytes)
1049  bio_advance_iter(bio, & bi_iter, bytes)
调用者
名称描述
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