Lines Matching refs:new_cands
8484 struct bpf_cand_cache **cc = &cache[hash_cands(cands) % cache_size], *new_cands;
8490 new_cands = kmemdup(cands, sizeof_cands(cands->cnt), GFP_KERNEL);
8491 if (!new_cands) {
8498 new_cands->name = kmemdup_nul(cands->name, cands->name_len, GFP_KERNEL);
8500 if (!new_cands->name) {
8501 kfree(new_cands);
8504 *cc = new_cands;
8505 return new_cands;
8553 struct bpf_cand_cache *new_cands;
8582 new_cands = kmalloc(sizeof_cands(cands->cnt + 1), GFP_KERNEL);
8583 if (!new_cands) {
8588 memcpy(new_cands, cands, sizeof_cands(cands->cnt));
8590 cands = new_cands;