Home
last modified time | relevance | path

Searched refs:bit_sz (Results 1 – 2 of 2) sorted by relevance

/tools/bpf/bpftool/
Dbtf.c161 __u32 bit_off, bit_sz; in dump_btf_type() local
165 bit_sz = BTF_MEMBER_BITFIELD_SIZE(m->offset); in dump_btf_type()
168 bit_sz = 0; in dump_btf_type()
176 if (bit_sz) { in dump_btf_type()
178 bit_sz); in dump_btf_type()
184 if (bit_sz) in dump_btf_type()
185 printf(" bitfield_size=%u", bit_sz); in dump_btf_type()
/tools/lib/bpf/
Dbtf_dump.c794 int align, i, bit_sz; in btf_is_struct_packed() local
807 bit_sz = btf_member_bitfield_size(t, i); in btf_is_struct_packed()
808 if (bit_sz == 0 && m->offset % (8 * align) != 0) in btf_is_struct_packed()