Home
last modified time | relevance | path

Searched refs:type_off (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/tools/include/uapi/linux/
Dbtf.h18 __u32 type_off; /* offset of type section */ member
/Linux-v5.10/include/uapi/linux/
Dbtf.h18 __u32 type_off; /* offset of type section */ member
/Linux-v5.10/tools/lib/bpf/
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()
218 if (meta_left < hdr->type_off) { in btf_parse_hdr()
219 pr_debug("Invalid BTF type section offset:%u\n", hdr->type_off); in btf_parse_hdr()
228 if (hdr->type_off >= hdr->str_off) { in btf_parse_hdr()
233 if (hdr->type_off & 0x02) { in btf_parse_hdr()
775 btf->types_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->type_off; in btf__new()
/Linux-v5.10/kernel/bpf/
Dbtf.c1383 __btf_verifier_log(log, "type_off: %u\n", hdr->type_off); in btf_verifier_log_hdr()
3799 cur = btf->nohdr_data + hdr->type_off; in btf_check_all_metas()
3933 if (hdr->type_off & (sizeof(u32) - 1)) { in btf_parse_type_sec()
3977 offsetof(struct btf_header, type_off),
/Linux-v5.10/Documentation/bpf/
Dbtf.rst47 __u32 type_off; /* offset of type section */
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf.c3653 hdr->type_off = (int)hdr->type_off + test->type_off_delta; in do_test_raw()