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:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_flags_show

Proto:static int blk_flags_show(struct seq_file *m, const unsigned long flags, const char *const *flag_name, int flag_name_count)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
const unsigned longflags
const char *const *flag_name
intflag_name_count
78  bool sep = false
81  When i < size of flags * BITS_PER_BYTE cycle
82  If Not (flags & BIT(i)) Then Continue
84  If sep Then seq_puts(m, "|")
86  sep = true
87  If i < flag_name_count && flag_name[i] Then seq_puts(m, flag_name[i])
89  Else seq_printf(m, "%d", i)
92  Return 0
Caller
NameDescribe
queue_state_show
hctx_state_show
hctx_flags_show
__blk_mq_debugfs_rq_show