Searched defs:max_threads (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/tpool/
H A Dthread_pool.c236 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/idmap/idmapd/
H A Didmapd.c81 static uint32_t max_threads = 40; variable
117 if ((num = atomic_inc_32_nv(&num_threads)) > max_threads) {
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcbind.c1117 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/uts/common/fs/nfs/
H A Dnfs_client.c1234 uint_t max_threads; local
1250 max_threads = MAX(mi->mi_max_threads, 1);
1288 MAX(mi->mi_max_threads, max_threads)) {
H A Dnfs4_client.c1125 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/cmd/fs.d/nfs/mountd/
H A Dmountd.c380 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");

Completed in 97 milliseconds