函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bio.h Create Date:2022-07-27 06:46:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bio_get_last_bvec

函数原型:static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv)

返回类型:void

参数:

类型参数名称
struct bio *bio
struct bio_vec *bv
254  iter等于bi_iter
257  如果此条件成立可能性小(为编译器优化)(!bio_multiple_segments(bio))则
258  bv等于bio_iovec(bio)
259  返回
262  bio_advance_iter(bio, & iter, residual I/O count )
264  如果非 number of bytes completed in current bvec idx等于 current index into bvl_vec 减1
266  否则idx等于 current index into bvl_vec
269  bv等于 the actual vec list [idx]
275  如果 number of bytes completed in current bvec bv_len等于 number of bytes completed in current bvec
调用者
名称描述
bio_will_gap