Searched refs:btf__add_field (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | core_autosize.c | 101 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()
|
| D | btf_write.c | 91 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()
|
| D | btf_dump.c | 171 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/ |
| D | libbpf.map | 315 btf__add_field;
|
| D | btf.h | 95 LIBBPF_API int btf__add_field(struct btf *btf, const char *name, int field_type_id,
|
| D | btf.c | 1806 int btf__add_field(struct btf *btf, const char *name, int type_id, in btf__add_field() function
|