Searched refs:optim (Results 1 – 4 of 4) sorted by relevance
89 static struct gaiinit optim = variable138 cnt = pool_size == 0 ? optim.gai_num : ENTRIES_PER_ROW; in get_elem()254 if (nthreads < optim.gai_threads && idle_thread_count == 0) in __gai_enqueue_request()366 if (runp == NULL && optim.gai_idle_time >= 0) in handle_requests()373 wakeup_time.tv_sec = now.tv_sec + optim.gai_idle_time; in handle_requests()407 else if (nthreads < optim.gai_threads) in handle_requests()
99 static struct aioinit optim = variable150 cnt = pool_size == 0 ? optim.aio_num : ENTRIES_PER_ROW; in get_elem()292 optim.aio_threads = init->aio_threads < 1 ? 1 : init->aio_threads; in __aio_init()294 optim.aio_num = (init->aio_num < ENTRIES_PER_ROW in __aio_init()300 optim.aio_idle_time = init->aio_idle_time; in __aio_init()430 if (nthreads < optim.aio_threads && idle_thread_count == 0) in __aio_enqueue_request()627 if (runp == NULL && optim.aio_idle_time >= 0) in handle_fildes_io()634 wakeup_time.tv_sec = now.tv_sec + optim.aio_idle_time; in handle_fildes_io()667 else if (nthreads < optim.aio_threads) in handle_fildes_io()
9191 (optim): New.
94289 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num