Home | History | Annotate | Download | only in direct_io

Lines Matching refs:workers

134 static int workers;
231 workers = sysconf(_SC_NPROCESSORS_ONLN);
232 if (workers > MAX_WORKERS)
233 workers = MAX_WORKERS;
260 for (j = 0; j < workers; j++) {
270 for (j = 0; j < workers; j++) {
277 worker[workers - 1].length =
278 READSIZE - PAGE_SIZE * (workers - 1);
288 for (j = 0; j < workers; j++) {
298 for (j = 0; j < workers; j++) {
330 for (j = 0; j < workers; j++)
356 workers = atoi(workers_str);
357 if (workers < MIN_WORKERS || workers > MAX_WORKERS) {
360 workers, MIN_WORKERS, MAX_WORKERS);
363 tst_resm(TINFO, "using %d workers.", workers);
411 worker = SAFE_MALLOC(cleanup, workers * sizeof(worker_t));
413 for (j = 0; j < workers; j++)