Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
H A Dbtf_dumper.c19 #define BITS_PER_BYTE_MASKED(bits) ((bits) & BITS_PER_BYTE_MASK) macro
22 (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits))
390 bit_offset = BITS_PER_BYTE_MASKED(total_bits_offset); in btf_dumper_int_bits()
406 BITS_PER_BYTE_MASKED(nr_bits)) { in btf_dumper_int()
497 BITS_PER_BYTE_MASKED(bit_offset), in btf_dumper_struct()
501 BITS_PER_BYTE_MASKED(bit_offset), in btf_dumper_struct()
/linux/kernel/bpf/
H A Dbtf.c178 #define BITS_PER_BYTE_MASKED(bits) ((bits) & BITS_PER_BYTE_MASK) macro
181 (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits))
875 if (BITS_PER_BYTE_MASKED(nr_bits) || in btf_type_int_is_regular()
918 BITS_PER_BYTE_MASKED(m->offset) || in btf_member_is_reg_int()
920 BITS_PER_BYTE_MASKED(nr_bits) || in btf_member_is_reg_int()
2157 BITS_PER_BYTE_MASKED(struct_bits_off); in btf_int_check_member()
2200 if (BITS_PER_BYTE_MASKED(struct_bits_off)) { in btf_int_check_kflag_member()
2214 nr_copy_bits = nr_bits + BITS_PER_BYTE_MASKED(struct_bits_off); in btf_int_check_kflag_member()
2413 bits_offset = BITS_PER_BYTE_MASKED(total_bits_offset); in btf_int_bits_show()
2432 BITS_PER_BYTE_MASKED(nr_bits)) { in btf_int_show()
[all …]