Searched refs:hdr_len (Results 1 – 12 of 12) sorted by relevance
/tools/lib/bpf/ |
D | libbpf_probes.c | 152 .hdr_len = sizeof(struct btf_header), in libbpf__load_raw_btf() 160 btf_len = hdr.hdr_len + hdr.type_len + hdr.str_len; in libbpf__load_raw_btf() 166 memcpy(raw_btf + hdr.hdr_len, raw_types, hdr.type_len); in libbpf__load_raw_btf() 167 memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); in libbpf__load_raw_btf()
|
D | btf.c | 208 h->hdr_len = bswap_32(h->hdr_len); in btf_bswap_hdr() 227 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr() 229 bswap_32(hdr->hdr_len)); in btf_parse_hdr() 238 if (btf->raw_size < hdr->hdr_len) { in btf_parse_hdr() 240 hdr->hdr_len, btf->raw_size); in btf_parse_hdr() 244 meta_left = btf->raw_size - hdr->hdr_len; in btf_parse_hdr() 793 btf->hdr->hdr_len = sizeof(struct btf_header); in btf_new_empty() 797 btf->types_data = btf->raw_data + btf->hdr->hdr_len; in btf_new_empty() 798 btf->strs_data = btf->raw_data + btf->hdr->hdr_len; in btf_new_empty() 847 btf->strs_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->str_off; in btf_new() [all …]
|
D | libbpf_internal.h | 337 __u32 hdr_len; member
|
D | linker.c | 2829 hdr->hdr_len = sizeof(struct btf_ext_header); in finalize_btf_ext()
|
/tools/include/uapi/linux/ |
D | btf.h | 15 __u32 hdr_len; member
|
D | kvm.h | 1742 __u32 hdr_len; member 1786 __u32 hdr_len; member 1804 __u32 hdr_len; member
|
/tools/testing/selftests/bpf/progs/ |
D | syscall.c | 40 .hdr_len = sizeof(struct btf_header), in btf_load()
|
D | kfree_skb.c | 42 __u16 mac_len, hdr_len, queue_mapping; member
|
/tools/testing/selftests/net/ |
D | psock_snd.c | 80 vh->hdr_len = ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr); in build_vnet_header()
|
/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 130 .hdr_len = sizeof(struct btf_header), in load_btf()
|
/tools/testing/selftests/bpf/ |
D | test_verifier.c | 629 .hdr_len = sizeof(struct btf_header), in load_btf()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 54 .hdr_len = sizeof(struct btf_header), 3831 hdr->hdr_len = (int)hdr->hdr_len + test->hdr_len_delta; in do_test_raw()
|