Searched refs:libbpf_ensure_mem (Results 1 – 4 of 4) sorted by relevance
/third_party/libbpf/src/ |
D | libbpf_internal.h | 268 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 | 1593 err = libbpf_ensure_mem((void **)&obj->maps, &obj->maps_cap, 5839 err = libbpf_ensure_mem((void **)&obj->btf_modules, &obj->btf_module_cap, 7911 ret = libbpf_ensure_mem((void **)&obj->fd_array, &obj->fd_array_cap, sizeof(int), 10643 err = libbpf_ensure_mem((void **) &res->addrs, &res->cap, sizeof(unsigned long),
|
D | btf.c | 193 int libbpf_ensure_mem(void **data, size_t *cap_cnt, size_t elem_sz, size_t need_cnt) in libbpf_ensure_mem() function
|