Home
last modified time | relevance | path

Searched refs:max_threads (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/lib/libc/port/tpool/
H A Dthread_pool.c236 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, in tpool_create() argument
245 if (min_threads > max_threads || max_threads < 1) { in tpool_create()
260 if (stacksize < minstack || max_threads != 1) { in tpool_create()
280 tpool->tp_maximum = max_threads; in tpool_create()
/titanic_41/usr/src/cmd/rpcbind/
H A Drpcbind.c1117 int max_threads; in rpcb_check_init() local
1133 max_threads = get_smf_iprop("max_threads", 72, 1, INT_MAX); in rpcb_check_init()
1134 if (!rpc_control(RPC_SVC_THRMAX_SET, &max_threads)) { in rpcb_check_init()
1143 if (tmp != max_threads) { in rpcb_check_init()
1145 "using %d worker threads", max_threads, tmp); in rpcb_check_init()
1146 max_threads = tmp; in rpcb_check_init()
1153 if (max_threads < reserved_threads) in rpcb_check_init()
1156 set_rpcb_rmtcalls_max(max_threads - reserved_threads); in rpcb_check_init()
/titanic_41/usr/src/tools/scripts/
H A Dwsdiff.py1478 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
1496 debug("Spawning " + str(max_threads) + " threads");
1497 for i in range(max_threads) :
/titanic_41/usr/src/lib/libc/inc/
H A Dthread_pool.h44 extern tpool_t *tpool_create(uint_t min_threads, uint_t max_threads,
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Didmapd.c74 static uint32_t max_threads = 40; variable
110 if ((num = atomic_inc_32_nv(&num_threads)) > max_threads) { in idmapd_door_thread_create()
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dwkssvc_svc.c139 rb->buf502.max_threads = 1024; in wkssvc_s_NetWkstaGetInfo()
/titanic_41/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c380 int max_threads = 0; in main() local
418 ret = nfs_smf_get_iprop("mountd_max_threads", &max_threads, in main()
440 max_threads = tmp; in main()
599 if (max_threads > 0 && !rpc_control(RPC_SVC_THRMAX_SET, &max_threads)) { in main()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_client.c1234 uint_t max_threads; in nfs_async_manager() local
1250 max_threads = MAX(mi->mi_max_threads, 1); in nfs_async_manager()
1288 MAX(mi->mi_max_threads, max_threads)) { in nfs_async_manager()
H A Dnfs4_client.c1107 uint_t max_threads; in nfs4_async_manager() local
1123 max_threads = MAX(mi->mi_max_threads, 1); in nfs4_async_manager()
1161 MAX(mi->mi_max_threads, max_threads)) { in nfs4_async_manager()
/titanic_41/usr/src/uts/common/smbsrv/ndl/
H A Dsrvsvc.ndl1599 DWORD max_threads;