Home | History | Annotate | Download | only in fio

Lines Matching refs:threads

45 struct thread_data *threads = NULL;
276 if (threads) {
277 void *tp = threads;
281 threads = NULL;
286 threads = NULL;
294 if (threads) {
313 * threads/processes. So setup a shared memory segment that will hold
321 if (threads)
343 threads = malloc(size);
344 if (threads)
355 threads = shmat(shm_id, NULL, 0);
356 if (threads == (void *) -1) {
362 memset(threads, 0, max_jobs * sizeof(struct thread_data));
363 hash = (void *) threads + max_jobs * sizeof(struct thread_data);
403 td = &threads[thread_number++];
448 memset(&threads[td->thread_number - 1], 0, sizeof(*td));
522 " mutexes, forcing use of threads. Use the 'thread'"
1723 printf(" --max-jobs=nr\t\tMaximum number of threads/processes to support\n");