Searched refs:btf_header (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/tools/lib/bpf/ |
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()
|
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()
|
D | libbpf_internal.h | 237 const struct btf_header *btf_header(const struct btf *btf);
|
D | btf.c | 77 struct btf_header *hdr; 213 static void btf_bswap_hdr(struct btf_header *h) in btf_bswap_hdr() 225 struct btf_header *hdr = btf->hdr; in btf_parse_hdr() 228 if (btf->raw_size < sizeof(struct btf_header)) { in btf_parse_hdr() 235 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr() 274 const struct btf_header *hdr = btf->hdr; in btf_parse_str_sec() 418 struct btf_header *hdr = btf->hdr; in btf_parse_type_sec() 1003 btf->raw_size = sizeof(struct btf_header) + (base_btf ? 0 : 1); in btf_new_empty() 1011 btf->hdr->hdr_len = sizeof(struct btf_header); in btf_new_empty() 1481 struct btf_header *hdr = btf->hdr; in btf_get_raw_data() [all …]
|
/linux-6.12.1/kernel/bpf/preload/iterators/ |
D | iterators.bpf.c | 30 struct btf_header { struct 37 struct btf_header hdr; argument
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
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()
|
D | btf_endian.c | 21 const struct btf_header *hdr; in test_btf_endian()
|
D | btf.c | 48 static struct btf_header hdr_tmpl = { 51 .hdr_len = sizeof(struct btf_header), 4265 static void *btf_raw_create(const struct btf_header *hdr, in btf_raw_create() 4276 struct btf_header *ret_hdr; in btf_raw_create() 4341 ret_hdr = (struct btf_header *)raw_btf; in btf_raw_create() 4388 struct btf_header *hdr; in do_test_raw() 8070 const struct btf_header *test_hdr, *expect_hdr; in do_test_dedup()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | syscall.c | 71 struct btf_header btf_hdr; in btf_load() 78 .hdr_len = sizeof(struct btf_header), in btf_load()
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | btf.h | 11 struct btf_header { struct
|
/linux-6.12.1/include/uapi/linux/ |
D | btf.h | 11 struct btf_header { struct
|
/linux-6.12.1/tools/testing/selftests/bpf/map_tests/ |
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-6.12.1/include/linux/ |
D | btf.h | 143 const struct btf_header *btf_header(const struct btf *btf);
|
/linux-6.12.1/kernel/bpf/ |
D | btf.c | 259 struct btf_header hdr; 1569 const struct btf_header *hdr; in btf_verifier_log_hdr() 1774 const struct btf_header *btf_header(const struct btf *btf) in btf_header() function 5195 struct btf_header *hdr; in btf_check_all_metas() 5329 const struct btf_header *hdr = &env->btf->hdr; in btf_parse_type_sec() 5352 const struct btf_header *hdr; in btf_parse_str_sec() 5382 offsetof(struct btf_header, type_off), 5383 offsetof(struct btf_header, str_off), 5399 const struct btf_header *hdr; in btf_check_sec_info() 5450 const struct btf_header *hdr; in btf_parse_hdr() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_verifier.c | 746 struct btf_header hdr = { in load_btf_spec() 749 .hdr_len = sizeof(struct btf_header), in load_btf_spec()
|
/linux-6.12.1/Documentation/bpf/ |
D | btf.rst | 40 struct btf_header { 55 little-endian target. The ``btf_header`` is designed to be extensible with 56 ``hdr_len`` equal to ``sizeof(struct btf_header)`` when a data blob is
|