Home
last modified time | relevance | path

Searched refs:srndpool_lock (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dswrand.c88 static kmutex_t srndpool_lock; /* protects r/w accesses to the pool, */ variable
203 mutex_init(&srndpool_lock, NULL, MUTEX_DEFAULT, NULL); in _init()
238 mutex_enter(&srndpool_lock); in _init()
240 mutex_exit(&srndpool_lock); in _init()
256 mutex_destroy(&srndpool_lock); in _init()
325 mutex_enter(&srndpool_lock); in swrand_get_entropy()
344 mutex_exit(&srndpool_lock); in swrand_get_entropy()
352 &srndpool_lock) == 0) { in swrand_get_entropy()
354 mutex_exit(&srndpool_lock); in swrand_get_entropy()
428 mutex_exit(&srndpool_lock); in swrand_get_entropy()
[all …]