Home
last modified time | relevance | path

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

/net/core/
Dsock_map.c1004 struct bpf_shtab_elem *elem, *elem_new; in sock_hash_update_common() local
1045 elem_new = sock_hash_alloc_elem(htab, key, key_size, hash, sk, elem); in sock_hash_update_common()
1046 if (IS_ERR(elem_new)) { in sock_hash_update_common()
1047 ret = PTR_ERR(elem_new); in sock_hash_update_common()
1051 sock_map_add_link(psock, link, map, elem_new); in sock_hash_update_common()
1055 hlist_add_head_rcu(&elem_new->node, &bucket->head); in sock_hash_update_common()