Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/misc/
Dchaoskey.c78 struct mutex rng_lock; member
191 mutex_init(&dev->rng_lock); in chaoskey_probe()
429 result = mutex_lock_interruptible(&dev->rng_lock); in chaoskey_read()
432 mutex_unlock(&dev->rng_lock); in chaoskey_read()
495 mutex_lock(&dev->rng_lock); in chaoskey_rng_read()
499 mutex_unlock(&dev->rng_lock); in chaoskey_rng_read()
/linux-6.12.1/kernel/locking/
Dtest-ww_mutex.c390 DEFINE_SPINLOCK(rng_lock);
396 spin_lock(&rng_lock); in prandom_u32_below()
398 spin_unlock(&rng_lock); in prandom_u32_below()
/linux-6.12.1/drivers/crypto/amcc/
Dcrypto4xx_core.h115 struct mutex rng_lock; member
Dcrypto4xx_core.c1174 mutex_lock(&dev->core_dev->rng_lock); in crypto4xx_prng_generate()
1176 mutex_unlock(&dev->core_dev->rng_lock); in crypto4xx_prng_generate()
1405 mutex_init(&core_dev->rng_lock); in crypto4xx_probe()
1483 mutex_destroy(&core_dev->rng_lock); in crypto4xx_remove()