Lines Matching refs:batch_size
6696 int i, batch_size = 0, hash; in handle_active_stripes() local
6699 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes()
6701 batch[batch_size++] = sh; in handle_active_stripes()
6703 if (batch_size == 0) { in handle_active_stripes()
6711 return batch_size; in handle_active_stripes()
6726 for (i = 0; i < batch_size; i++) in handle_active_stripes()
6733 for (i = 0; i < batch_size; i++) { in handle_active_stripes()
6737 return batch_size; in handle_active_stripes()
6756 int batch_size, released; in raid5_do_work() local
6760 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work()
6763 if (!batch_size && !released) in raid5_do_work()
6765 handled += batch_size; in raid5_do_work()
6807 int batch_size, released; in raid5d() local
6836 batch_size = handle_active_stripes(conf, ANY_GROUP, NULL, in raid5d()
6838 if (!batch_size && !released) in raid5d()
6840 handled += batch_size; in raid5d()