Lines Matching defs:tty
36 # define tty_debug_hangup(tty, f, args...) tty_debug(tty, f, ##args) argument
38 # define tty_debug_hangup(tty, f, args...) do {} while (0) argument
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 ssize_t pty_write(struct tty_struct *tty, const u8 *buf, size_t c) in pty_write()
129 static unsigned int pty_write_room(struct tty_struct *tty) in pty_write_room()
137 static int pty_set_lock(struct tty_struct *tty, int __user *arg) in pty_set_lock()
150 static int pty_get_lock(struct tty_struct *tty, int __user *arg) in pty_get_lock()
158 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()
220 static int pty_open(struct tty_struct *tty, struct file *filp) in pty_open()
242 static void pty_set_termios(struct tty_struct *tty, in pty_set_termios()
283 static int pty_resize(struct tty_struct *tty, struct winsize *ws) in pty_resize()
322 static void pty_start(struct tty_struct *tty) in pty_start()
335 static void pty_stop(struct tty_struct *tty) in pty_stop()
359 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install()
431 static void pty_cleanup(struct tty_struct *tty) in pty_cleanup()
439 static int pty_install(struct tty_driver *driver, struct tty_struct *tty) in pty_install()
444 static void pty_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_remove()
453 static int pty_bsd_ioctl(struct tty_struct *tty, in pty_bsd_ioctl()
474 static long pty_bsd_compat_ioctl(struct tty_struct *tty, in pty_bsd_compat_ioctl()
602 int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) in ptm_open_peer()
642 static int pty_unix98_ioctl(struct tty_struct *tty, in pty_unix98_ioctl()
664 static long pty_unix98_compat_ioctl(struct tty_struct *tty, in pty_unix98_compat_ioctl()
708 struct tty_struct *tty; in pts_unix98_lookup() local
719 static int pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_install()
725 static void pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) in pty_unix98_remove()
740 static void pty_show_fdinfo(struct tty_struct *tty, struct seq_file *m) in pty_show_fdinfo()
793 struct tty_struct *tty; in ptmx_open() local