Searched refs:maxptys (Results 1 – 2 of 2) sorted by relevance
81 static int maxptys = DEFAULT_MAXPTYS; /* maximum number of ptys (sysctable) */ variable232 if (ptn >= maxptys) { in pty_check()241 if (newnpty > maxptys) in pty_check()242 newnpty = maxptys; in pty_check()253 if (newnpty >= maxptys) { in pty_check()255 if (ptn >= maxptys) { in pty_check()260 newnpty = maxptys; in pty_check()327 return maxptys; in pty_maxptys()340 maxptys = newmax; in pty_maxptys()
5974 kern.maxptys, kernel pty resources are allocated on demand.