函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__bvec_gap_to_prev

函数原型:static inline bool __bvec_gap_to_prev(struct request_queue *q, struct bio_vec *bprv, unsigned int offset)

返回类型:bool

参数:

类型参数名称
struct request_queue *q
struct bio_vec *bprv
unsigned intoffset
94  返回:offset按位与queue_virt_boundary(q)或bv_offsetbv_len按位与queue_virt_boundary(q)
调用者
名称描述
bio_will_gap
bvec_gap_to_prevCheck if adding a bio_vec after bprv with offset would create a gap in* the SG list. Most drivers don't care about this, but some do.