Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\btf.c Create Date:2022-07-28 13:19:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:btf_enum_seq_show

Proto:static void btf_enum_seq_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct seq_file *m)

Type:void

Parameter:

TypeParameterName
const struct btf *btf
const struct btf_type *t
u32type_id
void *data
u8bits_offset
struct seq_file *m
2502  enums = btf_type_enum(t)
2503  nr_enums = btf_type_vlen(t)
2504  v = data
2506  When i < nr_enums cycle
2507  If v == val Then
2511  Return
2515  seq_printf(m, "%d", v)