Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/Documentation/
A Dbpftool-btf.rst99 'pad' type_id=3 bits_offset=0
100 'sock' type_id=4 bits_offset=64
154 'a' type_id=3 bits_offset=0
155 'b' type_id=4 bits_offset=0
160 'arr_field' type_id=8 bits_offset=40
161 'fwd_field' type_id=10 bits_offset=192
245 'alert' type_id=393 bits_offset=0
246 'ara' type_id=56050 bits_offset=256
248 'addr' type_id=16 bits_offset=0
249 'type' type_id=56053 bits_offset=32
[all …]
/linux/tools/testing/selftests/bpf/
A Dtest_btf.h13 #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))
/linux/tools/testing/selftests/bpf/progs/
A Dsyscall.c24 #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)
/linux/tools/lib/bpf/
A Dbtf_dump.c1514 __u8 bits_offset,
1560 __u8 bits_offset, in btf_dump_get_bitfield_value() argument
1582 nr_copy_bits = bit_sz + bits_offset; in btf_dump_get_bitfield_value()
1586 nr_copy_bits = t->size * 8 - bits_offset; in btf_dump_get_bitfield_value()
1601 __u8 bits_offset, in btf_dump_bitfield_check_zero() argument
1618 __u8 bits_offset, in btf_dump_bitfield_data() argument
1675 __u8 bits_offset) in btf_dump_int_data() argument
2044 __u8 bits_offset) in btf_dump_type_data_check_overflow() argument
2086 __u8 bits_offset, in btf_dump_type_data_check_zero() argument
2143 bits_offset, 0); in btf_dump_type_data_check_zero()
[all …]
A Dlibbpf_internal.h64 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument
65 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits))
66 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument
68 BTF_INT_ENC(encoding, bits_offset, bits)
69 #define BTF_MEMBER_ENC(name, type, bits_offset) (name), (type), (bits_offset) argument
/linux/kernel/bpf/
A Dbtf.c2153 nr_copy_bits = nr_bits + bits_offset; in btf_bitfield_show()
2159 left_shift_bits = bits_offset; in btf_bitfield_show()
2172 void *data, u8 bits_offset, in btf_int_bits_show() argument
2190 u32 type_id, void *data, u8 bits_offset, in btf_int_show() argument
2543 u32 type_id, void *data, u8 bits_offset, in btf_var_show() argument
2552 u32 type_id, void *data, u8 bits_offset, in btf_ptr_show() argument
2831 bits_offset, show); in __btf_array_show()
2844 u32 type_id, void *data, u8 bits_offset, in btf_array_show() argument
3373 u32 type_id, void *data, u8 bits_offset, in btf_enum_show() argument
3717 void *data, u8 bits_offset, in btf_datasec_show() argument
[all …]
A Dcore.c268 const u32 bits_offset = SHA1_BLOCK_SIZE - sizeof(__be64); in bpf_prog_calc_tag() local
320 bits = (__be64 *)(todo + bsize + bits_offset); in bpf_prog_calc_tag()
/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/Documentation/bpf/
A Dbtf.rst920 a type_id=2 bitfield_size=2 bits_offset=0
921 b type_id=2 bitfield_size=3 bits_offset=2
922 c type_id=2 bitfield_size=2 bits_offset=5

Completed in 30 milliseconds