函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return true if a request is a write requests that needs zone write locking.

函数原型:bool blk_req_needs_zone_write_lock(struct request *rq)

返回类型:bool

参数:

类型参数名称
struct request *rq
36  如果非seq_zones_wlock则返回:false
39  如果blk_rq_is_passthrough(rq)则返回:false
43  :req_op(rq)恒等于REQ_OP_WRITE_ZEROES
44  :req_op(rq)恒等于REQ_OP_WRITE_SAME
45  :req_op(rq)恒等于REQ_OP_WRITE
46  返回:blk_rq_zone_is_seq(rq)
47  默认
48  返回:false
调用者
名称描述
blk_req_zone_write_lock
blk_req_can_dispatch_to_zone