Home
last modified time | relevance | path

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

/Linux-v5.4/tools/bpf/bpftool/
Dbtf_dumper.c110 u16 right_shift_bits) in btf_int128_shift() argument
132 if (right_shift_bits >= 64) { in btf_int128_shift()
133 lower_num = upper_num >> (right_shift_bits - 64); in btf_int128_shift()
136 lower_num = (lower_num >> right_shift_bits) | in btf_int128_shift()
137 (upper_num << (64 - right_shift_bits)); in btf_int128_shift()
138 upper_num = upper_num >> right_shift_bits; in btf_int128_shift()
154 int left_shift_bits, right_shift_bits; in btf_dumper_bitfield() local
170 right_shift_bits = 128 - nr_bits; in btf_dumper_bitfield()
172 btf_int128_shift(print_num, left_shift_bits, right_shift_bits); in btf_dumper_bitfield()
/Linux-v5.4/kernel/bpf/
Dbtf.c1348 u16 right_shift_bits) in btf_int128_shift() argument
1370 if (right_shift_bits >= 64) { in btf_int128_shift()
1371 lower_num = upper_num >> (right_shift_bits - 64); in btf_int128_shift()
1374 lower_num = (lower_num >> right_shift_bits) | in btf_int128_shift()
1375 (upper_num << (64 - right_shift_bits)); in btf_int128_shift()
1376 upper_num = upper_num >> right_shift_bits; in btf_int128_shift()
1391 u16 left_shift_bits, right_shift_bits; in btf_bitfield_seq_show() local
1406 right_shift_bits = BITS_PER_U128 - nr_bits; in btf_bitfield_seq_show()
1408 btf_int128_shift(print_num, left_shift_bits, right_shift_bits); in btf_bitfield_seq_show()