Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/xz/src/xz/
H A Dhardware.c18 static uint32_t threads_max = 1; variable
80 threads_max = lzma_cputhreads(); in hardware_threads_set()
81 if (threads_max == 0) in hardware_threads_set()
82 threads_max = 1; in hardware_threads_set()
84 threads_max = 1; in hardware_threads_set()
88 threads_max = 1; in hardware_threads_set()
90 threads_max = n; in hardware_threads_set()
100 return threads_max; in hardware_threads_get()
108 return threads_max > 1 || use_mt_mode_with_one_thread; in hardware_threads_is_mt()
/freebsd-14.2/contrib/xz/src/liblzma/common/
H A Dstream_encoder_mt.c171 uint32_t threads_max; member
570 if (coder->threads_initialized == coder->threads_max) in get_thread()
1102 coder->threads_max = 0; in stream_encoder_mt_init()
1115 if (coder->threads_max != options->threads) { in stream_encoder_mt_init()
1119 coder->threads_max = 0; in stream_encoder_mt_init()
1130 coder->threads_max = options->threads; in stream_encoder_mt_init()
H A Dstream_decoder_mt.c198 uint32_t threads_max; member
577 coder->threads_max * sizeof(struct worker_thread), in initialize_new_thread()
585 assert(coder->threads_initialized < coder->threads_max); in initialize_new_thread()
642 assert(coder->threads_initialized < coder->threads_max); in get_thread()
759 < coder->threads_max in read_output_and_wait()
2000 coder->threads_max = options->threads; in stream_decoder_mt_init()
2003 coder->threads_max)); in stream_decoder_mt_init()