Lines Matching refs:batch_size
6374 int i, batch_size = 0, hash; in handle_active_stripes() local
6377 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes()
6379 batch[batch_size++] = sh; in handle_active_stripes()
6381 if (batch_size == 0) { in handle_active_stripes()
6389 return batch_size; in handle_active_stripes()
6404 for (i = 0; i < batch_size; i++) in handle_active_stripes()
6411 for (i = 0; i < batch_size; i++) { in handle_active_stripes()
6415 return batch_size; in handle_active_stripes()
6434 int batch_size, released; in raid5_do_work() local
6438 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work()
6441 if (!batch_size && !released) in raid5_do_work()
6443 handled += batch_size; in raid5_do_work()
6485 int batch_size, released; in raid5d() local
6514 batch_size = handle_active_stripes(conf, ANY_GROUP, NULL, in raid5d()
6516 if (!batch_size && !released) in raid5d()
6518 handled += batch_size; in raid5d()