Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk.h Create Date:2022-07-28 12:15:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline bool bvec_gap_to_prev(struct request_queue *q, struct bio_vec *bprv, unsigned int offset)

Type:bool

Parameter:

TypeParameterName
struct request_queue *q
struct bio_vec *bprv
unsigned intoffset
105  If Not queue_virt_boundary(q) Then Return false
107  Return __bvec_gap_to_prev(q, bprv, offset)
Caller
NameDescribe
__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