Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dbtf_dump.c1755 __u8 nr_copy_bits; in btf_dump_get_bitfield_value() local
1771 nr_copy_bits = bit_sz + bits_offset; in btf_dump_get_bitfield_value()
1775 nr_copy_bits = t->size * 8 - bits_offset; in btf_dump_get_bitfield_value()
1779 left_shift_bits = 64 - nr_copy_bits; in btf_dump_get_bitfield_value()
/linux-6.6.21/kernel/bpf/
Dbtf.c2082 u32 nr_copy_bits; in btf_int_check_member() local
2093 nr_copy_bits = BTF_INT_BITS(int_data) + in btf_int_check_member()
2096 if (nr_copy_bits > BITS_PER_U128) { in btf_int_check_member()
2103 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_member()
2120 u32 nr_copy_bits; in btf_int_check_kflag_member() local
2151 nr_copy_bits = nr_bits + BITS_PER_BYTE_MASKED(struct_bits_off); in btf_int_check_kflag_member()
2152 if (nr_copy_bits > BITS_PER_U128) { in btf_int_check_kflag_member()
2159 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_kflag_member()
2315 u8 nr_copy_bits; in btf_bitfield_show() local
2318 nr_copy_bits = nr_bits + bits_offset; in btf_bitfield_show()
[all …]