Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/bpf/preload/iterators/
H A Diterators.bpf.c31 struct btf_header { struct
38 struct btf_header hdr; argument
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf_probes.c149 struct btf_header hdr = { in libbpf__load_raw_btf()
152 .hdr_len = sizeof(struct btf_header), in libbpf__load_raw_btf()
H A Dbtf.c76 struct btf_header *hdr;
179 static void btf_bswap_hdr(struct btf_header *h) in btf_bswap_hdr()
191 struct btf_header *hdr = btf->hdr; in btf_parse_hdr()
194 if (btf->raw_size < sizeof(struct btf_header)) { in btf_parse_hdr()
201 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr()
240 const struct btf_header *hdr = btf->hdr; in btf_parse_str_sec()
361 struct btf_header *hdr = btf->hdr; in btf_parse_type_sec()
730 btf->raw_size = sizeof(struct btf_header) + 1; in btf__new_empty()
738 btf->hdr->hdr_len = sizeof(struct btf_header); in btf__new_empty()
1146 struct btf_header *hdr = btf->hdr; in btf_get_raw_data()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dbtf.h11 struct btf_header { struct
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dbtf.h11 struct btf_header { struct
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c127 struct btf_header btf_hdr = { in load_btf()
130 .hdr_len = sizeof(struct btf_header), in load_btf()
135 __u8 raw_btf[sizeof(struct btf_header) + sizeof(btf_raw_types) + in load_btf()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbtf.h11 struct btf_header { struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbtf.h11 struct btf_header { struct
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_endian.c23 const struct btf_header *hdr; in test_btf_endian()
H A Dbtf.c51 static struct btf_header hdr_tmpl = {
54 .hdr_len = sizeof(struct btf_header),
3532 static void *btf_raw_create(const struct btf_header *hdr, in btf_raw_create()
3543 struct btf_header *ret_hdr; in btf_raw_create()
3608 ret_hdr = (struct btf_header *)raw_btf; in btf_raw_create()
3635 struct btf_header *hdr; in do_test_raw()
6650 const struct btf_header *test_hdr, *expect_hdr; in do_test_dedup()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dbtf.c206 struct btf_header hdr;
1371 const struct btf_header *hdr; in btf_verifier_log_hdr()
3795 struct btf_header *hdr; in btf_check_all_metas()
3929 const struct btf_header *hdr = &env->btf->hdr; in btf_parse_type_sec()
3952 const struct btf_header *hdr; in btf_parse_str_sec()
3977 offsetof(struct btf_header, type_off),
3978 offsetof(struct btf_header, str_off),
3994 const struct btf_header *hdr; in btf_check_sec_info()
4045 const struct btf_header *hdr; in btf_parse_hdr()
4053 offsetof(struct btf_header, hdr_len) + sizeof(hdr->hdr_len)) { in btf_parse_hdr()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_verifier.c542 struct btf_header hdr = { in load_btf()
545 .hdr_len = sizeof(struct btf_header), in load_btf()
/OK3568_Linux_fs/kernel/Documentation/bpf/
H 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