Home
last modified time | relevance | path

Searched refs:type_off (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dbtf.h17 __u32 type_off; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dbtf.h18 __u32 type_off; /* offset of type section */ member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dbtf.h18 __u32 type_off; /* offset of type section */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dbtf.h18 __u32 type_off; /* offset of type section */ member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dbtf.h29 __u32 type_off; member
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dbtf.h18 __u32 type_off; /* offset of type section */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dbtf.h29 __u32 type_off; member
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbtf.c166 static int btf_add_type_idx_entry(struct btf *btf, __u32 type_off) in btf_add_type_idx_entry() argument
175 *p = type_off; in btf_add_type_idx_entry()
183 h->type_off = bswap_32(h->type_off); in btf_bswap_hdr()
224 if ((long long)hdr->type_off + hdr->type_len > hdr->str_off) { in btf_parse_hdr()
226 hdr->type_off, hdr->type_len, hdr->str_off, hdr->str_len); in btf_parse_hdr()
230 if (hdr->type_off % 4) { in btf_parse_hdr()
785 btf->types_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->type_off; in btf__new()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbtf.c198 static int btf_add_type_idx_entry(struct btf *btf, __u32 type_off) in btf_add_type_idx_entry() argument
206 *p = type_off; in btf_add_type_idx_entry()
214 h->type_off = bswap_32(h->type_off); 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()
261 if (hdr->type_off % 4) { in btf_parse_hdr()
901 btf->types_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->type_off; in btf_new()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dbtf.c1379 __btf_verifier_log(log, "type_off: %u\n", hdr->type_off); in btf_verifier_log_hdr()
3801 cur = btf->nohdr_data + hdr->type_off; in btf_check_all_metas()
3935 if (hdr->type_off & (sizeof(u32) - 1)) { in btf_parse_type_sec()
3936 btf_verifier_log(env, "Unaligned type_off"); in btf_parse_type_sec()
3979 offsetof(struct btf_header, type_off),
/kernel/linux/linux-6.6/kernel/bpf/
H A Dbtf.c1555 __btf_verifier_log(log, "type_off: %u\n", hdr->type_off); in btf_verifier_log_hdr()
4994 cur = btf->nohdr_data + hdr->type_off; in btf_check_all_metas()
5128 if (hdr->type_off & (sizeof(u32) - 1)) { in btf_parse_type_sec()
5129 btf_verifier_log(env, "Unaligned type_off"); in btf_parse_type_sec()
5177 offsetof(struct btf_header, type_off),
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c3681 hdr->type_off = (int)hdr->type_off + test->type_off_delta; in do_test_raw()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c4346 hdr->type_off = (int)hdr->type_off + test->type_off_delta; in do_test_raw()

Completed in 43 milliseconds