Home
last modified time | relevance | path

Searched refs:threads_max (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/xz/src/xz/
H A Dhardware.c21 static uint32_t threads_max; variable
83 threads_max = lzma_cputhreads(); in hardware_threads_set()
84 if (threads_max == 0) in hardware_threads_set()
85 threads_max = 1; in hardware_threads_set()
87 threads_max = 1; in hardware_threads_set()
91 threads_max = 1; in hardware_threads_set()
93 threads_max = n; in hardware_threads_set()
103 return threads_max; in hardware_threads_get()
111 return threads_max > 1 || use_mt_mode_with_one_thread; in hardware_threads_is_mt()
/freebsd/contrib/xz/src/liblzma/common/
H A Dstream_encoder_mt.c170 uint32_t threads_max; member
569 if (coder->threads_initialized == coder->threads_max) in get_thread()
1099 coder->threads_max = 0; in stream_encoder_mt_init()
1112 if (coder->threads_max != options->threads) { in stream_encoder_mt_init()
1116 coder->threads_max = 0; in stream_encoder_mt_init()
1127 coder->threads_max = options->threads; in stream_encoder_mt_init()
H A Dstream_decoder_mt.c180 uint32_t threads_max; member
558 coder->threads_max * sizeof(struct worker_thread), in initialize_new_thread()
566 assert(coder->threads_initialized < coder->threads_max); in initialize_new_thread()
623 assert(coder->threads_initialized < coder->threads_max); in get_thread()
741 < coder->threads_max in read_output_and_wait()
1986 coder->threads_max = options->threads; in stream_decoder_mt_init()
1989 coder->threads_max)); in stream_decoder_mt_init()