Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_integrity_merge_rq

Proto:bool blk_integrity_merge_rq(struct request_queue *q, struct request *req, struct request *next)

Type:bool

Parameter:

TypeParameterName
struct request_queue *q
struct request *req
struct request *next
167  If blk_integrity_rq(req) == 0 && blk_integrity_rq(next) == 0 Then Return true
170  If blk_integrity_rq(req) == 0 || blk_integrity_rq(next) == 0 Then Return false
173  If control flags != control flags Then Return false
177  If nr_integrity_segments + nr_integrity_segments > max_integrity_segments Then Return false
181  If integrity_req_gap_back_merge(req, bio) Then Return false
184  Return true