函数逻辑报告 |
Source Code:block\blk-mq-debugfs.c |
Create Date:2022-07-27 19:43:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__blk_mq_debugfs_rq_show
函数原型:int __blk_mq_debugfs_rq_show(struct seq_file *m, struct request *rq)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
struct request * | rq |
330 | seq_printf(m, "%p {.op=", rq) |
331 | 如果字符串比较恒等于0则seq_printf(m, "%u", op) |
333 | 否则seq_printf(m, "%s", op_str) |
336 | blk_flags_show(m, op and common flags & ~REQ_OP_MASK, cmd_flag_name, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(cmd_flag_name)) |
339 | blk_flags_show(m, (__forceunsignedint)rq_flags, rqf_name, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(rqf_name)) |
341 | seq_printf(m, ", .state=%s", blk_mq_rq_state_name(lk_mq_rq_state() - read the current MQ_RQ_* state of a request*@rq: target request.)) |
342 | seq_printf(m, ", .tag=%d, .internal_tag=%d", tag, internal_tag) |
347 | 返回:0 |
名称 | 描述 |
---|---|
blk_mq_debugfs_rq_show | |
hctx_show_busy_rq | Note: the state of a request may change while this function is in progress,* e.g. due to a concurrent blk_mq_finish_request() call. Returns true to* keep iterating requests. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |