Home
last modified time | relevance | path

Searched refs:bits_offset (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dtest_btf.h15 #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))
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-btf.rst103 'pad' type_id=3 bits_offset=0
104 'sock' type_id=4 bits_offset=64
105 [3] INT 'long long unsigned int' size=8 bits_offset=0 nr_bits=64 encoding=(none)
158 'a' type_id=3 bits_offset=0
159 'b' type_id=4 bits_offset=0
160 [3] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNED
162 'const_int_field' type_id=5 bits_offset=0
163 'bitfield_field' type_id=3 bits_offset=32 bitfield_size=4
164 'arr_field' type_id=8 bits_offset=40
165 'fwd_field' type_id=10 bits_offset=192
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dsyscall.c31 #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)
/linux/include/rdma/
H A Dibta_vol1_c12.h13 #define CM_FIELD_BLOC(field_struct, byte_offset, bits_offset, width) \ argument
15 (byte_offset + sizeof(struct ib_mad_hdr)), bits_offset, \
/linux/Documentation/bpf/
H A Dllvm_reloc.rst435 'a' type_id=3 bits_offset=0
436 'b' type_id=3 bits_offset=32
437 'c' type_id=4 bits_offset=64 bitfield_size=15
438 [3] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNED
439 [4] INT 'unsigned int' size=4 bits_offset=0 nr_bits=32 encoding=(none)