Function report |
Source Code:block\blk-mq-debugfs.c |
Create Date:2022-07-28 18:08:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__blk_mq_debugfs_rq_show
Proto:int __blk_mq_debugfs_rq_show(struct seq_file *m, struct request *rq)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | m | |
struct request * | rq |
330 | seq_printf(m, "%p {.op=", rq) |
331 | If strcmp(op_str, "UNKNOWN") == 0 Then seq_printf(m, "%u", op) |
333 | Else 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 | Return 0 |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |