Searched refs:maxusers (Results 1 - 9 of 9) sorted by relevance
/freebsd-12-stable/sys/conf/ |
H A D | makeLINT.sed | 4 /^(machine|files|ident|(no)?device|(no)?makeoption(s)?|(no)?option(s)?|profile|cpu|maxusers)[[:space:]]/ {
|
/freebsd-12-stable/sys/kern/ |
H A D | subr_param.c | 76 #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 D | subr_sfbuf.c | 46 #define NSFBUFS (512 + maxusers * 16)
|
H A D | kern_mib.c | 118 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 D | mkoptions.c | 81 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 D | config.h | 216 extern int maxusers;
|
H A D | config.y | 91 int maxusers; 191 MAXUSERS NUMBER { maxusers = $2; } |
|
/freebsd-12-stable/sys/i386/i386/ |
H A D | vm_machdep.c | 90 #define NSFBUFS (512 + maxusers * 16)
|
/freebsd-12-stable/sys/sys/ |
H A D | systm.h | 70 extern int maxusers; /* system tune hint */
|
Completed in 196 milliseconds