Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Delf.c413 err = libbpf_ensure_mem((void **) &offsets, &cap, sizeof(*offsets), in elf_resolve_pattern_offsets()
Dlibbpf_internal.h269 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.c1498 err = libbpf_ensure_mem((void **)&obj->maps, &obj->maps_cap, in bpf_object__add_map()
5574 err = libbpf_ensure_mem((void **)&obj->btf_modules, &obj->btf_module_cap, in load_module_btfs()
7722 ret = libbpf_ensure_mem((void **)&obj->fd_array, &obj->fd_array_cap, sizeof(int), in bpf_object__resolve_ksym_func_btf_id()
10694 err = libbpf_ensure_mem((void **)&res->addrs, &res->cap, sizeof(*res->addrs), res->cnt + 1); in avail_kallsyms_cb()
10735 err = libbpf_ensure_mem((void **)&syms, &cap, sizeof(*syms), cnt + 1); in libbpf_available_kallsyms_parse()
10809 err = libbpf_ensure_mem((void **)&res->addrs, &res->cap, in libbpf_available_kprobes_parse()
Dbtf.c178 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.6.21/tools/testing/selftests/bpf/prog_tests/
Dkprobe_multi_test.c384 err = libbpf_ensure_mem((void **) &syms, &cap, in get_syms()