Home
last modified time | relevance | path

Searched refs:batch_head (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/md/
Draid5.c527 BUG_ON(sh->batch_head); in init_stripe()
805 if (sh->batch_head) in stripe_add_to_batch_list()
814 if (head->batch_head) { in stripe_add_to_batch_list()
815 spin_lock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
818 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
827 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
829 sh->batch_head = head->batch_head; in stripe_add_to_batch_list()
831 head->batch_head = head; in stripe_add_to_batch_list()
832 sh->batch_head = head->batch_head; in stripe_add_to_batch_list()
845 if (test_bit(STRIPE_BIT_DELAY, &sh->batch_head->state) && in stripe_add_to_batch_list()
[all …]
Draid5.h223 struct stripe_head *batch_head; /* protected by stripe lock */ member