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