| /linux/tools/lib/bpf/ |
| H A D | btf_relocate.c | 447 const struct btf_header *dist_base_hdr; in btf_relocate() 448 const struct btf_header *base_hdr; in btf_relocate() 464 r.str_map = calloc(btf_header(r.dist_base_btf)->str_len, sizeof(*r.str_map)); in btf_relocate() 465 dist_base_hdr = btf_header(r.dist_base_btf); in btf_relocate() 466 base_hdr = btf_header(r.base_btf); in btf_relocate()
|
| H A D | libbpf_probes.c | 225 struct btf_header hdr = { in libbpf__load_raw_btf() 228 .hdr_len = sizeof(struct btf_header), in libbpf__load_raw_btf()
|
| H A D | libbpf_internal.h | 250 const struct btf_header *btf_header(const struct btf *btf);
|
| /linux/kernel/bpf/preload/iterators/ |
| H A D | iterators.bpf.c | 30 struct btf_header { struct 37 struct btf_header hdr; argument
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | core_reloc_raw.c | 23 struct btf_header hdr; in test_bad_local_id() 30 .hdr_len = sizeof(struct btf_header), in test_bad_local_id()
|
| H A D | fd_array.c | 25 struct btf_header btf_hdr; in new_btf() 32 .hdr_len = sizeof(struct btf_header), in new_btf()
|
| H A D | btf_endian.c | 21 const struct btf_header *hdr; in test_btf_endian()
|
| H A D | btf.c | 48 static struct btf_header hdr_tmpl = { 51 .hdr_len = sizeof(struct btf_header), 1544 .descr = "btf_header test. Longer hdr_len", 1561 .err_str = "Unsupported btf_header", 1565 .descr = "btf_header test. Gap between hdr and type", 1586 .descr = "btf_header test. Gap between type and str", 1607 .descr = "btf_header test. Overlap between type and str", 1628 .descr = "btf_header test. Larger BTF size", 1649 .descr = "btf_header test. Smaller BTF size", 4280 static void *btf_raw_create(const struct btf_header *hd in btf_raw_create() [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | syscall.c | 71 struct btf_header btf_hdr; in btf_load() 78 .hdr_len = sizeof(struct btf_header), in btf_load()
|
| /linux/tools/testing/selftests/bpf/map_tests/ |
| H A D | sk_storage_map.c | 123 struct btf_header btf_hdr = { in load_btf() 126 .hdr_len = sizeof(struct btf_header), in load_btf() 131 __u8 raw_btf[sizeof(struct btf_header) + sizeof(btf_raw_types) + in load_btf()
|
| /linux/include/uapi/linux/ |
| H A D | btf.h | 11 struct btf_header { struct 12 magicbtf_header global() argument 13 versionbtf_header global() argument 14 flagsbtf_header global() argument 15 hdr_lenbtf_header global() argument 18 type_offbtf_header global() argument 19 type_lenbtf_header global() argument 20 str_offbtf_header global() argument 21 str_lenbtf_header global() argument
|
| /linux/tools/include/uapi/linux/ |
| H A D | btf.h | 11 struct btf_header { struct 12 magicbtf_header global() argument 13 versionbtf_header global() argument 14 flagsbtf_header global() argument 15 hdr_lenbtf_header global() argument 18 type_offbtf_header global() argument 19 type_lenbtf_header global() argument 20 str_offbtf_header global() argument 21 str_lenbtf_header global() argument
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 261 struct btf_header hdr; 1694 const struct btf_header *hdr; in btf_verifier_log_hdr() 1899 const struct btf_header *btf_header(const struct btf *btf) in btf_header() function 5355 struct btf_header *hdr; in btf_check_all_metas() 5489 const struct btf_header *hdr = &env->btf->hdr; in btf_parse_type_sec() 5512 const struct btf_header *hdr; in btf_parse_str_sec() 5542 offsetof(struct btf_header, type_off), 5543 offsetof(struct btf_header, str_off), 5559 const struct btf_header *hdr; in btf_check_sec_info() 5610 const struct btf_header *hdr; in btf_parse_hdr() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_verifier.c | 742 struct btf_header hdr = { in load_btf_spec() 745 .hdr_len = sizeof(struct btf_header), in load_btf_spec()
|