/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
H A D | DbeThread.cc | 94 max_threads = atoi (s); in DbeThreadPool() 95 if (max_threads < 0) in DbeThreadPool() 96 max_threads = 0; in DbeThreadPool() 97 if (_max_threads > 0 && max_threads < _max_threads) in DbeThreadPool() 98 max_threads = _max_threads; in DbeThreadPool() 102 max_threads = _max_threads; in DbeThreadPool() 103 if (max_threads < 0) in DbeThreadPool() 104 max_threads = DBE_NTHREADS_DEFAULT; in DbeThreadPool() 107 __LINE__, _max_threads, max_threads); in DbeThreadPool() 110 threads = new Vector <pthread_t>(max_threads); in DbeThreadPool() [all …]
|
H A D | DbeThread.h | 54 int max_threads; variable
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
H A D | DbeThread.cc | 94 max_threads = atoi (s); in DbeThreadPool() 95 if (max_threads < 0) in DbeThreadPool() 96 max_threads = 0; in DbeThreadPool() 97 if (_max_threads > 0 && max_threads < _max_threads) in DbeThreadPool() 98 max_threads = _max_threads; in DbeThreadPool() 102 max_threads = _max_threads; in DbeThreadPool() 103 if (max_threads < 0) in DbeThreadPool() 104 max_threads = DBE_NTHREADS_DEFAULT; in DbeThreadPool() 107 __LINE__, _max_threads, max_threads); in DbeThreadPool() 110 threads = new Vector <pthread_t>(max_threads); in DbeThreadPool() [all …]
|
H A D | DbeThread.h | 54 int max_threads; variable
|
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
H A D | tpool.c | 229 int max_threads, in ldap_pvt_thread_pool_init_q() argument 240 if (! (0 <= max_threads && max_threads <= LDAP_MAXTHR)) in ldap_pvt_thread_pool_init_q() 241 max_threads = 0; in ldap_pvt_thread_pool_init_q() 271 pool->ltp_conf_max_count = max_threads; in ldap_pvt_thread_pool_init_q() 272 if ( !max_threads ) in ldap_pvt_thread_pool_init_q() 273 max_threads = LDAP_MAXTHR; in ldap_pvt_thread_pool_init_q() 293 rem_thr = max_threads % numqs; in ldap_pvt_thread_pool_init_q() 308 pq->ltp_max_count = max_threads / numqs; in ldap_pvt_thread_pool_init_q() 322 pool->ltp_max_count = max_threads; in ldap_pvt_thread_pool_init_q() 343 int max_threads, in ldap_pvt_thread_pool_init() argument [all …]
|
H A D | thr_debug.c | 1181 int max_threads, in ldap_pvt_thread_pool_init() argument 1188 rc = ldap_int_thread_pool_init( tpool, max_threads, max_pending ); in ldap_pvt_thread_pool_init() 1214 int max_threads ) in ldap_pvt_thread_pool_maxthreads() argument 1217 return ldap_int_thread_pool_maxthreads( tpool, max_threads ); in ldap_pvt_thread_pool_maxthreads()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcsd/ |
H A D | tcsd_threads.c | 46 for (i = 0; i < tm->max_threads; i++) { in tcsd_threads_final() 73 tm->max_threads = tcsd_options.num_threads; in tcsd_threads_init() 111 if (tm->num_active_threads == tm->max_threads) { in tcsd_thread_create() 114 " from %s refused.", tm->max_threads, hostname); in tcsd_thread_create() 117 " refused.", tm->max_threads); in tcsd_thread_create() 128 for (thread_num = 0; thread_num < tm->max_threads; thread_num++) { in tcsd_thread_create() 133 DBG_ASSERT(thread_num != tm->max_threads); in tcsd_thread_create()
|
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
H A D | benchmark_register.cc | 434 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange() argument 436 CHECK_GE(max_threads, min_threads); in ThreadRange() 438 AddRange(&thread_counts_, min_threads, max_threads, 2); in ThreadRange() 442 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange() argument 445 CHECK_GE(max_threads, min_threads); in DenseThreadRange() 448 for (auto i = min_threads; i < max_threads; i += stride) { in DenseThreadRange() 451 thread_counts_.push_back(max_threads); in DenseThreadRange()
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
H A D | benchmark_register.cc | 413 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange() argument 415 CHECK_GE(max_threads, min_threads); in ThreadRange() 417 AddRange(&thread_counts_, min_threads, max_threads, 2); in ThreadRange() 421 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange() argument 424 CHECK_GE(max_threads, min_threads); in DenseThreadRange() 427 for (auto i = min_threads; i < max_threads; i += stride) { in DenseThreadRange() 430 thread_counts_.push_back(max_threads); in DenseThreadRange()
|
/netbsd-src/external/cddl/osnet/lib/libzfs/ |
H A D | thread_pool.c | 223 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, in tpool_create() argument 229 if (min_threads > max_threads || max_threads < 1) { in tpool_create() 244 tpool->tp_maximum = max_threads; in tpool_create()
|
/netbsd-src/external/bsd/openldap/dist/include/ |
H A D | ldap_pvt_thread.h | 200 int max_threads, 206 int max_threads, 237 int max_threads ));
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_rv770.c | 1207 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1227 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1251 rdev->config.rv770.max_threads = 192; in rv770_gpu_init() 1271 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1513 sq_thread_resource_mgmt = (NUM_PS_THREADS((rdev->config.rv770.max_threads * 4)/8) | in rv770_gpu_init() 1514 NUM_VS_THREADS((rdev->config.rv770.max_threads * 2)/8) | in rv770_gpu_init() 1515 NUM_ES_THREADS((rdev->config.rv770.max_threads * 1)/8)); in rv770_gpu_init() 1516 if (((rdev->config.rv770.max_threads * 1) / 8) > rdev->config.rv770.max_gs_threads) in rv770_gpu_init()
|
H A D | radeon_evergreen.c | 3168 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3190 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3212 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3235 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() 3257 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() 3285 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3307 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3329 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3351 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3373 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() [all …]
|
H A D | radeon.h | 2067 unsigned max_threads; member 2089 unsigned max_threads; member 2116 unsigned max_threads; member 2144 unsigned max_threads; member
|
/netbsd-src/external/cddl/osnet/include/ |
H A D | thread_pool.h | 48 extern tpool_t *tpool_create(uint_t min_threads, uint_t max_threads,
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_thread_registry.cc | 103 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() argument 106 max_threads_(max_threads), in ThreadRegistry()
|
H A D | sanitizer_thread_registry.h | 84 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_thread_registry.cpp | 105 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() argument 108 max_threads_(max_threads), in ThreadRegistry()
|
H A D | sanitizer_thread_registry.h | 91 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/ |
H A D | tcsd.h | 163 UINT32 max_threads; member
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_thread_registry.cc | 105 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() argument 108 max_threads_(max_threads), in ThreadRegistry()
|
H A D | sanitizer_thread_registry.h | 86 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
|
/netbsd-src/external/gpl3/gcc/dist/libgomp/plugin/ |
H A D | plugin-gcn.c | 1254 int max_threads = gfx900_workaround_p ? 4 : 16; in parse_target_attributes() local 1261 else if (def->gdims[2] > max_threads) in parse_target_attributes() 1262 def->gdims[2] = max_threads; in parse_target_attributes() 2112 int max_threads = (256 / granulated_vgprs) * 4; in run_kernel() local 2113 if (kla->gdims[2] > max_threads) in run_kernel() 2117 kla->gdims[2], max_threads); in run_kernel() 2118 kla->gdims[2] = max_threads; in run_kernel()
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/include/benchmark/ |
H A D | benchmark.h | 884 Benchmark* ThreadRange(int min_threads, int max_threads); 890 Benchmark* DenseThreadRange(int min_threads, int max_threads, int stride = 1);
|
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/include/benchmark/ |
H A D | benchmark.h | 923 Benchmark* ThreadRange(int min_threads, int max_threads); 929 Benchmark* DenseThreadRange(int min_threads, int max_threads, int stride = 1);
|