Home
last modified time | relevance | path

Searched refs:batch_lock (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Draid5.h226 spinlock_t batch_lock; /* only header's lock is useful */ member
H 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()
885 * batch_lock, otherwise clear_batch_ready of batch head 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()
4799 spin_lock(&sh->batch_lock); in clear_batch_ready()
4802 spin_unlock(&sh->batch_lock); in clear_batch_ready()
/kernel/linux/linux-6.6/drivers/md/
H A Draid5.h227 spinlock_t batch_lock; /* only header's lock is useful */ member
H A Draid5.c959 spin_lock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
962 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
967 * batch_lock, otherwise clear_batch_ready of batch head in stripe_add_to_batch_list()
979 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
983 spin_lock(&head->batch_lock); in stripe_add_to_batch_list()
985 spin_unlock(&head->batch_lock); in stripe_add_to_batch_list()
2379 spin_lock_init(&sh->batch_lock); in alloc_stripe()
4912 spin_lock(&sh->batch_lock); in clear_batch_ready()
4915 spin_unlock(&sh->batch_lock); in clear_batch_ready()

Completed in 24 milliseconds