Lines Matching refs:l_new
2299 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()
2432 err = PTR_ERR(l_new); in sock_hash_ctx_update_elem()
2436 rcu_assign_pointer(e->hash_link, l_new); in sock_hash_ctx_update_elem()
2445 hlist_add_head_rcu(&l_new->hash_node, head); in sock_hash_ctx_update_elem()