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

/xnu-2422.115.4/bsd/kern/
H A Dtty_ptmx.c217 static int ptmx_max = PTMX_MAX_DEFAULT; /* default # of clones we allow */ variable
225 int error = sysctl_io_number(req, ptmx_max, sizeof(int), &new_value, &changed);
228 ptmx_max = new_value;
236 SYSCTL_PROC(_kern_tty, OID_AUTO, ptmx_max,
238 &ptmx_max, 0, &sysctl_ptmx_max, "I", "ptmx_max");
380 if ((_state.pis_total - _state.pis_free) >= ptmx_max) {

Completed in 22 milliseconds