Searched refs:ask (Results 1 – 5 of 5) sorted by relevance
131 struct alg_sock *ask = alg_sk(sk); in af_alg_release_parent() local132 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() local189 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 …]
41 struct alg_sock *ask = alg_sk(sk); in skcipher_sendmsg() local42 struct sock *psk = ask->parent; in skcipher_sendmsg()54 struct alg_sock *ask = alg_sk(sk); in _skcipher_recvmsg() local55 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() local212 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 …]
68 struct alg_sock *ask = alg_sk(sk); in hash_sendmsg() local69 struct hash_ctx *ctx = ask->private; in hash_sendmsg()135 struct alg_sock *ask = alg_sk(sk); in hash_sendpage() local136 struct hash_ctx *ctx = ask->private; in hash_sendpage()187 struct alg_sock *ask = alg_sk(sk); in hash_recvmsg() local188 struct hash_ctx *ctx = ask->private; in hash_recvmsg()234 struct alg_sock *ask = alg_sk(sk); in hash_accept() local235 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 …]
46 struct alg_sock *ask = alg_sk(sk); in aead_sufficient_data() local47 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() local65 struct sock *psk = ask->parent; in aead_sendmsg()92 struct alg_sock *ask = alg_sk(sk); in _aead_recvmsg() local93 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() local386 if (!atomic_read(&ask->nokey_refcnt)) in aead_check_key()[all …]
111 struct alg_sock *ask = alg_sk(sk); in rng_recvmsg() local112 struct rng_ctx *ctx = ask->private; in rng_recvmsg()121 struct alg_sock *ask = alg_sk(sk); in rng_test_recvmsg() local122 struct rng_ctx *ctx = ask->private; in rng_test_recvmsg()136 struct alg_sock *ask = alg_sk(sock->sk); in rng_test_sendmsg() local137 struct rng_ctx *ctx = ask->private; in rng_test_sendmsg()234 struct alg_sock *ask = alg_sk(sk); in rng_sock_destruct() local235 struct rng_ctx *ctx = ask->private; in rng_sock_destruct()246 struct alg_sock *ask = alg_sk(sk); in rng_accept_parent() local264 ask->private = ctx; in rng_accept_parent()