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