函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hctx_dispatched_show

函数原型:static int hctx_dispatched_show(void *data, struct seq_file *m)

返回类型:int

参数:

类型参数名称
void *data
struct seq_file *m
549  hctx等于data
552  seq_printf(m, "%8u\t%lu\n", 0U, @dispatched: Number of dispatch requests by queue. [0])
554 i小于BLK_MQ_MAX_DISPATCH_ORDER减1循环
555  d等于1U左移i减1位
557  seq_printf(m, "%8u\t%lu\n", d, @dispatched: Number of dispatch requests by queue. [i])
560  seq_printf(m, "%8u+\t%lu\n", 1U << (i - 1), @dispatched: Number of dispatch requests by queue. [i])
561  返回:0