Searched refs:ptmx_max (Results 1 – 1 of 1) sorted by relevance
| /xnu-10063.141.1/bsd/kern/ |
| H A D | tty_ptmx.c | 168 static int ptmx_max = PTMX_MAX_DEFAULT; /* default # of clones we allow */ variable 176 int error = sysctl_io_number(req, ptmx_max, sizeof(int), &new_value, &changed); in sysctl_ptmx_max() 179 ptmx_max = new_value; in sysctl_ptmx_max() 188 SYSCTL_PROC(_kern_tty, OID_AUTO, ptmx_max, 190 &ptmx_max, 0, &sysctl_ptmx_max, "I", "ptmx_max"); 287 if ((_state.pis_total - _state.pis_free) >= ptmx_max) { in ptmx_get_ioctl() 313 if ((_state.pis_total - _state.pis_free) >= ptmx_max) { in ptmx_get_ioctl()
|