Searched refs:need_cnt (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
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.c | 178 int libbpf_ensure_mem(void **data, size_t *cap_cnt, size_t elem_sz, size_t need_cnt) in libbpf_ensure_mem() argument 182 if (need_cnt <= *cap_cnt) in libbpf_ensure_mem() 185 p = libbpf_add_mem(data, cap_cnt, elem_sz, *cap_cnt, SIZE_MAX, need_cnt - *cap_cnt); in libbpf_ensure_mem()
|