Lines Matching refs:batch_lock
2151 spinlock_t batch_lock; member
2163 .batch_lock = __SPIN_LOCK_UNLOCKED(batched_entropy_u64.lock),
2176 spin_lock_irqsave(&batch->batch_lock, flags); in get_random_u64()
2182 spin_unlock_irqrestore(&batch->batch_lock, flags); in get_random_u64()
2188 .batch_lock = __SPIN_LOCK_UNLOCKED(batched_entropy_u32.lock),
2200 spin_lock_irqsave(&batch->batch_lock, flags); in get_random_u32()
2206 spin_unlock_irqrestore(&batch->batch_lock, flags); in get_random_u32()
2224 spin_lock_irqsave(&batched_entropy->batch_lock, flags); in invalidate_batched_entropy()
2226 spin_unlock(&batched_entropy->batch_lock); in invalidate_batched_entropy()
2229 spin_lock(&batched_entropy->batch_lock); in invalidate_batched_entropy()
2231 spin_unlock_irqrestore(&batched_entropy->batch_lock, flags); in invalidate_batched_entropy()