Lines Matching refs:settings

195     for (i = 0; i < settings.num_threads; i++) {  in pause_threads()
198 wait_for_thread_registration(settings.num_threads); in pause_threads()
211 if (settings.verbose > 0) in stop_threads()
214 if (settings.verbose > 0) in stop_threads()
220 for (i = 0; i < settings.num_threads; i++) { in stop_threads()
223 wait_for_thread_registration(settings.num_threads); in stop_threads()
228 if (settings.verbose > 0) in stop_threads()
234 if (settings.verbose > 0) in stop_threads()
236 if (settings.lru_maintainer_thread) { in stop_threads()
238 if (settings.verbose > 0) in stop_threads()
241 if (settings.slab_reassign) { in stop_threads()
243 if (settings.verbose > 0) in stop_threads()
247 if (settings.verbose > 0) in stop_threads()
250 if (settings.verbose > 0) in stop_threads()
254 if (settings.verbose > 0) in stop_threads()
258 if (settings.verbose > 0) in stop_threads()
260 for (i = 0; i < settings.num_threads; i++) { in stop_threads()
264 if (settings.verbose > 0) in stop_threads()
461 if (settings.read_buf_mem_limit) { in setup_thread()
462 int limit = settings.read_buf_mem_limit / settings.num_threads; in setup_thread()
477 if (settings.ssl_enabled) { in setup_thread()
478 me->ssl_wbuf = (char *)malloc((size_t)settings.ssl_wbuf_size); in setup_thread()
493 thread_io_queue_add(me, IO_QUEUE_PROXY, settings.proxy_ctx, proxy_submit_cb); in setup_thread()
497 if (settings.proxy_enabled) { in setup_thread()
498 proxy_thread_init(settings.proxy_ctx, me); in setup_thread()
519 if (settings.drop_privileges) { in worker_libevent()
554 if (settings.verbose > 0) in thread_libevent_ionotify()
563 if (settings.verbose > 0) in thread_libevent_ionotify()
597 if (settings.verbose > 0) in thread_libevent_process()
606 if (settings.verbose > 0) in thread_libevent_process()
628 if (settings.verbose > 0) { in thread_libevent_process()
642 if (settings.ssl_enabled && c->ssl != NULL) { in thread_libevent_process()
667 proxy_worker_reload(settings.proxy_ctx, me); in thread_libevent_process()
701 int tid = (last_thread + 1) % settings.num_threads; in select_thread_round_robin()
713 for (i = 0; i < settings.num_threads; i++) { in reset_threads_napi_id()
742 for (i = 0; i < settings.num_threads; i++) { in select_thread_by_napi_id()
778 if (!settings.num_napi_ids) in dispatch_conn_new()
853 if (settings.verbose > 1) in sidethread_conn_close()
985 for (ii = 0; ii < settings.num_threads; ++ii) { in threadlocal_stats_reset()
1013 for (ii = 0; ii < settings.num_threads; ++ii) { in threadlocal_stats_aggregate()