Searched refs:rndpool_lock (Results 1 – 1 of 1) sorted by relevance
109 static kmutex_t rndpool_lock; /* protects r/w accesses to the cache, */ variable140 mutex_init(&rndpool_lock, NULL, MUTEX_DEFAULT, NULL); in kcf_rnd_init()471 ASSERT(mutex_owned(&rndpool_lock)); in rnd_get_bytes()478 mutex_exit(&rndpool_lock); in rnd_get_bytes()481 mutex_exit(&rndpool_lock); in rnd_get_bytes()512 mutex_enter(&rndpool_lock); in rnd_get_bytes()519 &rndpool_lock) == 0) { in rnd_get_bytes()521 mutex_exit(&rndpool_lock); in rnd_get_bytes()552 mutex_exit(&rndpool_lock); in rnd_get_bytes()563 mutex_enter(&rndpool_lock); in kcf_rnd_get_bytes()[all …]