Searched refs:entropy_lock (Results 1 – 1 of 1) sorted by relevance
123 static unsigned int entropy_lock = SPINLOCK_UNLOCK; variable232 exceptions = cpu_spin_lock_xsave(&entropy_lock); in rng_collect_entropy()253 cpu_spin_unlock_xrestore(&entropy_lock, exceptions); in rng_collect_entropy()282 exceptions = cpu_spin_lock_xsave(&entropy_lock); in rng_get_entropy()310 cpu_spin_unlock_xrestore(&entropy_lock, exceptions); in rng_get_entropy()