Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Draid5.c582 BUG_ON(sh->batch_head); in init_stripe()
946 if (sh->batch_head) in stripe_add_to_batch_list()
956 if (head->batch_head) { in stripe_add_to_batch_list()
957 spin_lock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
960 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
970 sh->batch_head = head->batch_head; in stripe_add_to_batch_list()
977 spin_unlock(&head->batch_head->batch_lock); in stripe_add_to_batch_list()
979 head->batch_head = head; in stripe_add_to_batch_list()
980 sh->batch_head = head->batch_head; in stripe_add_to_batch_list()
993 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