Lines Matching defs:threads
46 struct thread_data *threads = NULL;
278 if (threads) {
279 void *tp = threads;
283 threads = NULL;
288 threads = NULL;
296 if (threads) {
315 * threads/processes. So setup a shared memory segment that will hold
321 if (threads)
342 threads = malloc(size);
343 if (threads)
354 threads = shmat(shm_id, NULL, 0);
355 if (threads == (void *) -1) {
363 memset(threads, 0, max_jobs * sizeof(struct thread_data));
364 fio_debug_jobp = (void *) threads + max_jobs * sizeof(struct thread_data);
454 td = &threads[thread_number++];
504 memset(&threads[td->thread_number - 1], 0, sizeof(*td));
593 " mutexes, forcing use of threads. Use the 'thread'"
2041 printf(" --max-jobs=nr\t\tMaximum number of threads/processes to support\n");