Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dbtf_dump.c1757 __u8 nr_copy_bits; in btf_dump_get_bitfield_value() local
1773 nr_copy_bits = bit_sz + bits_offset; in btf_dump_get_bitfield_value()
1777 nr_copy_bits = t->size * 8 - bits_offset; in btf_dump_get_bitfield_value()
1781 left_shift_bits = 64 - nr_copy_bits; in btf_dump_get_bitfield_value()
/linux/kernel/bpf/
H A Dbtf.c2145 u32 nr_copy_bits; in btf_int_check_member() local
2156 nr_copy_bits = BTF_INT_BITS(int_data) + in btf_int_check_member()
2159 if (nr_copy_bits > BITS_PER_U128) { in btf_int_check_member()
2166 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_member()
2183 u32 nr_copy_bits; in btf_int_check_kflag_member() local
2214 nr_copy_bits = nr_bits + BITS_PER_BYTE_MASKED(struct_bits_off); in btf_int_check_kflag_member()
2215 if (nr_copy_bits > BITS_PER_U128) { in btf_int_check_kflag_member()
2378 u8 nr_copy_bits; in btf_bitfield_show() local
2381 nr_copy_bits = nr_bits + bits_offset; in btf_bitfield_show()
2382 nr_copy_bytes = BITS_ROUNDUP_BYTES(nr_copy_bits); in btf_bitfield_show()
[all …]