Lines Matching defs:tty
115 # define tty_debug_hangup(tty, f, args...) tty_debug(tty, f, ##args) argument
117 # define tty_debug_hangup(tty, f, args...) do { } while (0) argument
168 static void free_tty_struct(struct tty_struct *tty) in free_tty_struct()
195 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file()
226 struct tty_struct *tty = priv->tty; in tty_del_file() local
243 const char *tty_name(const struct tty_struct *tty) in tty_name()
251 const char *tty_driver_name(const struct tty_struct *tty) in tty_driver_name()
258 static int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, in tty_paranoia_check()
272 static int check_tty_count(struct tty_struct *tty, const char *routine) in check_tty_count()
459 struct tty_struct *tty = file_tty(file); in tty_show_fdinfo() local
516 void tty_wakeup(struct tty_struct *tty) in tty_wakeup()
539 static struct file *tty_release_redirect(struct tty_struct *tty) in tty_release_redirect()
578 static void __tty_hangup(struct tty_struct *tty, int exit_session) in __tty_hangup()
670 struct tty_struct *tty = in do_tty_hangup() local
683 void tty_hangup(struct tty_struct *tty) in tty_hangup()
698 void tty_vhangup(struct tty_struct *tty) in tty_vhangup()
713 struct tty_struct *tty; in tty_vhangup_self() local
732 void tty_vhangup_session(struct tty_struct *tty) in tty_vhangup_session()
750 void __stop_tty(struct tty_struct *tty) in __stop_tty()
773 void stop_tty(struct tty_struct *tty) in stop_tty()
783 void __start_tty(struct tty_struct *tty) in __start_tty()
804 void start_tty(struct tty_struct *tty) in start_tty()
839 static int iterate_tty_read(struct tty_ldisc *ld, struct tty_struct *tty, in iterate_tty_read()
911 struct tty_struct *tty = file_tty(file); in tty_read() local
936 static void tty_write_unlock(struct tty_struct *tty) in tty_write_unlock()
942 static int tty_write_lock(struct tty_struct *tty, int ndelay) in tty_write_lock()
959 struct tty_struct *tty, in do_tty_write()
1058 void tty_write_message(struct tty_struct *tty, char *msg) in tty_write_message()
1072 struct tty_struct *tty = file_tty(file); in file_tty_write() local
1145 int tty_send_xchar(struct tty_struct *tty, char ch) in tty_send_xchar()
1225 struct tty_struct *tty; in tty_driver_lookup_tty() local
1249 void tty_init_termios(struct tty_struct *tty) in tty_init_termios()
1279 int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) in tty_standard_install()
1301 struct tty_struct *tty) in tty_driver_install_tty()
1317 static void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) in tty_driver_remove_tty()
1334 static int tty_reopen(struct tty_struct *tty) in tty_reopen()
1394 struct tty_struct *tty; in tty_init_dev() local
1470 void tty_save_termios(struct tty_struct *tty) in tty_save_termios()
1497 static void tty_flush_works(struct tty_struct *tty) in tty_flush_works()
1524 struct tty_struct *tty = in release_one_tty() local
1546 struct tty_struct *tty = container_of(kref, struct tty_struct, kref); in queue_release_one_tty() local
1562 void tty_kref_put(struct tty_struct *tty) in tty_kref_put()
1582 static void release_tty(struct tty_struct *tty, int idx) in release_tty()
1612 static int tty_release_checks(struct tty_struct *tty, int idx) in tty_release_checks()
1654 void tty_kclose(struct tty_struct *tty) in tty_kclose()
1684 void tty_release_struct(struct tty_struct *tty, int idx) in tty_release_struct()
1725 struct tty_struct *tty = file_tty(filp); in tty_release() local
1877 struct tty_struct *tty; in tty_open_current_tty() local
1954 struct tty_struct *tty; in tty_kopen() local
2040 struct tty_struct *tty; in tty_open_by_driver() local
2114 struct tty_struct *tty; in tty_open() local
2196 struct tty_struct *tty = file_tty(filp); in tty_poll() local
2214 struct tty_struct *tty = file_tty(filp); in __tty_fasync() local
2249 struct tty_struct *tty = file_tty(filp); in tty_fasync() local
2274 static int tiocsti(struct tty_struct *tty, char __user *p) in tiocsti()
2308 static int tiocgwinsz(struct tty_struct *tty, struct winsize __user *arg) in tiocgwinsz()
2327 int tty_do_resize(struct tty_struct *tty, struct winsize *ws) in tty_do_resize()
2363 static int tiocswinsz(struct tty_struct *tty, struct winsize __user *arg) in tiocswinsz()
2424 static int tiocsetd(struct tty_struct *tty, int __user *p) in tiocsetd()
2447 static int tiocgetd(struct tty_struct *tty, int __user *p) in tiocgetd()
2471 static int send_break(struct tty_struct *tty, unsigned int duration) in send_break()
2508 static int tty_tiocmget(struct tty_struct *tty, int __user *p) in tty_tiocmget()
2532 static int tty_tiocmset(struct tty_struct *tty, unsigned int cmd, in tty_tiocmset()
2571 int tty_get_icount(struct tty_struct *tty, in tty_get_icount()
2583 static int tty_tiocgicount(struct tty_struct *tty, void __user *arg) in tty_tiocgicount()
2597 static int tty_set_serial(struct tty_struct *tty, struct serial_struct *ss) in tty_set_serial()
2614 static int tty_tiocsserial(struct tty_struct *tty, struct serial_struct __user *ss) in tty_tiocsserial()
2624 static int tty_tiocgserial(struct tty_struct *tty, struct serial_struct __user *ss) in tty_tiocgserial()
2642 static struct tty_struct *tty_pair_get_tty(struct tty_struct *tty) in tty_pair_get_tty()
2655 struct tty_struct *tty = file_tty(file); in tty_ioctl() local
2818 static int compat_tty_tiocsserial(struct tty_struct *tty, in compat_tty_tiocsserial()
2836 static int compat_tty_tiocgserial(struct tty_struct *tty, in compat_tty_tiocgserial()
2863 struct tty_struct *tty = file_tty(file); in tty_compat_ioctl() local
3001 void __do_SAK(struct tty_struct *tty) in __do_SAK()
3049 struct tty_struct *tty = in do_SAK_work() local
3060 void do_SAK(struct tty_struct *tty) in do_SAK()
3069 static struct device *tty_get_device(struct tty_struct *tty) in tty_get_device()
3088 struct tty_struct *tty; in alloc_tty_struct() local
3138 int tty_put_char(struct tty_struct *tty, unsigned char ch) in tty_put_char()
3492 dev_t tty_devnum(struct tty_struct *tty) in tty_devnum()