Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
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/
A Dbpftool-btf.rst98 'pad' type_id=3 bits_offset=0
99 'sock' type_id=4 bits_offset=64
153 'a' type_id=3 bits_offset=0
154 'b' type_id=4 bits_offset=0
159 'arr_field' type_id=8 bits_offset=40
160 'fwd_field' type_id=10 bits_offset=192
244 'alert' type_id=393 bits_offset=0
245 'ara' type_id=56050 bits_offset=256
247 'addr' type_id=16 bits_offset=0
248 'type' type_id=56053 bits_offset=32
[all …]
A Dbpftool-gen.rst418 [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 …]
/linux/tools/testing/selftests/bpf/progs/
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/tools/lib/bpf/
A Dbtf_dump.c1705 __u8 bits_offset,
1751 __u8 bits_offset, in btf_dump_get_bitfield_value() argument
1773 nr_copy_bits = bit_sz + bits_offset; in btf_dump_get_bitfield_value()
1777 nr_copy_bits = t->size * 8 - bits_offset; in btf_dump_get_bitfield_value()
1792 __u8 bits_offset, in btf_dump_bitfield_check_zero() argument
1809 __u8 bits_offset, in btf_dump_bitfield_data() argument
1866 __u8 bits_offset) in btf_dump_int_data() argument
2260 __u8 bits_offset, in btf_dump_type_data_check_overflow() argument
2319 __u8 bits_offset, in btf_dump_type_data_check_zero() argument
2376 bits_offset, 0); in btf_dump_type_data_check_zero()
[all …]
A Dlibbpf_internal.h79 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument
80 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits))
81 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument
83 BTF_INT_ENC(encoding, bits_offset, bits)
84 #define BTF_MEMBER_ENC(name, type, bits_offset) (name), (type), (bits_offset) argument
/linux/include/rdma/
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/kernel/bpf/
A Dbtf.c2381 nr_copy_bits = nr_bits + bits_offset; in btf_bitfield_show()
2387 left_shift_bits = bits_offset; in btf_bitfield_show()
2400 void *data, u8 bits_offset, in btf_int_bits_show() argument
2418 u32 type_id, void *data, u8 bits_offset, in btf_int_show() argument
2779 u32 type_id, void *data, u8 bits_offset, in btf_var_show() argument
2788 u32 type_id, void *data, u8 bits_offset, in btf_ptr_show() argument
3067 bits_offset, show); in __btf_array_show()
3080 u32 type_id, void *data, u8 bits_offset, in btf_array_show() argument
4329 u32 type_id, void *data, u8 bits_offset, in btf_enum_show() argument
4795 void *data, u8 bits_offset, in btf_datasec_show() argument
[all …]
A Dcore.c291 const u32 bits_offset = SHA1_BLOCK_SIZE - sizeof(__be64); in bpf_prog_calc_tag() local
343 bits = (__be64 *)(todo + bsize + bits_offset); in bpf_prog_calc_tag()
/linux/Documentation/bpf/
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)
A Dbtf.rst1023 a type_id=2 bitfield_size=2 bits_offset=0
1024 b type_id=2 bitfield_size=3 bits_offset=2
1025 c type_id=2 bitfield_size=2 bits_offset=5

Completed in 48 milliseconds