Searched refs:libbpf_add_mem (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/lib/bpf/ |
D | strset.c | 106 return libbpf_add_mem(&set->strs_data, &set->strs_data_cap, 1, in strset_add_str_mem()
|
D | libbpf_internal.h | 267 void *libbpf_add_mem(void **data, size_t *cap_cnt, size_t elem_sz,
|
D | btf.c | 141 void *libbpf_add_mem(void **data, size_t *cap_cnt, size_t elem_sz, in libbpf_add_mem() function 185 p = libbpf_add_mem(data, cap_cnt, elem_sz, *cap_cnt, SIZE_MAX, need_cnt - *cap_cnt); in libbpf_ensure_mem() 194 return libbpf_add_mem((void **)&btf->type_offs, &btf->type_offs_cap, sizeof(__u32), in btf_add_type_offs_mem() 1542 return libbpf_add_mem(&btf->types_data, &btf->types_data_cap, 1, in btf_add_type_mem()
|