Searched refs:type_len (Results 1 – 7 of 7) sorted by relevance
/tools/lib/bpf/ |
D | libbpf_probes.c | 228 .type_len = types_len, in libbpf__load_raw_btf() 235 btf_len = hdr.hdr_len + hdr.type_len + hdr.str_len; in libbpf__load_raw_btf() 241 memcpy(raw_btf + hdr.hdr_len, raw_types, hdr.type_len); in libbpf__load_raw_btf() 242 memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); in libbpf__load_raw_btf()
|
D | btf.c | 215 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr() 255 if ((long long)hdr->type_off + hdr->type_len > hdr->str_off) { in btf_parse_hdr() 257 hdr->type_off, hdr->type_len, hdr->str_off, hdr->str_len); in btf_parse_hdr() 417 void *end_type = next_type + hdr->type_len; in btf_parse_type_sec() 1269 data_sz = hdr->hdr_len + hdr->type_len + hdr->str_len; in btf_get_raw_data() 1280 memcpy(p, btf->types_data, hdr->type_len); in btf_get_raw_data() 1293 p += hdr->type_len; in btf_get_raw_data() 1446 types = malloc(btf->hdr->type_len); in btf_ensure_modifiable() 1451 memcpy(types, btf->types_data, btf->hdr->type_len); in btf_ensure_modifiable() 1463 btf->types_data_cap = btf->hdr->type_len; in btf_ensure_modifiable() [all …]
|
/tools/include/uapi/linux/ |
D | btf.h | 19 __u32 type_len; /* length of type section */ member
|
/tools/testing/selftests/bpf/progs/ |
D | syscall.c | 41 .type_len = sizeof(__u32) * 8, in btf_load()
|
/tools/testing/selftests/bpf/ |
D | test_verifier.c | 748 .type_len = types_len, in load_btf_spec() 767 memcpy(ptr, types, hdr.type_len); in load_btf_spec() 768 ptr += hdr.type_len; in load_btf_spec()
|
/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 127 .type_len = sizeof(btf_raw_types), in load_btf()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 4282 ret_hdr->type_len = type_sec_size; in btf_raw_create()
|