Home
last modified time | relevance | path

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

/tools/include/uapi/linux/
Dbtf.h18 __u32 type_off; /* offset of type section */ member
/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()
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()
/tools/testing/selftests/bpf/prog_tests/
Dbtf.c3681 hdr->type_off = (int)hdr->type_off + test->type_off_delta; in do_test_raw()