Home
last modified time | relevance | path

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

/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.c524 struct sock *esk; in inet_ehash_lookup_by_sk() local
528 sk_nulls_for_each_rcu(esk, node, list) { in inet_ehash_lookup_by_sk()
529 if (esk->sk_hash != sk->sk_hash) in inet_ehash_lookup_by_sk()
532 if (unlikely(INET_MATCH(net, esk, acookie, in inet_ehash_lookup_by_sk()
539 if (unlikely(inet6_match(net, esk, in inet_ehash_lookup_by_sk()
/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()