Lines Matching refs:pty

91  * (1) trying to send data to the pty, or (2) waiting in wait_until_sent()
92 * for the pty buffer to be drained.
101 * pty_write - write to a pty
109 * the other side of the pty/tty pair.
150 /* Set the lock flag on a pty */
169 /* Set the packet mode on a pty */
191 /* Get the packet mode of a pty */
297 struct tty_struct *pty = tty->link;
306 rpgrp = tty_get_pgrp(pty);
317 pty->winsize = *ws; /* Never used so will go away soon */
328 * Propagates the TIOCPKT status to the master pty.
330 * NB: only the master pty can be in packet mode so only the slave
360 * pty_common_install - set up the pty pair
361 * @driver: the pty driver
365 * Perform the initial set up for the tty/pty pair. Called from the
475 case TIOCSIG: /* Send signal to other side of pty */
505 * The master side of a pty can do TIOCSPTLCK and thus
553 panic("Couldn't allocate pty driver");
560 panic("Couldn't allocate pty slave driver");
563 pty_driver->name = "pty";
592 panic("Couldn't register pty driver");
594 panic("Couldn't register pty slave driver");
605 * ptm_open_peer - open the peer of a pty
607 * @tty: the master of the pty being opened
610 * Provide a race free way for userspace to open the slave end of a pty
668 case TIOCSIG: /* Send signal to other side of pty */
691 * ptm_unix98_lookup - find a pty master
695 * Look up a pty master device. Called under the tty_mutex for now.
707 * pts_unix98_lookup - find a pty slave
711 * Look up a pty master device. Called under the tty_mutex for now.
791 * ptmx_open - open a unix 98 pty master
795 * Allocate a unix98 pty master device from the ptmx driver.
799 * allocated_ptys_lock handles the list of free pty numbers