Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/bpf/
Dhashtab.c212 struct htab_elem *__percpu *pptr, *l_new; in alloc_extra_elems() local
226 l_new = container_of(l, struct htab_elem, fnode); in alloc_extra_elems()
227 *per_cpu_ptr(pptr, cpu) = l_new; in alloc_extra_elems()
728 struct htab_elem *l_new, **pl_new; in alloc_htab_elem() local
737 l_new = *pl_new; in alloc_htab_elem()
745 l_new = container_of(l, struct htab_elem, fnode); in alloc_htab_elem()
755 l_new = ERR_PTR(-E2BIG); in alloc_htab_elem()
758 l_new = kmalloc_node(htab->elem_size, GFP_ATOMIC | __GFP_NOWARN, in alloc_htab_elem()
760 if (!l_new) { in alloc_htab_elem()
761 l_new = ERR_PTR(-ENOMEM); in alloc_htab_elem()
[all …]
Dsockmap.c2299 struct htab_elem *l_new; in alloc_sock_hash_elem() local
2307 l_new = kmalloc_node(htab->elem_size, GFP_ATOMIC | __GFP_NOWARN, in alloc_sock_hash_elem()
2309 if (!l_new) { in alloc_sock_hash_elem()
2314 memcpy(l_new->key, key, key_size); in alloc_sock_hash_elem()
2315 l_new->sk = sk; in alloc_sock_hash_elem()
2316 l_new->hash = hash; in alloc_sock_hash_elem()
2317 return l_new; in alloc_sock_hash_elem()
2383 struct htab_elem *l_new = NULL, *l_old; in sock_hash_ctx_update_elem() local
2430 l_new = alloc_sock_hash_elem(htab, key, key_size, hash, sock, l_old); in sock_hash_ctx_update_elem()
2431 if (IS_ERR(l_new)) { in sock_hash_ctx_update_elem()
[all …]