Home
last modified time | relevance | path

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

/linux-6.1.9/tools/bpf/bpftool/
Dbtf_dumper.c20 #define BITS_ROUNDDOWN_BYTES(bits) ((bits) >> 3) macro
22 (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits))
389 data += BITS_ROUNDDOWN_BYTES(total_bits_offset); in btf_dumper_int_bits()
494 data_off = data + BITS_ROUNDDOWN_BYTES(bit_offset); in btf_dumper_struct()
/linux-6.1.9/kernel/bpf/
Dbtf.c173 #define BITS_ROUNDDOWN_BYTES(bits) ((bits) >> 3) macro
175 (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits))
2045 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_int_check_member()
2103 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_int_check_kflag_member()
2302 data += BITS_ROUNDDOWN_BYTES(total_bits_offset); in btf_int_bits_show()
2445 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_ptr_check_member()
2779 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_array_check_member()
3026 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_struct_check_member()
3549 bytes_offset = BITS_ROUNDDOWN_BYTES(member_offset); in __btf_struct_show()
3630 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_enum_check_member()