Home
last modified time | relevance | path

Searched refs:btf__add_union (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_distill.c32 btf__add_union(btf1, "u1", 12); /* [6] union u1 { */ in test_distilled_base()
36 btf__add_union(btf1, "", 4); /* [7] union { */ in test_distilled_base()
65 btf__add_union(btf1, "u1", 4); /* [17] union u1 { */ in test_distilled_base()
H A Dbtf_field_iter.c58 btf__add_union(btf, "u1", 12); /* [6] union u1 { */ in test_btf_field_iter()
H A Dbtf_write.c130 id = btf__add_union(btf, "u1", 8); in gen_btf()
/linux/tools/lib/bpf/
H A Dlibbpf.map227 btf__add_union;
H A Dbtf.h208 LIBBPF_API int btf__add_union(struct btf *btf, const char *name, __u32 sz);
H A Dbtf.c2232 int btf__add_union(struct btf *btf, const char *name, __u32 byte_sz) in btf__add_union() function
/linux/tools/bpf/bpftool/
H A Dgen.c2474 err = btf__add_union(btf_new, name, type->size); in btfgen_get_btf()