Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/bpf/
Dbtf.c164 #define BITS_ROUNDUP_BYTES(bits) \ macro
611 nr_bytes = BITS_ROUNDUP_BYTES(nr_bits); in btf_type_int_is_regular()
650 BITS_ROUNDUP_BYTES(bit_offset) == expected_offset && in btf_member_is_reg_int()
651 BITS_ROUNDUP_BYTES(nr_bits) == expected_size; in btf_member_is_reg_int()
656 BITS_ROUNDUP_BYTES(m->offset) != expected_offset || in btf_member_is_reg_int()
658 BITS_ROUNDUP_BYTES(nr_bits) != expected_size) in btf_member_is_reg_int()
1182 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_member()
1238 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_kflag_member()
1286 if (BITS_ROUNDUP_BYTES(nr_bits) > t->size) { in btf_int_check_meta()
1397 nr_copy_bytes = BITS_ROUNDUP_BYTES(nr_copy_bits); in btf_bitfield_seq_show()
[all …]
/Linux-v5.4/tools/bpf/bpftool/
Dbtf_dumper.c19 #define BITS_ROUNDUP_BYTES(bits) \ macro
160 bytes_to_copy = BITS_ROUNDUP_BYTES(bits_to_copy); in btf_dumper_bitfield()