Lines Matching defs:tty
110 # define tty_debug_hangup(tty, f, args...) tty_debug(tty, f, ##args) argument
112 # define tty_debug_hangup(tty, f, args...) do { } while (0) argument
167 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()
225 struct tty_struct *tty = priv->tty; in tty_del_file() local
243 const char *tty_name(const struct tty_struct *tty) in tty_name()
252 const char *tty_driver_name(const struct tty_struct *tty) in tty_driver_name()
259 static int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, in tty_paranoia_check()
278 static int check_tty_count(struct tty_struct *tty, const char *routine) in check_tty_count()
396 int __tty_check_change(struct tty_struct *tty, int sig) in __tty_check_change()
432 int tty_check_change(struct tty_struct *tty) in tty_check_change()
515 struct tty_struct *tty; in proc_clear_tty() local
533 static void __proc_set_tty(struct tty_struct *tty) in __proc_set_tty()
557 static void proc_set_tty(struct tty_struct *tty) in proc_set_tty()
566 struct tty_struct *tty; in get_current_tty() local
593 void tty_wakeup(struct tty_struct *tty) in tty_wakeup()
622 static int tty_signal_session_leader(struct tty_struct *tty, int exit_session) in tty_signal_session_leader()
686 static void __tty_hangup(struct tty_struct *tty, int exit_session) in __tty_hangup()
783 struct tty_struct *tty = in do_tty_hangup() local
797 void tty_hangup(struct tty_struct *tty) in tty_hangup()
814 void tty_vhangup(struct tty_struct *tty) in tty_vhangup()
831 struct tty_struct *tty; in tty_vhangup_self() local
851 static void tty_vhangup_session(struct tty_struct *tty) in tty_vhangup_session()
899 struct tty_struct *tty; in disassociate_ctty() local
989 void __stop_tty(struct tty_struct *tty) in __stop_tty()
998 void stop_tty(struct tty_struct *tty) in stop_tty()
1020 void __start_tty(struct tty_struct *tty) in __start_tty()
1030 void start_tty(struct tty_struct *tty) in start_tty()
1074 struct tty_struct *tty = file_tty(file); in tty_read() local
1099 static void tty_write_unlock(struct tty_struct *tty) in tty_write_unlock()
1105 static int tty_write_lock(struct tty_struct *tty, int ndelay) in tty_write_lock()
1122 struct tty_struct *tty, in do_tty_write()
1215 void tty_write_message(struct tty_struct *tty, char *msg) in tty_write_message()
1248 struct tty_struct *tty = file_tty(file); in tty_write() local
1297 int tty_send_xchar(struct tty_struct *tty, char ch) in tty_send_xchar()
1377 struct tty_struct *tty; in tty_driver_lookup_tty() local
1397 void tty_init_termios(struct tty_struct *tty) in tty_init_termios()
1419 int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) in tty_standard_install()
1442 struct tty_struct *tty) in tty_driver_install_tty()
1458 static void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) in tty_driver_remove_tty()
1475 static int tty_reopen(struct tty_struct *tty) in tty_reopen()
1523 struct tty_struct *tty; in tty_init_dev() local
1590 static void tty_free_termios(struct tty_struct *tty) in tty_free_termios()
1616 static void tty_flush_works(struct tty_struct *tty) in tty_flush_works()
1643 struct tty_struct *tty = in release_one_tty() local
1666 struct tty_struct *tty = container_of(kref, struct tty_struct, kref); in queue_release_one_tty() local
1682 void tty_kref_put(struct tty_struct *tty) in tty_kref_put()
1701 static void release_tty(struct tty_struct *tty, int idx) in release_tty()
1730 static int tty_release_checks(struct tty_struct *tty, int idx) in tty_release_checks()
1785 struct tty_struct *tty = file_tty(filp); in tty_release() local
1953 struct tty_struct *tty; in tty_open_current_tty() local
2042 struct tty_struct *tty; in tty_open_by_driver() local
2111 struct tty_struct *tty; in tty_open() local
2220 struct tty_struct *tty = file_tty(filp); in tty_poll() local
2238 struct tty_struct *tty = file_tty(filp); in __tty_fasync() local
2273 struct tty_struct *tty = file_tty(filp); in tty_fasync() local
2301 static int tiocsti(struct tty_struct *tty, char __user *p) in tiocsti()
2330 static int tiocgwinsz(struct tty_struct *tty, struct winsize __user *arg) in tiocgwinsz()
2351 int tty_do_resize(struct tty_struct *tty, struct winsize *ws) in tty_do_resize()
2388 static int tiocswinsz(struct tty_struct *tty, struct winsize __user *arg) in tiocswinsz()
2475 static int tiocsctty(struct tty_struct *tty, struct file *file, int arg) in tiocsctty()
2531 struct pid *tty_get_pgrp(struct tty_struct *tty) in tty_get_pgrp()
2577 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp()
2605 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp()
2653 static int tiocgsid(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgsid()
2676 static int tiocsetd(struct tty_struct *tty, int __user *p) in tiocsetd()
2700 static int tiocgetd(struct tty_struct *tty, int __user *p) in tiocgetd()
2726 static int send_break(struct tty_struct *tty, unsigned int duration) in send_break()
2765 static int tty_tiocmget(struct tty_struct *tty, int __user *p) in tty_tiocmget()
2790 static int tty_tiocmset(struct tty_struct *tty, unsigned int cmd, in tty_tiocmset()
2820 static int tty_tiocgicount(struct tty_struct *tty, void __user *arg) in tty_tiocgicount()
2856 static struct tty_struct *tty_pair_get_tty(struct tty_struct *tty) in tty_pair_get_tty()
2869 struct tty_struct *tty = file_tty(file); in tty_ioctl() local
3021 struct tty_struct *tty = file_tty(file); in tty_compat_ioctl() local
3073 void __do_SAK(struct tty_struct *tty) in __do_SAK()
3121 struct tty_struct *tty = in do_SAK_work() local
3132 void do_SAK(struct tty_struct *tty) in do_SAK()
3148 static struct device *tty_get_device(struct tty_struct *tty) in tty_get_device()
3165 struct tty_struct *tty; in alloc_tty_struct() local
3212 int tty_put_char(struct tty_struct *tty, unsigned char ch) in tty_put_char()
3572 dev_t tty_devnum(struct tty_struct *tty) in tty_devnum()