Searched refs:maxusers (Results 1 - 9 of 9) sorted by relevance

/freebsd-12-stable/sys/conf/
H A DmakeLINT.sed4 /^(machine|files|ident|(no)?device|(no)?makeoption(s)?|(no)?option(s)?|profile|cpu|maxusers)[[:space:]]/ {
/freebsd-12-stable/sys/kern/
H A Dsubr_param.c76 #define NPROC (20 + 16 * maxusers)
81 #define MAXFILES (40 + 32 * maxusers)
90 int maxusers; /* base tunable */ variable
238 maxusers = MAXUSERS;
239 TUNABLE_INT_FETCH("kern.maxusers", &maxusers);
240 if (maxusers == 0) {
241 maxusers = physpages / (2 * 1024 * 1024 / PAGE_SIZE);
242 if (maxusers < 32)
243 maxusers
[all...]
H A Dsubr_sfbuf.c46 #define NSFBUFS (512 + maxusers * 16)
H A Dkern_mib.c118 SYSCTL_INT(_kern, OID_AUTO, maxusers, CTLFLAG_RDTUN | CTLFLAG_NOFETCH,
119 &maxusers, 0, "Hint for kernel tuning");
/freebsd-12-stable/usr.sbin/config/
H A Dmkoptions.c81 if (maxusers == 0) {
82 /* fprintf(stderr, "maxusers not specified; will auto-size\n"); */
83 } else if (maxusers < users.u_min) {
84 fprintf(stderr, "minimum of %d maxusers assumed\n",
86 maxusers = users.u_min;
87 } else if (maxusers > users.u_max)
88 fprintf(stderr, "warning: maxusers > %d (%d)\n",
89 users.u_max, maxusers);
96 snprintf(buf, sizeof(buf), "%d", maxusers);
H A Dconfig.h216 extern int maxusers;
H A Dconfig.y91 int maxusers;
191 MAXUSERS NUMBER { maxusers = $2; } |
/freebsd-12-stable/sys/i386/i386/
H A Dvm_machdep.c90 #define NSFBUFS (512 + maxusers * 16)
/freebsd-12-stable/sys/sys/
H A Dsystm.h70 extern int maxusers; /* system tune hint */

Completed in 196 milliseconds