Searched refs:max_threads (Results 1 - 10 of 10) sorted by relevance
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | thread_pool.h | 44 extern tpool_t *tpool_create(uint_t min_threads, uint_t max_threads,
|
/illumos-gate/usr/src/lib/libc/port/tpool/ |
H A D | thread_pool.c | 236 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, argument 245 if (min_threads > max_threads || max_threads < 1) { 260 if (stacksize < minstack || max_threads != 1) { 280 tpool->tp_maximum = max_threads;
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcbind.c | 1117 int max_threads; local 1133 max_threads = get_smf_iprop("max_threads", 72, 1, INT_MAX); 1134 if (!rpc_control(RPC_SVC_THRMAX_SET, &max_threads)) { 1143 if (tmp != max_threads) { 1144 syslog(LOG_ERR, "setting max_threads to %d failed, " 1145 "using %d worker threads", max_threads, tmp); 1146 max_threads = tmp; 1153 if (max_threads < reserved_threads) 1156 set_rpcb_rmtcalls_max(max_threads [all...] |
/illumos-gate/usr/src/tools/scripts/ |
H A D | wsdiff.py | 1478 max_threads = int(os.environ['DMAKE_MAX_JOBS']) 1480 max_threads = os.sysconf("SC_NPROCESSORS_ONLN") 1484 if max_threads == -1 : 1485 max_threads = 1 1487 max_threads += max_threads/5 1494 # Only at most max_threads must be running at any moment 1496 debug("Spawning " + str(max_threads) + " threads"); 1497 for i in range(max_threads) :
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | wkssvc_svc.c | 139 rb->buf502.max_threads = 1024;
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 81 static uint32_t max_threads = 40; variable 117 if ((num = atomic_inc_32_nv(&num_threads)) > max_threads) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 380 int max_threads = 0; local 418 ret = nfs_smf_get_iprop("mountd_max_threads", &max_threads, 436 "max_threads option, using defaults\n", 440 max_threads = tmp; 596 * If max_threads was specified, then set the 599 if (max_threads > 0 && !rpc_control(RPC_SVC_THRMAX_SET, &max_threads)) { 600 fprintf(stderr, "unable to set max_threads\n");
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_client.c | 1234 uint_t max_threads; local 1250 max_threads = MAX(mi->mi_max_threads, 1); 1288 MAX(mi->mi_max_threads, max_threads)) {
|
H A D | nfs4_client.c | 1125 uint_t max_threads; local 1141 max_threads = MAX(mi->mi_max_threads, 1); 1179 MAX(mi->mi_max_threads, max_threads)) {
|
/illumos-gate/usr/src/uts/common/smbsrv/ndl/ |
H A D | srvsvc.ndl | 1599 DWORD max_threads;
|
Completed in 117 milliseconds