函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:queue_poll_stat_show

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

返回类型:int

参数:

类型参数名称
void *data
struct seq_file *m
29  q等于data
32 bucket小于Must be consistent with blk_mq_poll_stats_bkt() 除2循环
33  seq_printf(m, "read (%d Bytes): ", 1 << (9 + bucket))
34  print_stat(m, & poll_stat[2 * bucket])
35  seq_puts(m, "\n")
37  seq_printf(m, "write (%d Bytes): ", 1 << (9 + bucket))
38  print_stat(m, & poll_stat[2 * bucket + 1])
39  seq_puts(m, "\n")
41  返回:0