Lines Matching refs:batch_size
6372 int i, batch_size = 0, hash; in handle_active_stripes() local
6375 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes()
6377 batch[batch_size++] = sh; in handle_active_stripes()
6379 if (batch_size == 0) { in handle_active_stripes()
6387 return batch_size; in handle_active_stripes()
6402 for (i = 0; i < batch_size; i++) in handle_active_stripes()
6409 for (i = 0; i < batch_size; i++) { in handle_active_stripes()
6413 return batch_size; in handle_active_stripes()
6432 int batch_size, released; in raid5_do_work() local
6436 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work()
6439 if (!batch_size && !released) in raid5_do_work()
6441 handled += batch_size; in raid5_do_work()
6483 int batch_size, released; in raid5d() local
6512 batch_size = handle_active_stripes(conf, ANY_GROUP, NULL, in raid5d()
6514 if (!batch_size && !released) in raid5d()
6516 handled += batch_size; in raid5d()