Searched refs:nokey_refcnt (Results 1 – 5 of 5) sorted by relevance
275 if (!atomic_read(&ask->nokey_refcnt)) in skcipher_check_key()287 atomic_dec(&pask->nokey_refcnt); in skcipher_check_key()288 atomic_set(&ask->nokey_refcnt, 0); in skcipher_check_key()
308 if (!atomic_read(&ask->nokey_refcnt)) in hash_check_key()320 atomic_dec(&pask->nokey_refcnt); in hash_check_key()321 atomic_set(&ask->nokey_refcnt, 0); in hash_check_key()
387 if (!atomic_read(&ask->nokey_refcnt)) in aead_check_key()399 atomic_dec(&pask->nokey_refcnt); in aead_check_key()400 atomic_set(&ask->nokey_refcnt, 0); in aead_check_key()
135 unsigned int nokey = atomic_read(&ask->nokey_refcnt); in af_alg_release_parent()141 atomic_dec(&ask->nokey_refcnt); in af_alg_release_parent()366 if (atomic_read(&ask->refcnt) != atomic_read(&ask->nokey_refcnt)) in alg_setsockopt()452 atomic_inc(&ask->nokey_refcnt); in af_alg_accept()453 atomic_set(&alg_sk(sk2)->nokey_refcnt, 1); in af_alg_accept()
31 atomic_t nokey_refcnt; member