Home
last modified time | relevance | path

Searched refs:btf_header (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/kernel/bpf/preload/iterators/
A Diterators.bpf.c30 struct btf_header { struct
37 struct btf_header hdr; argument
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dsyscall.c33 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 Dbtf.h11 struct btf_header { struct
/linux-6.3-rc2/tools/include/uapi/linux/
A Dbtf.h11 struct btf_header { struct
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf_probes.c221 struct btf_header hdr = { in libbpf__load_raw_btf()
224 .hdr_len = sizeof(struct btf_header), in libbpf__load_raw_btf()
A Dbtf.c77 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 Dsk_storage_map.c123 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 Dbtf_endian.c21 const struct btf_header *hdr; in test_btf_endian()
A Dbtf.c48 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 Dbtf.c234 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 Dbtf.rst40 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 Dtest_verifier.c748 struct btf_header hdr = { in load_btf_spec()
751 .hdr_len = sizeof(struct btf_header), in load_btf_spec()

Completed in 43 milliseconds