Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ll_new_hw_segment

Proto:static inline int ll_new_hw_segment(struct request *req, struct bio *bio, unsigned int nr_phys_segs)

Type:int

Parameter:

TypeParameterName
struct request *req
struct bio *bio
unsigned intnr_phys_segs
574  If * Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed. + nr_phys_segs > queue_max_segments(q) Then Go to no_merge
577  If (blk_integrity_merge_bio(q, req, bio) == false) Then Go to no_merge
584  * Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed. += nr_phys_segs
585  Return 1
587  no_merge :
588  req_set_nomerge(q, req)
589  Return 0
Caller
NameDescribe
ll_back_merge_fn
ll_front_merge_fn