Searched refs:libbpf_ensure_mem (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/lib/bpf/ |
D | elf.c | 413 err = libbpf_ensure_mem((void **) &offsets, &cap, sizeof(*offsets), in elf_resolve_pattern_offsets()
|
D | libbpf_internal.h | 269 int libbpf_ensure_mem(void **data, size_t *cap_cnt, size_t elem_sz, size_t need_cnt);
|
D | btf_dump.c | 201 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()
|
D | libbpf.c | 1498 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()
|
D | btf.c | 178 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/ |
D | kprobe_multi_test.c | 384 err = libbpf_ensure_mem((void **) &syms, &cap, in get_syms()
|