Searched refs:max_threads (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/tpool/ |
H A D | thread_pool.c | 234 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, in tpool_create() argument 243 if (min_threads > max_threads || max_threads < 1) { in tpool_create() 258 if (stacksize < minstack || max_threads != 1) { in tpool_create() 278 tpool->tp_maximum = max_threads; in tpool_create()
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcbind.c | 1117 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()
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 83 static uint32_t max_threads = 40; variable 120 if ((num = atomic_inc_32_nv(&num_threads)) > max_threads) { in idmapd_door_thread_create() 389 max_threads = _idmapdstate.cfg->pgcfg.max_threads; in init_idmapd()
|
H A D | idmap_config.h | 79 uint64_t max_threads; member
|
H A D | idmap_config.c | 1696 &pgcfg->max_threads, SCF_TYPE_COUNT); in idmap_cfg_load_smf() 1699 if (pgcfg->max_threads == 0) in idmap_cfg_load_smf() 1700 pgcfg->max_threads = MAX_THREADS_DEFAULT; in idmap_cfg_load_smf() 1701 if (pgcfg->max_threads > UINT_MAX) in idmap_cfg_load_smf() 1702 pgcfg->max_threads = UINT_MAX; in idmap_cfg_load_smf() 2348 changed += update_uint64(&live_pgcfg->max_threads, in idmap_cfg_load() 2349 &new_pgcfg.max_threads, "max_threads"); in idmap_cfg_load()
|
H A D | init.c | 351 idmapdlog(LOG_DEBUG, "max_threads=%llu", pgcfg->max_threads); in print_idmapdstate()
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | wsdiff.py | 1559 max_threads = int(os.environ['DMAKE_MAX_JOBS']) 1561 max_threads = os.sysconf("SC_NPROCESSORS_ONLN") 1565 if max_threads == -1 : 1566 max_threads = 1 1568 max_threads += int(max_threads/5) 1577 debug("Spawning " + str(max_threads) + " threads"); 1578 for i in range(max_threads) :
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | thread_pool.h | 42 extern tpool_t *tpool_create(uint_t min_threads, uint_t max_threads,
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | wkssvc_svc.c | 139 rb->buf502.max_threads = 1024; in wkssvc_s_NetWkstaGetInfo()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 449 int max_threads = 0; in main() local 494 ret = nfs_smf_get_iprop("mountd_max_threads", &max_threads, in main() 527 max_threads = tmp; in main() 694 if (max_threads > 0 && !rpc_control(RPC_SVC_THRMAX_SET, &max_threads)) { in main()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_client.c | 1242 uint_t max_threads; in nfs_async_manager() local 1258 max_threads = MAX(mi->mi_max_threads, 1); in nfs_async_manager() 1296 MAX(mi->mi_max_threads, max_threads)) { in nfs_async_manager()
|
H A D | nfs4_client.c | 1108 uint_t max_threads; in nfs4_async_manager() local 1124 max_threads = MAX(mi->mi_max_threads, 1); in nfs4_async_manager() 1162 MAX(mi->mi_max_threads, max_threads)) { in nfs4_async_manager()
|
/illumos-gate/usr/src/uts/common/smbsrv/ndl/ |
H A D | srvsvc.ndl | 1601 DWORD max_threads;
|