Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/char/
Drandom.c2355 spinlock_t batch_lock; member
2367 .batch_lock = __SPIN_LOCK_UNLOCKED(batched_entropy_u64.lock),
2389 spin_lock_irqsave(&batch->batch_lock, flags); in get_random_u64()
2395 spin_unlock_irqrestore(&batch->batch_lock, flags); in get_random_u64()
2401 .batch_lock = __SPIN_LOCK_UNLOCKED(batched_entropy_u32.lock),
2416 spin_lock_irqsave(&batch->batch_lock, flags); in get_random_u32()
2422 spin_unlock_irqrestore(&batch->batch_lock, flags); in get_random_u32()
2440 spin_lock_irqsave(&batched_entropy->batch_lock, flags); in invalidate_batched_entropy()
2442 spin_unlock(&batched_entropy->batch_lock); in invalidate_batched_entropy()
2445 spin_lock(&batched_entropy->batch_lock); in invalidate_batched_entropy()
[all …]
/Linux-v5.4/drivers/md/
Draid5.h225 spinlock_t batch_lock; /* only header's lock is useful */ member
Draid5.c800 spin_lock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
803 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
820 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
824 spin_lock(&head->batch_lock); in stripe_add_to_batch_list()
826 spin_unlock(&head->batch_lock); in stripe_add_to_batch_list()
2140 spin_lock_init(&sh->batch_lock); in alloc_stripe()
4592 spin_lock(&sh->batch_lock); in clear_batch_ready()
4595 spin_unlock(&sh->batch_lock); in clear_batch_ready()