Home
last modified time | relevance | path

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

/tools/lib/traceevent/
Dkbuffer-parse.c350 unsigned int type_len; in translate_data() local
355 type_len = type_len4host(kbuf, type_len_ts); in translate_data()
358 switch (type_len) { in translate_data()
382 *length = type_len * 4; in translate_data()
388 return type_len; in translate_data()
394 unsigned int type_len; in update_pointers() local
398 type_len = translate_data(kbuf, ptr, &ptr, &delta, &length); in update_pointers()
404 return type_len; in update_pointers()
421 int type_len; in kbuffer_translate_data() local
435 type_len = translate_data(&kbuf, data, &ptr, &delta, &length); in kbuffer_translate_data()
[all …]
/tools/lib/bpf/
Dlibbpf_probes.c144 .type_len = types_len, in libbpf__load_raw_btf()
151 btf_len = hdr.hdr_len + hdr.type_len + hdr.str_len; in libbpf__load_raw_btf()
157 memcpy(raw_btf + hdr.hdr_len, raw_types, hdr.type_len); in libbpf__load_raw_btf()
158 memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); in libbpf__load_raw_btf()
Dbtf.c108 if (hdr->type_off + hdr->type_len > hdr->str_off) { in btf_parse_hdr()
110 hdr->type_off, hdr->type_len, hdr->str_off, hdr->str_len); in btf_parse_hdr()
2711 d->btf->hdr->type_len = p - types_start; in btf_dedup_compact_types()
/tools/include/uapi/linux/
Dbtf.h19 __u32 type_len; /* length of type section */ member
/tools/testing/selftests/bpf/
Dtest_verifier.c543 .type_len = sizeof(btf_raw_types), in load_btf()
555 memcpy(ptr, btf_raw_types, hdr.type_len); in load_btf()
556 ptr += hdr.type_len; in load_btf()
Dtest_btf.c3633 ret_hdr->type_len = type_sec_size; in btf_raw_create()
/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c131 .type_len = sizeof(btf_raw_types), in load_btf()