Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/char/
Drandom.c2175 spinlock_t batch_lock; member
2187 .batch_lock = __SPIN_LOCK_UNLOCKED(batched_entropy_u64.lock),
2200 spin_lock_irqsave(&batch->batch_lock, flags); in get_random_u64()
2206 spin_unlock_irqrestore(&batch->batch_lock, flags); in get_random_u64()
2212 .batch_lock = __SPIN_LOCK_UNLOCKED(batched_entropy_u32.lock),
2224 spin_lock_irqsave(&batch->batch_lock, flags); in get_random_u32()
2230 spin_unlock_irqrestore(&batch->batch_lock, flags); in get_random_u32()
2248 spin_lock_irqsave(&batched_entropy->batch_lock, flags); in invalidate_batched_entropy()
2250 spin_unlock(&batched_entropy->batch_lock); in invalidate_batched_entropy()
2253 spin_lock(&batched_entropy->batch_lock); in invalidate_batched_entropy()
[all …]
/Linux-v5.10/drivers/md/
Draid5.h226 spinlock_t batch_lock; /* only header's lock is useful */ member
Draid5.c877 spin_lock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
880 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
897 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
901 spin_lock(&head->batch_lock); in stripe_add_to_batch_list()
903 spin_unlock(&head->batch_lock); in stripe_add_to_batch_list()
2301 spin_lock_init(&sh->batch_lock); in alloc_stripe()
4801 spin_lock(&sh->batch_lock); in clear_batch_ready()
4804 spin_unlock(&sh->batch_lock); in clear_batch_ready()