Home
last modified time | relevance | path

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

/linux/tools/include/uapi/linux/
H A Dbtf.h18 __u32 type_off; /* offset of type section */ member
/linux/include/uapi/linux/
H A Dbtf.h18 __u32 type_off; /* offset of type section */ member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc_raw.c31 .type_off = 0, in test_bad_local_id()
H A Dbtf.c4406 hdr->type_off = (int)hdr->type_off + test->type_off_delta; in do_test_raw()
/linux/tools/lib/bpf/
H A Dbtf.c201 static int btf_add_type_idx_entry(struct btf *btf, __u32 type_off) in btf_add_type_idx_entry() argument
209 *p = type_off; in btf_add_type_idx_entry()
217 h->type_off = bswap_32(h->type_off); in btf_bswap_hdr()
258 if ((long long)hdr->type_off + hdr->type_len > hdr->str_off) { in btf_parse_hdr()
260 hdr->type_off, hdr->type_len, hdr->str_off, hdr->str_len); in btf_parse_hdr()
264 if (hdr->type_off % 4) { in btf_parse_hdr()
1066 btf->types_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->type_off; in btf_new()
/linux/kernel/bpf/
H A Dbtf.c1581 __btf_verifier_log(log, "type_off: %u\n", hdr->type_off); in btf_verifier_log_hdr()
5199 cur = btf->nohdr_data + hdr->type_off; in btf_check_all_metas()
5333 if (hdr->type_off & (sizeof(u32) - 1)) { in btf_parse_type_sec()
5382 offsetof(struct btf_header, type_off),
/linux/Documentation/bpf/
H A Dbtf.rst47 __u32 type_off; /* offset of type section */