Searched refs:new_cands (Results 1 - 2 of 2) sorted by path

/linux-master/kernel/bpf/
H A Dbtf.c8484 struct bpf_cand_cache **cc = &cache[hash_cands(cands) % cache_size], *new_cands; local
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; local
8582 new_cands
[all...]
/linux-master/tools/lib/bpf/
H A Dlibbpf.c5447 struct bpf_core_cand *new_cands, *cand; local
5477 new_cands = libbpf_reallocarray(cands->cands, cands->len + 1,
5479 if (!new_cands)
5482 cand = &new_cands[cands->len];
5486 cands->cands = new_cands;

Completed in 475 milliseconds