Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ll_front_merge_fn

Proto:int ll_front_merge_fn(struct request *req, struct bio *bio, unsigned int nr_segs)

Type:int

Parameter:

TypeParameterName
struct request *req
struct bio *bio
unsigned intnr_segs
610  If req_gap_front_merge(req, bio) Then Return 0
612  If blk_integrity_rq(req) && integrity_req_gap_front_merge(req, bio) Then Return 0
615  If blk_rq_sectors(req) + bio_sectors(bio) > blk_rq_get_max_sectors(req, device address in 512 byte sectors ) Then
617  req_set_nomerge(q, req)
618  Return 0
621  Return ll_new_hw_segment(req, bio, nr_segs)