Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c221 int libbpf__load_raw_btf(const char *raw_types, size_t types_len, in libbpf__load_raw_btf() argument
228 .type_len = types_len, in libbpf__load_raw_btf()
229 .str_off = types_len, in libbpf__load_raw_btf()
H A Dlibbpf_internal.h383 int libbpf__load_raw_btf(const char *raw_types, size_t types_len,
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c741 static int load_btf_spec(__u32 *types, int types_len, in load_btf_spec() argument
748 .type_len = types_len, in load_btf_spec()
749 .str_off = types_len, in load_btf_spec()
762 raw_btf = malloc(sizeof(hdr) + types_len + strings_len); in load_btf_spec()
795 int types_len = types_num * sizeof(test->btf_types[0]); in load_btf_for_test() local
797 return load_btf_spec(test->btf_types, types_len, in load_btf_for_test()