Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-debugfs.c Create Date:2022-07-28 18:07:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:queue_poll_stat_show

Proto:static int queue_poll_stat_show(void *data, struct seq_file *m)

Type:int

Parameter:

TypeParameterName
void *data
struct seq_file *m
29  q = data
32  When bucket < Must be consistent with blk_mq_poll_stats_bkt() / 2 cycle
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  Return 0