Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Desp4.c130 struct esp_tcp_sk *esk = container_of(head, struct esp_tcp_sk, rcu); in esp_free_tcp_sk() local
132 sock_put(esk->sk); in esp_free_tcp_sk()
133 kfree(esk); in esp_free_tcp_sk()
139 struct esp_tcp_sk *esk; in esp_find_tcp_sk() local
154 esk = kmalloc(sizeof(*esk), GFP_ATOMIC); in esp_find_tcp_sk()
155 if (!esk) { in esp_find_tcp_sk()
160 esk->sk = sk; in esp_find_tcp_sk()
161 call_rcu(&esk->rcu, esp_free_tcp_sk); in esp_find_tcp_sk()
Dinet_hashtables.c539 struct sock *esk; in inet_ehash_lookup_by_sk() local
543 sk_nulls_for_each_rcu(esk, node, list) { in inet_ehash_lookup_by_sk()
544 if (esk->sk_hash != sk->sk_hash) in inet_ehash_lookup_by_sk()
547 if (unlikely(INET_MATCH(esk, net, acookie, in inet_ehash_lookup_by_sk()
556 if (unlikely(INET6_MATCH(esk, net, in inet_ehash_lookup_by_sk()
/kernel/linux/linux-5.10/net/ipv6/
Desp6.c146 struct esp_tcp_sk *esk = container_of(head, struct esp_tcp_sk, rcu); in esp_free_tcp_sk() local
148 sock_put(esk->sk); in esp_free_tcp_sk()
149 kfree(esk); in esp_free_tcp_sk()
155 struct esp_tcp_sk *esk; in esp6_find_tcp_sk() local
170 esk = kmalloc(sizeof(*esk), GFP_ATOMIC); in esp6_find_tcp_sk()
171 if (!esk) { in esp6_find_tcp_sk()
176 esk->sk = sk; in esp6_find_tcp_sk()
177 call_rcu(&esk->rcu, esp_free_tcp_sk); in esp6_find_tcp_sk()