函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\btf.c Create Date:2022-07-27 14:35:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:btf_bitfield_seq_show

函数原型:static void btf_bitfield_seq_show(void *data, u8 bits_offset, u8 nr_bits, struct seq_file *m)

返回类型:void

参数:

类型参数名称
void *data
u8bits_offset
u8nr_bits
struct seq_file *m
1468  u64 print_num[2] = {}
1470  nr_copy_bits等于nr_bitsbits_offset
1471  nr_copy_bytes等于BITS_ROUNDUP_BYTES(nr_copy_bits)
1473  内存复制(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)
调用者
名称描述
btf_int_bits_seq_show
btf_struct_seq_show