Searched refs:btf_header (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/kernel/bpf/preload/iterators/ |
A D | iterators.bpf.c | 30 struct btf_header { struct 37 struct btf_header hdr; argument
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | syscall.c | 33 struct btf_header btf_hdr; in btf_load() 40 .hdr_len = sizeof(struct btf_header), in btf_load()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | btf.h | 11 struct btf_header { struct
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | btf.h | 11 struct btf_header { struct
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | libbpf_probes.c | 221 struct btf_header hdr = { in libbpf__load_raw_btf() 224 .hdr_len = sizeof(struct btf_header), in libbpf__load_raw_btf()
|
A D | btf.c | 77 struct btf_header *hdr; 210 static void btf_bswap_hdr(struct btf_header *h) in btf_bswap_hdr() 222 struct btf_header *hdr = btf->hdr; in btf_parse_hdr() 225 if (btf->raw_size < sizeof(struct btf_header)) { in btf_parse_hdr() 232 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr() 271 const struct btf_header *hdr = btf->hdr; in btf_parse_str_sec() 415 struct btf_header *hdr = btf->hdr; in btf_parse_type_sec() 838 btf->raw_size = sizeof(struct btf_header) + (base_btf ? 0 : 1); in btf_new_empty() 846 btf->hdr->hdr_len = sizeof(struct btf_header); in btf_new_empty() 1259 struct btf_header *hdr = btf->hdr; in btf_get_raw_data()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/map_tests/ |
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-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | btf_endian.c | 21 const struct btf_header *hdr; in test_btf_endian()
|
A D | btf.c | 48 static struct btf_header hdr_tmpl = { 51 .hdr_len = sizeof(struct btf_header), 4165 static void *btf_raw_create(const struct btf_header *hdr, in btf_raw_create() 4176 struct btf_header *ret_hdr; in btf_raw_create() 4241 ret_hdr = (struct btf_header *)raw_btf; in btf_raw_create() 4288 struct btf_header *hdr; in do_test_raw() 7971 const struct btf_header *test_hdr, *expect_hdr; in do_test_dedup()
|
/linux-6.3-rc2/kernel/bpf/ |
A D | btf.c | 234 struct btf_header hdr; 1529 const struct btf_header *hdr; in btf_verifier_log_hdr() 5013 struct btf_header *hdr; in btf_check_all_metas() 5147 const struct btf_header *hdr = &env->btf->hdr; in btf_parse_type_sec() 5170 const struct btf_header *hdr; in btf_parse_str_sec() 5200 offsetof(struct btf_header, type_off), 5201 offsetof(struct btf_header, str_off), 5217 const struct btf_header *hdr; in btf_check_sec_info() 5268 const struct btf_header *hdr; in btf_parse_hdr() 5274 if (btf_data_size < offsetofend(struct btf_header, hdr_len)) { in btf_parse_hdr()
|
/linux-6.3-rc2/Documentation/bpf/ |
A 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
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_verifier.c | 748 struct btf_header hdr = { in load_btf_spec() 751 .hdr_len = sizeof(struct btf_header), in load_btf_spec()
|
Completed in 43 milliseconds