Searched refs:maxusers (Results 1 – 4 of 4) sorted by relevance
79 #define NPROC (20 + 16 * maxusers)84 #define MAXFILES (40 + 32 * maxusers)93 int maxusers; /* base tunable */ variable249 maxusers = MAXUSERS; in init_param2()250 TUNABLE_INT_FETCH("kern.maxusers", &maxusers); in init_param2()251 if (maxusers == 0) { in init_param2()252 maxusers = physpages / (2 * 1024 * 1024 / PAGE_SIZE); in init_param2()253 if (maxusers < 32) in init_param2()254 maxusers = 32; in init_param2()263 if (maxusers > 384) in init_param2()[all …]
46 #define NSFBUFS (512 + maxusers * 16)
120 SYSCTL_INT(_kern, OID_AUTO, maxusers, CTLFLAG_RDTUN | CTLFLAG_NOFETCH,121 &maxusers, 0, "Hint for kernel tuning");
73 extern int maxusers; /* system tune hint */