Searched refs:esk (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | esp4.c | 130 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()
|
H A D | inet_hashtables.c | 533 struct sock *esk; in inet_ehash_lookup_by_sk() local 537 sk_nulls_for_each_rcu(esk, node, list) { in inet_ehash_lookup_by_sk() 538 if (esk->sk_hash != sk->sk_hash) in inet_ehash_lookup_by_sk() 541 if (unlikely(INET_MATCH(net, esk, acookie, in inet_ehash_lookup_by_sk() 548 if (unlikely(inet6_match(net, esk, in inet_ehash_lookup_by_sk()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | esp6.c | 146 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()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | esp4.c | 128 struct esp_tcp_sk *esk = container_of(head, struct esp_tcp_sk, rcu); in esp_free_tcp_sk() local 130 sock_put(esk->sk); in esp_free_tcp_sk() 131 kfree(esk); in esp_free_tcp_sk() 138 struct esp_tcp_sk *esk; in esp_find_tcp_sk() local 153 esk = kmalloc(sizeof(*esk), GFP_ATOMIC); in esp_find_tcp_sk() 154 if (!esk) { in esp_find_tcp_sk() 159 esk->sk = sk; in esp_find_tcp_sk() 160 call_rcu(&esk->rcu, esp_free_tcp_sk); in esp_find_tcp_sk()
|
H A D | inet_hashtables.c | 629 struct sock *esk; in inet_ehash_lookup_by_sk() local 633 sk_nulls_for_each_rcu(esk, node, list) { in inet_ehash_lookup_by_sk() 634 if (esk->sk_hash != sk->sk_hash) in inet_ehash_lookup_by_sk() 637 if (unlikely(inet_match(net, esk, acookie, in inet_ehash_lookup_by_sk() 644 if (unlikely(inet6_match(net, esk, in inet_ehash_lookup_by_sk()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | esp6.c | 145 struct esp_tcp_sk *esk = container_of(head, struct esp_tcp_sk, rcu); in esp_free_tcp_sk() local 147 sock_put(esk->sk); in esp_free_tcp_sk() 148 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()
|
Completed in 10 milliseconds