npty               88 kern/tty_pty.c static int npty = 0;				/* size of pty array */
npty              172 kern/tty_pty.c 	if (minor >= npty) {
npty              181 kern/tty_pty.c 		for (newnpty = npty; newnpty <= minor; newnpty *= 2)
npty              188 kern/tty_pty.c 		if (maxptys == npty) {
npty              192 kern/tty_pty.c 		memcpy(newpt, pt_softc, npty * sizeof(struct pt_softc *));
npty              195 kern/tty_pty.c 		npty = newnpty;
npty              227 kern/tty_pty.c 	npty = n;
npty              949 kern/tty_pty.c 		if (error == 0 && (maxptys > NPTY_MAX || maxptys < npty)) {
npty              956 kern/tty_pty.c 		return (sysctl_rdint(oldp, oldlenp, newp, npty));
npty              995 kern/tty_pty.c 	for (i = 0; i < npty; i++) {