Home
last modified time | relevance | path

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

/linux-6.1.9/tools/bpf/bpftool/
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-6.1.9/kernel/bpf/
Dbtf.c172 #define BITS_PER_BYTE_MASKED(bits) ((bits) & BITS_PER_BYTE_MASK) macro
175 (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits))
835 if (BITS_PER_BYTE_MASKED(nr_bits) || in btf_type_int_is_regular()
878 BITS_PER_BYTE_MASKED(m->offset) || in btf_member_is_reg_int()
880 BITS_PER_BYTE_MASKED(nr_bits) || in btf_member_is_reg_int()
2047 BITS_PER_BYTE_MASKED(struct_bits_off); in btf_int_check_member()
2090 if (BITS_PER_BYTE_MASKED(struct_bits_off)) { in btf_int_check_kflag_member()
2104 nr_copy_bits = nr_bits + BITS_PER_BYTE_MASKED(struct_bits_off); in btf_int_check_kflag_member()
2303 bits_offset = BITS_PER_BYTE_MASKED(total_bits_offset); in btf_int_bits_show()
2322 BITS_PER_BYTE_MASKED(nr_bits)) { in btf_int_show()
[all …]