Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Draid5.c588 BUG_ON(sh->batch_head); in init_stripe()
951 if (sh->batch_head) in stripe_add_to_batch_list()
961 if (head->batch_head) { in stripe_add_to_batch_list()
962 spin_lock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
965 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
975 sh->batch_head = head->batch_head; in stripe_add_to_batch_list()
982 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
984 head->batch_head = head; in stripe_add_to_batch_list()
985 sh->batch_head = head->batch_head; in stripe_add_to_batch_list()
998 if (test_bit(STRIPE_BIT_DELAY, &sh->batch_head->state) && in stripe_add_to_batch_list()
[all …]
H A Draid5.h226 struct stripe_head *batch_head; /* protected by stripe lock */ member