Lines Matching refs:tty_struct
47 static void pty_close(struct tty_struct *tty, struct file *filp) in pty_close()
93 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle()
111 static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c) in pty_write()
113 struct tty_struct *to = tty->link; in pty_write()
139 static unsigned int pty_write_room(struct tty_struct *tty) in pty_write_room()
147 static int pty_set_lock(struct tty_struct *tty, int __user *arg) in pty_set_lock()
160 static int pty_get_lock(struct tty_struct *tty, int __user *arg) in pty_get_lock()
168 static int pty_set_pktmode(struct tty_struct *tty, int __user *arg) in pty_set_pktmode()
190 static int pty_get_pktmode(struct tty_struct *tty, int __user *arg) in pty_get_pktmode()
198 static int pty_signal(struct tty_struct *tty, int sig) in pty_signal()
214 static void pty_flush_buffer(struct tty_struct *tty) in pty_flush_buffer()
216 struct tty_struct *to = tty->link; in pty_flush_buffer()
230 static int pty_open(struct tty_struct *tty, struct file *filp) in pty_open()
252 static void pty_set_termios(struct tty_struct *tty, in pty_set_termios()
293 static int pty_resize(struct tty_struct *tty, struct winsize *ws) in pty_resize()
296 struct tty_struct *pty = tty->link; in pty_resize()
332 static void pty_start(struct tty_struct *tty) in pty_start()
345 static void pty_stop(struct tty_struct *tty) in pty_stop()
369 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install()
372 struct tty_struct *o_tty; in pty_common_install()
441 static void pty_cleanup(struct tty_struct *tty) in pty_cleanup()
449 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install()
454 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove()
456 struct tty_struct *pair = tty->link; in pty_remove()
463 static int pty_bsd_ioctl(struct tty_struct *tty, in pty_bsd_ioctl()
484 static long pty_bsd_compat_ioctl(struct tty_struct *tty, in pty_bsd_compat_ioctl()
612 int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) in ptm_open_peer()
652 static int pty_unix98_ioctl(struct tty_struct *tty, in pty_unix98_ioctl()
674 static long pty_unix98_compat_ioctl(struct tty_struct *tty, in pty_unix98_compat_ioctl()
698 static struct tty_struct *ptm_unix98_lookup(struct tty_driver *driver, in ptm_unix98_lookup()
715 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup()
718 struct tty_struct *tty; in pts_unix98_lookup()
729 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install()
735 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_remove()
750 static void pty_show_fdinfo(struct tty_struct *tty, struct seq_file *m) in pty_show_fdinfo()
803 struct tty_struct *tty; in ptmx_open()