Lines Matching refs:nthreads
26 int nthreads; in FIXTURE() local
36 self->nthreads = numa_num_task_cpus() - 1; in FIXTURE_SETUP()
50 self->threads = malloc(self->nthreads * sizeof(*self->threads)); in FIXTURE_SETUP()
52 self->pids = malloc(self->nthreads * sizeof(*self->pids)); in FIXTURE_SETUP()
119 if (self->nthreads < 2 || self->n1 < 0 || self->n2 < 0)
127 for (i = 0; i < self->nthreads - 1; i++)
132 for (i = 0; i < self->nthreads - 1; i++)
145 if (self->nthreads < 2 || self->n1 < 0 || self->n2 < 0)
153 for (i = 0; i < self->nthreads - 1; i++) {
162 for (i = 0; i < self->nthreads - 1; i++)
174 if (self->nthreads < 2 || self->n1 < 0 || self->n2 < 0)
184 for (i = 0; i < self->nthreads - 1; i++)
189 for (i = 0; i < self->nthreads - 1; i++)