Home
last modified time | relevance | path

Searched refs:new_cands (Results 1 – 1 of 1) sorted by relevance

/kernel/bpf/
Dbtf.c7783 struct bpf_cand_cache **cc = &cache[hash_cands(cands) % cache_size], *new_cands; in populate_cand_cache() local
7789 new_cands = kmemdup(cands, sizeof_cands(cands->cnt), GFP_KERNEL); in populate_cand_cache()
7790 if (!new_cands) { in populate_cand_cache()
7797 new_cands->name = kmemdup_nul(cands->name, cands->name_len, GFP_KERNEL); in populate_cand_cache()
7799 if (!new_cands->name) { in populate_cand_cache()
7800 kfree(new_cands); in populate_cand_cache()
7803 *cc = new_cands; in populate_cand_cache()
7804 return new_cands; in populate_cand_cache()
7852 struct bpf_cand_cache *new_cands; in bpf_core_add_cands() local
7881 new_cands = kmalloc(sizeof_cands(cands->cnt + 1), GFP_KERNEL); in bpf_core_add_cands()
[all …]