Searched refs:nokey_refcnt (Results 1 – 5 of 5) sorted by relevance
212 if (!atomic_read(&ask->nokey_refcnt)) in skcipher_check_key()224 atomic_dec(&pask->nokey_refcnt); in skcipher_check_key()225 atomic_set(&ask->nokey_refcnt, 0); in skcipher_check_key()
303 if (!atomic_read(&ask->nokey_refcnt)) in hash_check_key()315 atomic_dec(&pask->nokey_refcnt); in hash_check_key()316 atomic_set(&ask->nokey_refcnt, 0); in hash_check_key()
386 if (!atomic_read(&ask->nokey_refcnt)) in aead_check_key()398 atomic_dec(&pask->nokey_refcnt); in aead_check_key()399 atomic_set(&ask->nokey_refcnt, 0); in aead_check_key()
129 unsigned int nokey = atomic_read(&ask->nokey_refcnt); in af_alg_release_parent()135 atomic_dec(&ask->nokey_refcnt); in af_alg_release_parent()234 if (atomic_read(&ask->refcnt) != atomic_read(&ask->nokey_refcnt)) in alg_setsockopt()315 atomic_inc(&ask->nokey_refcnt); in af_alg_accept()316 atomic_set(&alg_sk(sk2)->nokey_refcnt, 1); in af_alg_accept()
33 atomic_t nokey_refcnt; member