Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Delf.c534 err = libbpf_ensure_mem((void **) &offsets, &cap, sizeof(*offsets), in elf_resolve_pattern_offsets()
Dlibbpf_internal.h287 int libbpf_ensure_mem(void **data, size_t *cap_cnt, size_t elem_sz, size_t need_cnt);
Dbtf_dump.c201 if (libbpf_ensure_mem((void **)&d->type_states, &d->type_states_cap, in btf_dump_resize()
204 if (libbpf_ensure_mem((void **)&d->cached_names, &d->cached_names_cap, in btf_dump_resize()
Dlibbpf.c1729 err = libbpf_ensure_mem((void **)&obj->maps, &obj->maps_cap, in bpf_object__add_map()
5648 err = libbpf_ensure_mem((void **)&obj->btf_modules, &obj->btf_module_cap, in load_module_btfs()
8285 ret = libbpf_ensure_mem((void **)&obj->fd_array, &obj->fd_array_cap, sizeof(int), in bpf_object__resolve_ksym_func_btf_id()
11342 err = libbpf_ensure_mem((void **)&res->addrs, &res->cap, sizeof(*res->addrs), res->cnt + 1); in avail_kallsyms_cb()
11383 err = libbpf_ensure_mem((void **)&syms, &cap, sizeof(*syms), cnt + 1); in libbpf_available_kallsyms_parse()
11457 err = libbpf_ensure_mem((void **)&res->addrs, &res->cap, in libbpf_available_kprobes_parse()
Dbtf.c181 int libbpf_ensure_mem(void **data, size_t *cap_cnt, size_t elem_sz, size_t need_cnt) in libbpf_ensure_mem() function
/linux-6.12.1/tools/testing/selftests/bpf/
Dtrace_helpers.c91 ret = libbpf_ensure_mem((void **) &ksyms->syms, &ksyms->sym_cap, in load_kallsyms_local_common()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dkprobe_multi_test.c530 err = libbpf_ensure_mem((void **) &syms, &cap, in get_syms()