Home
last modified time | relevance | path

Searched refs:btf__add_field (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dcore_autosize.c101 err = btf__add_field(btf, "ptr", void_ptr_id, 0, 0); in test_core_autosize()
102 err = err ?: btf__add_field(btf, "val2", int_id, 32, 0); in test_core_autosize()
103 err = err ?: btf__add_field(btf, "val1", long_long_id, 64, 0); in test_core_autosize()
104 err = err ?: btf__add_field(btf, "val3", short_id, 128, 0); in test_core_autosize()
105 err = err ?: btf__add_field(btf, "val4", char_id, 144, 0); in test_core_autosize()
Dbtf_write.c91 err = btf__add_field(btf, "field", 1, 0, 0); in test_btf_write()
95 err = btf__add_field(btf, "f1", 1, 0, 0); in test_btf_write()
97 err = btf__add_field(btf, "f2", 1, 32, 16); in test_btf_write()
122 err = btf__add_field(btf, "field", 1, 1, 0); in test_btf_write()
125 err = btf__add_field(btf, "f1", 1, 0, 16); in test_btf_write()
Dbtf_dump.c171 err = btf__add_field(btf, "x", 2, 0, 0); in test_btf_dump_incremental()
208 err = btf__add_field(btf, "x", 1, 0, 0); in test_btf_dump_incremental()
210 err = btf__add_field(btf, "s", 3, 32, 0); in test_btf_dump_incremental()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.map315 btf__add_field;
Dbtf.h95 LIBBPF_API int btf__add_field(struct btf *btf, const char *name, int field_type_id,
Dbtf.c1806 int btf__add_field(struct btf *btf, const char *name, int type_id, in btf__add_field() function