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

/darwin-on-arm/xnu/bsd/kern/
H A Dtty_ptmx.c212 static int ptmx_max = PTMX_MAX_DEFAULT; /* default # of clones we allow */ variable
220 int error = sysctl_io_number(req, ptmx_max, sizeof(int), &new_value, &changed);
223 ptmx_max = new_value;
231 SYSCTL_PROC(_kern_tty, OID_AUTO, ptmx_max,
233 &ptmx_max, 0, &sysctl_ptmx_max, "I", "ptmx_max");
375 if ((_state.pis_total - _state.pis_free) >= ptmx_max) {

Completed in 21 milliseconds