Lines Matching refs:batch_size
6378 int i, batch_size = 0, hash; in handle_active_stripes() local
6381 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes()
6383 batch[batch_size++] = sh; in handle_active_stripes()
6385 if (batch_size == 0) { in handle_active_stripes()
6393 return batch_size; in handle_active_stripes()
6408 for (i = 0; i < batch_size; i++) in handle_active_stripes()
6415 for (i = 0; i < batch_size; i++) { in handle_active_stripes()
6419 return batch_size; in handle_active_stripes()
6438 int batch_size, released; in raid5_do_work() local
6442 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work()
6445 if (!batch_size && !released) in raid5_do_work()
6447 handled += batch_size; in raid5_do_work()
6489 int batch_size, released; in raid5d() local
6518 batch_size = handle_active_stripes(conf, ANY_GROUP, NULL, in raid5d()
6520 if (!batch_size && !released) in raid5d()
6522 handled += batch_size; in raid5d()