Home
last modified time | relevance | path

Searched refs:btf_kflag (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c104 ASSERT_EQ(btf_kflag(t), true, "struct_kflag"); in test_btf_write()
132 ASSERT_EQ(btf_kflag(t), true, "union_kflag"); in test_btf_write()
166 ASSERT_EQ(btf_kflag(t), 0, "fwd_kflag"); in test_btf_write()
173 ASSERT_EQ(btf_kflag(t), 1, "fwd_kflag"); in test_btf_write()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.h188 static inline bool btf_kflag(const struct btf_type *t) in btf_kflag() function
324 bool kflag = btf_kflag(t); in btf_member_bit_offset()
336 bool kflag = btf_kflag(t); in btf_member_bitfield_size()
Dbtf.c1557 t->info = btf_type_info(btf_kind(t), btf_vlen(t) + 1, btf_kflag(t)); in btf_type_inc_vlen()
1851 t->info = btf_type_info(btf_kind(t), btf_vlen(t) + 1, is_bitfield || btf_kflag(t)); in btf__add_field()
3694 return btf_kflag(t) ? BTF_KIND_UNION : BTF_KIND_STRUCT; in btf_fwd_kind()
Dbtf_dump.c994 if (btf_kflag(t)) in btf_dump_emit_fwd_def()