Home
last modified time | relevance | path

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

/openbmc/linux/tools/bpf/bpftool/
H A 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()
/openbmc/linux/kernel/bpf/
H A Dbtf.c178 #define BITS_ROUNDDOWN_BYTES(bits) ((bits) >> 3) macro
180 (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits))
2092 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_int_check_member()
2150 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_int_check_kflag_member()
2349 data += BITS_ROUNDDOWN_BYTES(total_bits_offset); in btf_int_bits_show()
2492 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_ptr_check_member()
2826 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_array_check_member()
3073 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_struct_check_member()
3932 bytes_offset = BITS_ROUNDDOWN_BYTES(member_offset); in __btf_struct_show()
4013 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_enum_check_member()