Home
last modified time | relevance | path

Searched refs:btf__add_int (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dbtf_dedup_split.c18 btf__add_int(btf1, "int", 4, BTF_INT_SIGNED); /* [1] int */ in test_split_simple()
59 btf__add_int(btf2, "int", 4, BTF_INT_SIGNED); /* [5] int */ in test_split_simple()
136 btf__add_int(btf1, "int", 4, BTF_INT_SIGNED); /* [1] int */ in test_split_fwd_resolve()
162 btf__add_int(btf2, "int", 4, BTF_INT_SIGNED); /* [6] int */ in test_split_fwd_resolve()
219 btf__add_int(btf1, "int", 4, BTF_INT_SIGNED); /* [1] int */ in test_split_struct_duped()
242 btf__add_int(btf2, "int", 4, BTF_INT_SIGNED); /* [6] int */ in test_split_struct_duped()
Dcore_autosize.c87 char_id = btf__add_int(btf, "unsigned char", 1, 0); in test_core_autosize()
89 short_id = btf__add_int(btf, "unsigned short", 2, 0); in test_core_autosize()
92 int_id = btf__add_int(btf, "long unsigned int", 4, 0); in test_core_autosize()
94 long_long_id = btf__add_int(btf, "unsigned long long", 8, 0); in test_core_autosize()
Dbtf_write.c30 id = btf__add_int(btf, "int", 4, BTF_INT_SIGNED); in test_btf_write()
45 id = btf__add_int(btf, "bad sz int", 7, 0); in test_btf_write()
48 id = btf__add_int(btf, "bad enc int", 4, 123); in test_btf_write()
51 id = btf__add_int(btf, NULL, 4, 0); in test_btf_write()
54 id = btf__add_int(btf, "", 4, 0); in test_btf_write()
Dbtf_split.c28 btf__add_int(btf1, "int", 4, BTF_INT_SIGNED); /* [1] int */ in test_btf_split()
Dbtf_dump.c166 id = btf__add_int(btf, "int", 4, BTF_INT_SIGNED); in test_btf_dump_incremental()
/Linux-v5.15/tools/lib/bpf/
Dlibbpf.map320 btf__add_int;
Dbtf.h105 LIBBPF_API int btf__add_int(struct btf *btf, const char *name, size_t byte_sz, int encoding);
Dbtf.c1697 int btf__add_int(struct btf *btf, const char *name, size_t byte_sz, int encoding) in btf__add_int() function