函数逻辑报告

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

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

函数原型: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
105  如果非queue_virt_boundary(q)则返回:false
107  返回:__bvec_gap_to_prev(q, bprv, offset)
调用者
名称描述
__bio_add_pc_page__bio_add_pc_page - attempt to add page to passthrough bio*@q: the target queue*@bio: destination bio*@page: page to add*@len: vec entry length*@offset: vec entry offset*@same_page: return if the merge happen inside the same page
blk_bio_segment_splitlk_bio_segment_split - split a bio in two bios*@q: [in] request queue pointer*@bio: [in] bio to be split*@bs: [in] bio set to allocate the clone from*@segs: [out] number of segments in the bio with the first half of the sectors* Clone @bio, update the
bio_integrity_add_page_integrity_add_page - Attach integrity metadata*@bio: bio to update*@page: page containing integrity metadata*@len: number of bytes of integrity metadata in page*@offset: start offset within page
integrity_req_gap_back_merge
integrity_req_gap_front_merge