Searched refs:bits_offset (Results 1 – 6 of 6) sorted by relevance
| /tools/testing/selftests/bpf/ |
| A D | test_btf.h | 15 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument 16 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits)) 17 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument 19 BTF_INT_ENC(encoding, bits_offset, bits) 41 #define BTF_MEMBER_ENC(name, type, bits_offset) \ argument 42 (name), (type), (bits_offset) 45 #define BTF_MEMBER_OFFSET(bitfield_size, bits_offset) \ argument 46 ((bitfield_size) << 24 | (bits_offset))
|
| /tools/bpf/bpftool/Documentation/ |
| A D | bpftool-btf.rst | 103 'pad' type_id=3 bits_offset=0 104 'sock' type_id=4 bits_offset=64 158 'a' type_id=3 bits_offset=0 159 'b' type_id=4 bits_offset=0 164 'arr_field' type_id=8 bits_offset=40 165 'fwd_field' type_id=10 bits_offset=192 249 'alert' type_id=393 bits_offset=0 250 'ara' type_id=56050 bits_offset=256 252 'addr' type_id=16 bits_offset=0 253 'type' type_id=56053 bits_offset=32 [all …]
|
| A D | bpftool-gen.rst | 418 [7] INT 'char' size=1 bits_offset=0 nr_bits=8 encoding=(none) 429 'ent' type_id=3 bits_offset=0 430 'id' type_id=7 bits_offset=64 431 'args' type_id=9 bits_offset=128 432 '__data' type_id=12 bits_offset=512 434 'type' type_id=4 bits_offset=0 435 'flags' type_id=5 bits_offset=16 436 'preempt_count' type_id=5 bits_offset=24 447 'args' type_id=4 bits_offset=128 449 'pid' type_id=1 bits_offset=17920 [all …]
|
| /tools/testing/selftests/bpf/progs/ |
| A D | syscall.c | 31 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument 32 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits)) 33 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument 35 BTF_INT_ENC(encoding, bits_offset, bits)
|
| /tools/lib/bpf/ |
| A D | btf_dump.c | 1713 __u8 bits_offset, 1759 __u8 bits_offset, in btf_dump_get_bitfield_value() argument 1781 nr_copy_bits = bit_sz + bits_offset; in btf_dump_get_bitfield_value() 1785 nr_copy_bits = t->size * 8 - bits_offset; in btf_dump_get_bitfield_value() 1800 __u8 bits_offset, in btf_dump_bitfield_check_zero() argument 1817 __u8 bits_offset, in btf_dump_bitfield_data() argument 1874 __u8 bits_offset) in btf_dump_int_data() argument 2319 __u8 bits_offset, in btf_dump_type_data_check_overflow() argument 2378 __u8 bits_offset, in btf_dump_type_data_check_zero() argument 2435 bits_offset, 0); in btf_dump_type_data_check_zero() [all …]
|
| A D | libbpf_internal.h | 80 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument 81 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits)) 82 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument 84 BTF_INT_ENC(encoding, bits_offset, bits) 85 #define BTF_MEMBER_ENC(name, type, bits_offset) (name), (type), (bits_offset) argument
|
Completed in 14 milliseconds