Home
last modified time | relevance | path

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

/linux-6.15/tools/lib/bpf/
H A Dbtf_dump.c1761 __u8 nr_copy_bits; in btf_dump_get_bitfield_value() local
1777 nr_copy_bits = bit_sz + bits_offset; in btf_dump_get_bitfield_value()
1781 nr_copy_bits = t->size * 8 - bits_offset; in btf_dump_get_bitfield_value()
1785 left_shift_bits = 64 - nr_copy_bits; in btf_dump_get_bitfield_value()
/linux-6.15/kernel/bpf/
H A Dbtf.c2141 u32 nr_copy_bits; in btf_int_check_member() local
2152 nr_copy_bits = BTF_INT_BITS(int_data) + in btf_int_check_member()
2155 if (nr_copy_bits > BITS_PER_U128) { in btf_int_check_member()
2162 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_member()
2179 u32 nr_copy_bits; in btf_int_check_kflag_member() local
2210 nr_copy_bits = nr_bits + BITS_PER_BYTE_MASKED(struct_bits_off); in btf_int_check_kflag_member()
2211 if (nr_copy_bits > BITS_PER_U128) { in btf_int_check_kflag_member()
2374 u8 nr_copy_bits; in btf_bitfield_show() local
2377 nr_copy_bits = nr_bits + bits_offset; in btf_bitfield_show()
2378 nr_copy_bytes = BITS_ROUNDUP_BYTES(nr_copy_bits); in btf_bitfield_show()
[all …]