batch_head        496 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head        789 drivers/md/raid5.c 	if (sh->batch_head)
batch_head        799 drivers/md/raid5.c 	if (head->batch_head) {
batch_head        800 drivers/md/raid5.c 		spin_lock(&head->batch_head->batch_lock);
batch_head        803 drivers/md/raid5.c 			spin_unlock(&head->batch_head->batch_lock);
batch_head        813 drivers/md/raid5.c 		sh->batch_head = head->batch_head;
batch_head        820 drivers/md/raid5.c 		spin_unlock(&head->batch_head->batch_lock);
batch_head        822 drivers/md/raid5.c 		head->batch_head = head;
batch_head        823 drivers/md/raid5.c 		sh->batch_head = head->batch_head;
batch_head        836 drivers/md/raid5.c 		if (test_bit(STRIPE_BIT_DELAY, &sh->batch_head->state) &&
batch_head        837 drivers/md/raid5.c 		    sh->batch_head->bm_seq > seq)
batch_head        838 drivers/md/raid5.c 			seq = sh->batch_head->bm_seq;
batch_head        839 drivers/md/raid5.c 		set_bit(STRIPE_BIT_DELAY, &sh->batch_head->state);
batch_head        840 drivers/md/raid5.c 		sh->batch_head->bm_seq = seq;
batch_head       1215 drivers/md/raid5.c 		if (!head_sh->batch_head)
batch_head       1334 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       1417 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       1500 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       1559 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       1679 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       1776 drivers/md/raid5.c 			if (head_sh->batch_head) {
batch_head       1896 drivers/md/raid5.c 	last_stripe = !head_sh->batch_head ||
batch_head       1964 drivers/md/raid5.c 	last_stripe = !head_sh->batch_head ||
batch_head       2011 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       2040 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       2115 drivers/md/raid5.c 	if (overlap_clear && !sh->batch_head)
batch_head       2658 drivers/md/raid5.c 	if (sh->batch_head && bi->bi_status && !replacement)
batch_head       2659 drivers/md/raid5.c 		set_bit(STRIPE_BATCH_ERR, &sh->batch_head->state);
batch_head       2667 drivers/md/raid5.c 	if (sh->batch_head && sh != sh->batch_head)
batch_head       2668 drivers/md/raid5.c 		raid5_release_stripe(sh->batch_head);
batch_head       3219 drivers/md/raid5.c 	if (sh->batch_head)
batch_head       3313 drivers/md/raid5.c 		if (!sh->batch_head) {
batch_head       3353 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       3468 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       3635 drivers/md/raid5.c 		BUG_ON(sh->batch_head);
batch_head       3791 drivers/md/raid5.c 				if (head_sh->batch_head) {
batch_head       3829 drivers/md/raid5.c 		if (head_sh->batch_head) {
batch_head       3846 drivers/md/raid5.c 	if (head_sh->batch_head && do_endio)
batch_head       4038 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       4134 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       4311 drivers/md/raid5.c 	BUG_ON(sh->batch_head);
batch_head       4384 drivers/md/raid5.c 	s->expanding = test_bit(STRIPE_EXPAND_SOURCE, &sh->state) && !sh->batch_head;
batch_head       4385 drivers/md/raid5.c 	s->expanded = test_bit(STRIPE_EXPAND_READY, &sh->state) && !sh->batch_head;
batch_head       4577 drivers/md/raid5.c 		return (sh->batch_head && sh->batch_head != sh);
batch_head       4579 drivers/md/raid5.c 	if (!sh->batch_head) {
batch_head       4588 drivers/md/raid5.c 	if (sh->batch_head != sh) {
batch_head       4642 drivers/md/raid5.c 		sh->batch_head = NULL;
batch_head       4656 drivers/md/raid5.c 	head_sh->batch_head = NULL;
batch_head       4693 drivers/md/raid5.c 	if (test_bit(STRIPE_SYNC_REQUESTED, &sh->state) && !sh->batch_head) {
batch_head       5729 drivers/md/raid5.c 			if (!sh->batch_head || sh == sh->batch_head)
batch_head       5732 drivers/md/raid5.c 			if ((!sh->batch_head || sh == sh->batch_head) &&
batch_head        224 drivers/md/raid5.h 	struct stripe_head	*batch_head; /* protected by stripe lock */