Lines Matching refs:tty_struct

45 static void pty_close(struct tty_struct *tty, struct file *filp)  in pty_close()
92 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle()
110 static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c) in pty_write()
112 struct tty_struct *to = tty->link; in pty_write()
138 static int pty_write_room(struct tty_struct *tty) in pty_write_room()
153 static int pty_chars_in_buffer(struct tty_struct *tty) in pty_chars_in_buffer()
159 static int pty_set_lock(struct tty_struct *tty, int __user *arg) in pty_set_lock()
171 static int pty_get_lock(struct tty_struct *tty, int __user *arg) in pty_get_lock()
178 static int pty_set_pktmode(struct tty_struct *tty, int __user *arg) in pty_set_pktmode()
200 static int pty_get_pktmode(struct tty_struct *tty, int __user *arg) in pty_get_pktmode()
207 static int pty_signal(struct tty_struct *tty, int sig) in pty_signal()
223 static void pty_flush_buffer(struct tty_struct *tty) in pty_flush_buffer()
225 struct tty_struct *to = tty->link; in pty_flush_buffer()
239 static int pty_open(struct tty_struct *tty, struct file *filp) in pty_open()
261 static void pty_set_termios(struct tty_struct *tty, in pty_set_termios()
302 static int pty_resize(struct tty_struct *tty, struct winsize *ws) in pty_resize()
305 struct tty_struct *pty = tty->link; in pty_resize()
341 static void pty_start(struct tty_struct *tty) in pty_start()
354 static void pty_stop(struct tty_struct *tty) in pty_stop()
378 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install()
381 struct tty_struct *o_tty; in pty_common_install()
450 static void pty_cleanup(struct tty_struct *tty) in pty_cleanup()
458 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install()
463 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove()
465 struct tty_struct *pair = tty->link; in pty_remove()
471 static int pty_bsd_ioctl(struct tty_struct *tty, in pty_bsd_ioctl()
491 static long pty_bsd_compat_ioctl(struct tty_struct *tty, in pty_bsd_compat_ioctl()
618 int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) in ptm_open_peer()
658 static int pty_unix98_ioctl(struct tty_struct *tty, in pty_unix98_ioctl()
679 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()
714 static struct tty_struct *pts_unix98_lookup(struct tty_driver *driver, in pts_unix98_lookup()
717 struct tty_struct *tty; in pts_unix98_lookup()
728 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install()
734 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_remove()
749 static void pty_show_fdinfo(struct tty_struct *tty, struct seq_file *m) in pty_show_fdinfo()
804 struct tty_struct *tty; in ptmx_open()