函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:inline const char *blk_op_str(unsigned int op)

返回类型:char

参数:

类型参数名称
unsigned intop
157  op_str等于"UNKNOWN"
159  如果op小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(blk_op_name)且blk_op_name[op]则op_str等于blk_op_name[op]
162  返回:op_str
调用者
名称描述
print_req_error
__blk_mq_debugfs_rq_show