Lines Matching refs:tty_struct

47 static void pty_close(struct tty_struct *tty, struct file *filp)  in pty_close()
91 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle()
109 static ssize_t pty_write(struct tty_struct *tty, const u8 *buf, size_t c) in pty_write()
111 struct tty_struct *to = tty->link; in pty_write()
127 static unsigned int pty_write_room(struct tty_struct *tty) in pty_write_room()
135 static int pty_set_lock(struct tty_struct *tty, int __user *arg) in pty_set_lock()
148 static int pty_get_lock(struct tty_struct *tty, int __user *arg) in pty_get_lock()
156 static int pty_set_pktmode(struct tty_struct *tty, int __user *arg) in pty_set_pktmode()
180 static int pty_get_pktmode(struct tty_struct *tty, int __user *arg) in pty_get_pktmode()
188 static int pty_signal(struct tty_struct *tty, int sig) in pty_signal()
204 static void pty_flush_buffer(struct tty_struct *tty) in pty_flush_buffer()
206 struct tty_struct *to = tty->link; in pty_flush_buffer()
219 static int pty_open(struct tty_struct *tty, struct file *filp) in pty_open()
241 static void pty_set_termios(struct tty_struct *tty, in pty_set_termios()
282 static int pty_resize(struct tty_struct *tty, struct winsize *ws) in pty_resize()
285 struct tty_struct *pty = tty->link; in pty_resize()
320 static void pty_start(struct tty_struct *tty) in pty_start()
332 static void pty_stop(struct tty_struct *tty) in pty_stop()
355 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install()
358 struct tty_struct *o_tty; in pty_common_install()
427 static void pty_cleanup(struct tty_struct *tty) in pty_cleanup()
435 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install()
440 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove()
442 struct tty_struct *pair = tty->link; in pty_remove()
449 static int pty_bsd_ioctl(struct tty_struct *tty, in pty_bsd_ioctl()
470 static long pty_bsd_compat_ioctl(struct tty_struct *tty, in pty_bsd_compat_ioctl()
589 struct tty_struct *tty, int flags) in ptm_open_peer_file()
615 int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) in ptm_open_peer()
623 static int pty_unix98_ioctl(struct tty_struct *tty, in pty_unix98_ioctl()
645 static long pty_unix98_compat_ioctl(struct tty_struct *tty, in pty_unix98_compat_ioctl()
669 static struct tty_struct *ptm_unix98_lookup(struct tty_driver *driver, in ptm_unix98_lookup()
686 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup()
694 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install()
700 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_remove()
715 static void pty_show_fdinfo(struct tty_struct *tty, struct seq_file *m) in pty_show_fdinfo()
768 struct tty_struct *tty; in ptmx_open()