Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
H A Dtest_btf.h45 #define BTF_MEMBER_OFFSET(bitfield_size, bits_offset) \ argument
46 ((bitfield_size) << 24 | (bits_offset))
/linux/tools/bpf/bpftool/
H A 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/tools/bpf/bpftool/Documentation/
H A Dbpftool-btf.rst158 'bitfield_field' type_id=3 bits_offset=32 bitfield_size=4
/linux/Documentation/bpf/
H A Dbtf.rst1023 a type_id=2 bitfield_size=2 bits_offset=0
1024 b type_id=2 bitfield_size=3 bits_offset=2
1025 c type_id=2 bitfield_size=2 bits_offset=5
H A Dllvm_reloc.rst437 'c' type_id=4 bits_offset=64 bitfield_size=15
/linux/kernel/bpf/
H A Dbtf.c906 u32 bitfield_size = BTF_MEMBER_BITFIELD_SIZE(m->offset); in btf_member_is_reg_int() local
912 return !bitfield_size && in btf_member_is_reg_int()
4129 u32 member_offset, bitfield_size; in __btf_struct_show() local
4136 bitfield_size = __btf_member_bitfield_size(t, member); in __btf_struct_show()
4139 if (bitfield_size) { in __btf_struct_show()
4146 bitfield_size, show); in __btf_struct_show()