Lines Matching refs:batch_size
6648 int i, batch_size = 0, hash; in handle_active_stripes() local
6651 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes()
6653 batch[batch_size++] = sh; in handle_active_stripes()
6655 if (batch_size == 0) { in handle_active_stripes()
6663 return batch_size; in handle_active_stripes()
6678 for (i = 0; i < batch_size; i++) in handle_active_stripes()
6685 for (i = 0; i < batch_size; i++) { in handle_active_stripes()
6689 return batch_size; in handle_active_stripes()
6708 int batch_size, released; in raid5_do_work() local
6712 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work()
6715 if (!batch_size && !released) in raid5_do_work()
6717 handled += batch_size; in raid5_do_work()
6759 int batch_size, released; in raid5d() local
6791 batch_size = handle_active_stripes(conf, ANY_GROUP, NULL, in raid5d()
6793 if (!batch_size && !released) in raid5d()
6795 handled += batch_size; in raid5d()