Searched refs:btf_kflag (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/bpf/ |
| H A D | btf_helpers.c | 145 fmt_str = btf_kflag(t) ? "\n\t'%s' val=%d" : "\n\t'%s' val=%u"; in fprintf_btf_type_raw() 147 btf_kflag(t) ? "SIGNED" : "UNSIGNED", t->size, vlen); in fprintf_btf_type_raw() 158 fmt_str = btf_kflag(t) ? "\n\t'%s' val=%lld" : "\n\t'%s' val=%llu"; in fprintf_btf_type_raw() 161 btf_kflag(t) ? "SIGNED" : "UNSIGNED", t->size, vlen); in fprintf_btf_type_raw() 170 fprintf(out, " fwd_kind=%s", btf_kflag(t) ? "union" : "struct"); in fprintf_btf_type_raw()
|
| H A D | veristat.c | 1835 return btf_kflag(t); in find_enum_value()
|
| /linux/tools/lib/bpf/ |
| H A D | btf_relocate.c | 21 #define btf_kflag btf_type_kflag macro 299 if (btf_kflag(dist_t) != btf_kflag(base_t)) in btf_relocate_map_distilled_base() 303 if (btf_kflag(base_t)) in btf_relocate_map_distilled_base() 307 if (!btf_kflag(base_t)) in btf_relocate_map_distilled_base()
|
| H A D | btf.h | 381 static inline bool btf_kflag(const struct btf_type *t) in btf_is_void() 583 bool kflag = btf_kflag(t); in btf_member_bitfield_size() 595 bool kflag = btf_kflag(t); in btf_params() 373 static inline bool btf_kflag(const struct btf_type *t) btf_kflag() function
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_write.c | 112 ASSERT_EQ(btf_kflag(t), true, "struct_kflag"); in gen_btf() 144 ASSERT_EQ(btf_kflag(t), true, "union_kflag"); in gen_btf() 185 ASSERT_EQ(btf_kflag(t), 0, "fwd_kflag"); in gen_btf() 194 ASSERT_EQ(btf_kflag(t), 1, "fwd_kflag"); in gen_btf()
|
| /linux/tools/bpf/bpftool/ |
| H A D | btf.c | 231 encoding = btf_kflag(t) ? "SIGNED" : "UNSIGNED"; in dump_btf_type() 247 if (btf_kflag(t)) in dump_btf_type() 253 if (btf_kflag(t)) in dump_btf_type() 269 encoding = btf_kflag(t) ? "SIGNED" : "UNSIGNED"; in dump_btf_type() 286 if (btf_kflag(t)) in dump_btf_type() 292 if (btf_kflag(t)) in dump_btf_type()
|