Home
last modified time | relevance | path

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

/crypto/
Daf_alg.c131 struct alg_sock *ask = alg_sk(sk); in af_alg_release_parent() local
132 unsigned int nokey = atomic_read(&ask->nokey_refcnt); in af_alg_release_parent()
134 sk = ask->parent; in af_alg_release_parent()
135 ask = alg_sk(sk); in af_alg_release_parent()
138 atomic_dec(&ask->nokey_refcnt); in af_alg_release_parent()
140 if (atomic_dec_and_test(&ask->refcnt)) in af_alg_release_parent()
149 struct alg_sock *ask = alg_sk(sk); in alg_bind() local
189 if (atomic_read(&ask->refcnt)) in alg_bind()
192 swap(ask->type, type); in alg_bind()
193 swap(ask->private, private); in alg_bind()
[all …]
Dalgif_skcipher.c41 struct alg_sock *ask = alg_sk(sk); in skcipher_sendmsg() local
42 struct sock *psk = ask->parent; in skcipher_sendmsg()
54 struct alg_sock *ask = alg_sk(sk); in _skcipher_recvmsg() local
55 struct sock *psk = ask->parent; in _skcipher_recvmsg()
57 struct af_alg_ctx *ctx = ask->private; in _skcipher_recvmsg()
209 struct alg_sock *ask = alg_sk(sk); in skcipher_check_key() local
212 if (!atomic_read(&ask->nokey_refcnt)) in skcipher_check_key()
215 psk = ask->parent; in skcipher_check_key()
216 pask = alg_sk(ask->parent); in skcipher_check_key()
225 atomic_set(&ask->nokey_refcnt, 0); in skcipher_check_key()
[all …]
Dalgif_hash.c68 struct alg_sock *ask = alg_sk(sk); in hash_sendmsg() local
69 struct hash_ctx *ctx = ask->private; in hash_sendmsg()
135 struct alg_sock *ask = alg_sk(sk); in hash_sendpage() local
136 struct hash_ctx *ctx = ask->private; in hash_sendpage()
187 struct alg_sock *ask = alg_sk(sk); in hash_recvmsg() local
188 struct hash_ctx *ctx = ask->private; in hash_recvmsg()
234 struct alg_sock *ask = alg_sk(sk); in hash_accept() local
235 struct hash_ctx *ctx = ask->private; in hash_accept()
252 err = af_alg_accept(ask->parent, newsock, kern); in hash_accept()
299 struct alg_sock *ask = alg_sk(sk); in hash_check_key() local
[all …]
Dalgif_aead.c46 struct alg_sock *ask = alg_sk(sk); in aead_sufficient_data() local
47 struct sock *psk = ask->parent; in aead_sufficient_data()
49 struct af_alg_ctx *ctx = ask->private; in aead_sufficient_data()
64 struct alg_sock *ask = alg_sk(sk); in aead_sendmsg() local
65 struct sock *psk = ask->parent; in aead_sendmsg()
92 struct alg_sock *ask = alg_sk(sk); in _aead_recvmsg() local
93 struct sock *psk = ask->parent; in _aead_recvmsg()
95 struct af_alg_ctx *ctx = ask->private; in _aead_recvmsg()
383 struct alg_sock *ask = alg_sk(sk); in aead_check_key() local
386 if (!atomic_read(&ask->nokey_refcnt)) in aead_check_key()
[all …]
Dalgif_rng.c111 struct alg_sock *ask = alg_sk(sk); in rng_recvmsg() local
112 struct rng_ctx *ctx = ask->private; in rng_recvmsg()
121 struct alg_sock *ask = alg_sk(sk); in rng_test_recvmsg() local
122 struct rng_ctx *ctx = ask->private; in rng_test_recvmsg()
136 struct alg_sock *ask = alg_sk(sock->sk); in rng_test_sendmsg() local
137 struct rng_ctx *ctx = ask->private; in rng_test_sendmsg()
234 struct alg_sock *ask = alg_sk(sk); in rng_sock_destruct() local
235 struct rng_ctx *ctx = ask->private; in rng_sock_destruct()
246 struct alg_sock *ask = alg_sk(sk); in rng_accept_parent() local
264 ask->private = ctx; in rng_accept_parent()