Lines Matching defs:pty
2 * linux/drivers/char/pty.c
78 * (1) trying to send data to the pty, or (2) waiting in wait_until_sent()
79 * for the pty buffer to be drained.
105 * pty_write - write to a pty
113 * the other side of the pty/tty pair.
163 /* Set the lock flag on a pty */
250 struct tty_struct *pty = tty->link;
265 spin_lock_irqsave(&pty->ctrl_lock, flags);
266 rpgrp = get_pid(pty->pgrp);
267 spin_unlock_irqrestore(&pty->ctrl_lock, flags);
278 pty->winsize = *ws; /* Never used so will go away soon */
342 case TIOCSIG: /* Send signal to other side of pty */
352 * The master side of a pty can do TIOCSPTLCK and thus
391 panic("Couldn't allocate pty driver");
395 panic("Couldn't allocate pty slave driver");
399 pty_driver->name = "pty";
432 panic("Couldn't register pty driver");
434 panic("Couldn't register pty slave driver");
474 .procname = "pty",
499 case TIOCSIG: /* Send signal to other side of pty */
507 * ptm_unix98_lookup - find a pty master
511 * Look up a pty master device. Called under the tty_mutex for now.
525 * pts_unix98_lookup - find a pty slave
529 * Look up a pty master device. Called under the tty_mutex for now.
640 * ptmx_open - open a unix 98 pty master
644 * Allocate a unix98 pty master device from the ptmx driver.
648 * allocated_ptys_lock handles the list of free pty numbers