Searched refs:btf_member_bitfield_size (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | btf_write.c | 110 ASSERT_EQ(btf_member_bitfield_size(t, 0), 0, "f1_bit_sz"); in test_btf_write() 115 ASSERT_EQ(btf_member_bitfield_size(t, 1), 16, "f2_bit_sz"); in test_btf_write() 138 ASSERT_EQ(btf_member_bitfield_size(t, 0), 16, "f1_bit_sz"); in test_btf_write()
|
/kernel/linux/linux-5.10/include/linux/ |
D | btf.h | 190 static inline u32 btf_member_bitfield_size(const struct btf_type *struct_type, in btf_member_bitfield_size() function
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | btf.h | 332 static inline __u32 btf_member_bitfield_size(const struct btf_type *t, in btf_member_bitfield_size() function
|
D | btf_dump.c | 808 bit_sz = btf_member_bitfield_size(t, i); in btf_is_struct_packed() 891 m_sz = btf_member_bitfield_size(t, i); in btf_dump_emit_struct_def()
|
D | libbpf.c | 841 if (btf_member_bitfield_size(type, i) || in bpf_map__init_kern_struct_ops() 842 btf_member_bitfield_size(kern_type, kern_member_idx)) { in bpf_map__init_kern_struct_ops() 5160 bit_sz = btf_member_bitfield_size(t, acc->idx); in bpf_core_calc_field_relo()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | bpf_struct_ops.c | 164 if (btf_member_bitfield_size(t, member)) { in bpf_struct_ops_init()
|
D | btf.c | 3039 bitfield_size = btf_member_bitfield_size(t, member); in __btf_struct_show() 4673 if (btf_member_bitfield_size(t, member)) { in btf_struct_walk() 4675 btf_member_bitfield_size(t, member); in btf_struct_walk()
|