函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-integrity.c Create Date:2022-07-27 19:38:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_integrity_merge_rq

函数原型:bool blk_integrity_merge_rq(struct request_queue *q, struct request *req, struct request *next)

返回类型:bool

参数:

类型参数名称
struct request_queue *q
struct request *req
struct request *next
167  如果blk_integrity_rq(req)恒等于0且blk_integrity_rq(next)恒等于0则返回:true
170  如果blk_integrity_rq(req)恒等于0或blk_integrity_rq(next)恒等于0则返回:false
173  如果control flags 不等于control flags 则返回:false
177  如果nr_integrity_segmentsnr_integrity_segments大于max_integrity_segments则返回:false
181  如果integrity_req_gap_back_merge(req, bio)则返回:false
184  返回:true