Searched refs:sk2 (Results 1 – 2 of 2) sorted by relevance
/crypto/ |
D | af_alg.c | 274 struct sock *sk2; in af_alg_accept() local 285 sk2 = sk_alloc(sock_net(sk), PF_ALG, GFP_KERNEL, &alg_proto, kern); in af_alg_accept() 287 if (!sk2) in af_alg_accept() 290 sock_init_data(newsock, sk2); in af_alg_accept() 291 security_sock_graft(sk2, newsock); in af_alg_accept() 292 security_sk_clone(sk, sk2); in af_alg_accept() 294 err = type->accept(ask->private, sk2); in af_alg_accept() 298 err = type->accept_nokey(ask->private, sk2); in af_alg_accept() 307 atomic_set(&alg_sk(sk2)->nokey_refcnt, 1); in af_alg_accept() 309 alg_sk(sk2)->parent = sk; in af_alg_accept() [all …]
|
D | algif_hash.c | 238 struct sock *sk2; in hash_accept() local 256 sk2 = newsock->sk; in hash_accept() 257 ask2 = alg_sk(sk2); in hash_accept() 266 sock_orphan(sk2); in hash_accept() 267 sock_put(sk2); in hash_accept()
|