Searched refs:btf_header (Results 1 – 13 of 13) sorted by relevance
| /OK3568_Linux_fs/kernel/kernel/bpf/preload/iterators/ |
| H A D | iterators.bpf.c | 31 struct btf_header { struct 38 struct btf_header hdr; argument
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | libbpf_probes.c | 149 struct btf_header hdr = { in libbpf__load_raw_btf() 152 .hdr_len = sizeof(struct btf_header), in libbpf__load_raw_btf()
|
| H A D | btf.c | 76 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 D | btf.h | 11 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 D | btf.h | 11 struct btf_header { struct
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/map_tests/ |
| H A D | sk_storage_map.c | 127 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 D | btf.h | 11 struct btf_header { struct
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | btf.h | 11 struct btf_header { struct
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_endian.c | 23 const struct btf_header *hdr; in test_btf_endian()
|
| H A D | btf.c | 51 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 D | btf.c | 206 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 D | test_verifier.c | 542 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 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
|