Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lk_op_str - Return string XXX in the REQ_OP_XXX.*@op: REQ_OP_XXX.* Description: Centralize block layer function to convert REQ_OP_XXX into* string format. Useful in the debugging and tracing bio or request. For

Proto:inline const char *blk_op_str(unsigned int op)

Type:char

Parameter:

TypeParameterName
unsigned intop
157  op_str = "UNKNOWN"
159  If op < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(blk_op_name) && blk_op_name[op] Then op_str = blk_op_name[op]
162  Return op_str
Caller
NameDescribe
print_req_error
__blk_mq_debugfs_rq_show