Lines Matching refs:pty

90  * (1) trying to send data to the pty, or (2) waiting in wait_until_sent()
91 * for the pty buffer to be drained.
100 * pty_write - write to a pty
108 * the other side of the pty/tty pair.
136 /* Set the lock flag on a pty */
157 /* Set the packet mode on a pty */
179 /* Get the packet mode of a pty */
286 struct tty_struct *pty = tty->link;
295 rpgrp = tty_get_pgrp(pty);
306 pty->winsize = *ws; /* Never used so will go away soon */
317 * Propagates the TIOCPKT status to the master pty.
319 * NB: only the master pty can be in packet mode so only the slave
349 * pty_common_install - set up the pty pair
350 * @driver: the pty driver
354 * Perform the initial set up for the tty/pty pair. Called from the
465 case TIOCSIG: /* Send signal to other side of pty */
495 * The master side of a pty can do TIOCSPTLCK and thus
541 panic("Couldn't allocate pty driver");
548 panic("Couldn't allocate pty slave driver");
551 pty_driver->name = "pty";
580 panic("Couldn't register pty driver");
582 panic("Couldn't register pty slave driver");
593 * ptm_open_peer - open the peer of a pty
595 * @tty: the master of the pty being opened
598 * Provide a race free way for userspace to open the slave end of a pty
656 case TIOCSIG: /* Send signal to other side of pty */
679 * ptm_unix98_lookup - find a pty master
684 * Look up a pty master device. Called under the tty_mutex for now.
696 * pts_unix98_lookup - find a pty slave
701 * Look up a pty master device. Called under the tty_mutex for now.
779 * ptmx_open - open a unix 98 pty master
783 * Allocate a unix98 pty master device from the ptmx driver.
787 * allocated_ptys_lock handles the list of free pty numbers