Searched refs:nokey_refcnt (Results 1 – 3 of 3) 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()
304 if (!atomic_read(&ask->nokey_refcnt)) in hash_check_key()316 atomic_dec(&pask->nokey_refcnt); in hash_check_key()317 atomic_set(&ask->nokey_refcnt, 0); in hash_check_key()
31 atomic_t nokey_refcnt; member