Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/bpf/
Dbtf.c1898 u32 nr_copy_bits; in btf_int_check_member() local
1909 nr_copy_bits = BTF_INT_BITS(int_data) + in btf_int_check_member()
1912 if (nr_copy_bits > BITS_PER_U128) { in btf_int_check_member()
1919 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_member()
1936 u32 nr_copy_bits; in btf_int_check_kflag_member() local
1967 nr_copy_bits = nr_bits + BITS_PER_BYTE_MASKED(struct_bits_off); in btf_int_check_kflag_member()
1968 if (nr_copy_bits > BITS_PER_U128) { in btf_int_check_kflag_member()
1975 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_kflag_member()
2131 u8 nr_copy_bits; in btf_bitfield_show() local
2134 nr_copy_bits = nr_bits + bits_offset; in btf_bitfield_show()
[all …]
/Linux-v5.15/tools/lib/bpf/
Dbtf_dump.c1563 __u8 nr_copy_bits, nr_copy_bytes; in btf_dump_get_bitfield_value() local
1578 nr_copy_bits = bit_sz + bits_offset; in btf_dump_get_bitfield_value()
1589 left_shift_bits = 64 - nr_copy_bits; in btf_dump_get_bitfield_value()