Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_bitfield_seq_show

Proto:static void btf_bitfield_seq_show(void *data, u8 bits_offset, u8 nr_bits, struct seq_file *m)

Type:void

Parameter:

TypeParameterName
void *data
u8bits_offset
u8nr_bits
struct seq_file *m
1468  u64 print_num[2] = {}
1470  nr_copy_bits = nr_bits + bits_offset
1471  nr_copy_bytes = BITS_ROUNDUP_BYTES(nr_copy_bits)
1473  No 3D Now!(print_num, data, nr_copy_bytes)
1478  left_shift_bits = BTF verification:* To verify BTF data, two passes are needed.* Pass #1* ~~~~~~~* The first pass is to collect all btf_type objects to* an array: "btf->types".* Depending on the C type that a btf_type is describing, - nr_copy_bits
1480  right_shift_bits = BTF verification:* To verify BTF data, two passes are needed.* Pass #1* ~~~~~~~* The first pass is to collect all btf_type objects to* an array: "btf->types".* Depending on the C type that a btf_type is describing, - nr_bits
1482  btf_int128_shift(print_num, left_shift_bits, right_shift_bits)
1483  btf_int128_print(m, print_num)
Caller
NameDescribe
btf_int_bits_seq_show
btf_struct_seq_show