Home
last modified time | relevance | path

Searched refs:btf_raw_types (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c116 __u32 btf_raw_types[] = { in load_btf() local
131 .type_len = sizeof(btf_raw_types), in load_btf()
132 .str_off = sizeof(btf_raw_types), in load_btf()
135 __u8 raw_btf[sizeof(struct btf_header) + sizeof(btf_raw_types) + in load_btf()
139 memcpy(raw_btf + sizeof(btf_hdr), btf_raw_types, sizeof(btf_raw_types)); in load_btf()
140 memcpy(raw_btf + sizeof(btf_hdr) + sizeof(btf_raw_types), in load_btf()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_verifier.c529 static __u32 btf_raw_types[] = { variable
547 .type_len = sizeof(btf_raw_types), in load_btf()
548 .str_off = sizeof(btf_raw_types), in load_btf()
554 ptr = raw_btf = malloc(sizeof(hdr) + sizeof(btf_raw_types) + in load_btf()
559 memcpy(ptr, btf_raw_types, hdr.type_len); in load_btf()