Home
last modified time | relevance | path

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

/linux/drivers/char/
A Drandom.c2151 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()
[all …]
/linux/drivers/md/
A Draid5.h226 spinlock_t batch_lock; /* only header's lock is useful */ member
A 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()
2302 spin_lock_init(&sh->batch_lock); in alloc_stripe()
4802 spin_lock(&sh->batch_lock); in clear_batch_ready()
4805 spin_unlock(&sh->batch_lock); in clear_batch_ready()

Completed in 34 milliseconds