函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blk_types.h Create Date:2022-07-27 06:44:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Check if a bio or request operation is a zone management operation, with* the exception of REQ_OP_ZONE_RESET_ALL which is treated as a special case* due to its different handling in the block layer and device response in* case of command failure.

函数原型:static inline bool op_is_zone_mgmt(enum req_opf op)

返回类型:bool

参数:

类型参数名称
enum req_opfop
436  : & == REQ_OP_ZONE_RESET
437  : & == REQ_OP_ZONE_OPEN
438  : & == REQ_OP_ZONE_CLOSE
439  : & == REQ_OP_ZONE_FINISH
440  返回:true
441  默认
442  返回:false
调用者
名称描述
blkdev_zone_mgmtlkdev_zone_mgmt - Execute a zone management operation on a range of zones*@bdev: Target block device*@op: Operation to be performed on the zones*@sector: Start sector of the first zone to operate on*@nr_sectors: Number of sectors, should be at least the