Home
last modified time | relevance | path

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/
Dbtf_write.c110 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/
Dbtf.h190 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/
Dbtf.h332 static inline __u32 btf_member_bitfield_size(const struct btf_type *t, in btf_member_bitfield_size() function
Dbtf_dump.c808 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()
Dlibbpf.c841 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/
Dbpf_struct_ops.c164 if (btf_member_bitfield_size(t, member)) { in bpf_struct_ops_init()
Dbtf.c3039 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()