Searched refs:sizeof_cands (Results 1 – 1 of 1) sorted by relevance
8206 static size_t sizeof_cands(int cnt) in sizeof_cands() function8221 new_cands = kmemdup(cands, sizeof_cands(cands->cnt), GFP_KERNEL); in populate_cand_cache()8313 new_cands = kmalloc(sizeof_cands(cands->cnt + 1), GFP_KERNEL); in bpf_core_add_cands()8319 memcpy(new_cands, cands, sizeof_cands(cands->cnt)); in bpf_core_add_cands()