Home
last modified time | relevance | path

Searched refs:bitfield_size (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_btf.h45 #define BTF_MEMBER_OFFSET(bitfield_size, bits_offset) \ argument
46 ((bitfield_size) << 24 | (bits_offset))
/linux-6.6.21/tools/bpf/bpftool/
Dbtf_dumper.c486 __u32 bitfield_size = 0; in btf_dumper_struct() local
489 bitfield_size = BTF_MEMBER_BITFIELD_SIZE(bit_offset); in btf_dumper_struct()
495 if (bitfield_size) { in btf_dumper_struct()
496 btf_dumper_bitfield(bitfield_size, in btf_dumper_struct()
/linux-6.6.21/tools/bpf/bpftool/Documentation/
Dbpftool-btf.rst162 'bitfield_field' type_id=3 bits_offset=32 bitfield_size=4
/linux-6.6.21/Documentation/bpf/
Dbtf.rst994 a type_id=2 bitfield_size=2 bits_offset=0
995 b type_id=2 bitfield_size=3 bits_offset=2
996 c type_id=2 bitfield_size=2 bits_offset=5
Dllvm_reloc.rst437 'c' type_id=4 bits_offset=64 bitfield_size=15
/linux-6.6.21/kernel/bpf/
Dbtf.c880 u32 bitfield_size = BTF_MEMBER_BITFIELD_SIZE(m->offset); in btf_member_is_reg_int() local
886 return !bitfield_size && in btf_member_is_reg_int()
3924 u32 member_offset, bitfield_size; in __btf_struct_show() local
3931 bitfield_size = __btf_member_bitfield_size(t, member); in __btf_struct_show()
3934 if (bitfield_size) { in __btf_struct_show()
3941 bitfield_size, show); in __btf_struct_show()