Searched refs:bits_offset (Results 1 – 5 of 5) sorted by relevance
/tools/testing/selftests/bpf/ |
D | test_btf.h | 13 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument 14 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits)) 15 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument 17 BTF_INT_ENC(encoding, bits_offset, bits) 39 #define BTF_MEMBER_ENC(name, type, bits_offset) \ argument 40 (name), (type), (bits_offset) 42 #define BTF_MEMBER_OFFSET(bitfield_size, bits_offset) \ argument 43 ((bitfield_size) << 24 | (bits_offset))
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-btf.rst | 99 'pad' type_id=3 bits_offset=0 100 'sock' type_id=4 bits_offset=64 101 [3] INT 'long long unsigned int' size=8 bits_offset=0 nr_bits=64 encoding=(none) 154 'a' type_id=3 bits_offset=0 155 'b' type_id=4 bits_offset=0 156 [3] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNED 158 'const_int_field' type_id=5 bits_offset=0 159 'bitfield_field' type_id=3 bits_offset=32 bitfield_size=4 160 'arr_field' type_id=8 bits_offset=40 161 'fwd_field' type_id=10 bits_offset=192 [all …]
|
/tools/testing/selftests/bpf/progs/ |
D | syscall.c | 24 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument 25 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits)) 26 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument 28 BTF_INT_ENC(encoding, bits_offset, bits)
|
/tools/lib/bpf/ |
D | libbpf_internal.h | 62 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument 63 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits)) 64 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument 66 BTF_INT_ENC(encoding, bits_offset, bits) 67 #define BTF_MEMBER_ENC(name, type, bits_offset) (name), (type), (bits_offset) argument
|
D | btf_dump.c | 1603 __u8 bits_offset, 1649 __u8 bits_offset, in btf_dump_get_bitfield_value() argument 1669 nr_copy_bits = bit_sz + bits_offset; in btf_dump_get_bitfield_value() 1691 __u8 bits_offset, in btf_dump_bitfield_check_zero() argument 1697 err = btf_dump_get_bitfield_value(d, t, data, bits_offset, bit_sz, &check_num); in btf_dump_bitfield_check_zero() 1708 __u8 bits_offset, in btf_dump_bitfield_data() argument 1714 err = btf_dump_get_bitfield_value(d, t, data, bits_offset, bit_sz, &print_num); in btf_dump_bitfield_data() 1759 __u8 bits_offset) in btf_dump_int_data() argument 2129 __u8 bits_offset, in btf_dump_type_data_check_overflow() argument 2136 __u8 nr_bytes = (bits_offset + bit_sz + 7) / 8; in btf_dump_type_data_check_overflow() [all …]
|