Lines Matching defs:tty

183 void free_tty_struct(struct tty_struct *tty)  in free_tty_struct()
211 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file()
249 #define TTY_NUMBER(tty) ((tty)->index + (tty)->driver->name_base) argument
262 char *tty_name(struct tty_struct *tty, char *buf) in tty_name()
273 int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, in tty_paranoia_check()
293 static int check_tty_count(struct tty_struct *tty, const char *routine) in check_tty_count()
406 int tty_check_change(struct tty_struct *tty) in tty_check_change()
517 void tty_wakeup(struct tty_struct *tty) in tty_wakeup()
556 void __tty_hangup(struct tty_struct *tty) in __tty_hangup()
678 struct tty_struct *tty = in do_tty_hangup() local
692 void tty_hangup(struct tty_struct *tty) in tty_hangup()
712 void tty_vhangup(struct tty_struct *tty) in tty_vhangup()
733 struct tty_struct *tty; in tty_vhangup_self() local
792 struct tty_struct *tty; in disassociate_ctty() local
885 void stop_tty(struct tty_struct *tty) in stop_tty()
919 void start_tty(struct tty_struct *tty) in start_tty()
962 struct tty_struct *tty = file_tty(file); in tty_read() local
983 void tty_write_unlock(struct tty_struct *tty) in tty_write_unlock()
990 int tty_write_lock(struct tty_struct *tty, int ndelay) in tty_write_lock()
1008 struct tty_struct *tty, in do_tty_write()
1102 void tty_write_message(struct tty_struct *tty, char *msg) in tty_write_message()
1138 struct tty_struct *tty = file_tty(file); in tty_write() local
1233 struct tty_struct *tty; in tty_driver_lookup_tty() local
1250 int tty_init_termios(struct tty_struct *tty) in tty_init_termios()
1287 struct tty_struct *tty) in tty_driver_install_tty()
1316 void tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) in tty_driver_remove_tty()
1333 static int tty_reopen(struct tty_struct *tty) in tty_reopen()
1391 struct tty_struct *tty; in tty_init_dev() local
1447 void tty_free_termios(struct tty_struct *tty) in tty_free_termios()
1461 void tty_shutdown(struct tty_struct *tty) in tty_shutdown()
1486 struct tty_struct *tty = in release_one_tty() local
1508 struct tty_struct *tty = container_of(kref, struct tty_struct, kref); in queue_release_one_tty() local
1529 void tty_kref_put(struct tty_struct *tty) in tty_kref_put()
1549 static void release_tty(struct tty_struct *tty, int idx) in release_tty()
1568 static int tty_release_checks(struct tty_struct *tty, struct tty_struct *o_tty, in tty_release_checks()
1633 struct tty_struct *tty = file_tty(filp); in tty_release() local
1819 struct tty_struct *tty; in tty_open_current_tty() local
1908 struct tty_struct *tty; in tty_open() local
2048 struct tty_struct *tty = file_tty(filp); in tty_poll() local
2064 struct tty_struct *tty = file_tty(filp); in __tty_fasync() local
2129 static int tiocsti(struct tty_struct *tty, char __user *p) in tiocsti()
2156 static int tiocgwinsz(struct tty_struct *tty, struct winsize __user *arg) in tiocgwinsz()
2177 int tty_do_resize(struct tty_struct *tty, struct winsize *ws) in tty_do_resize()
2217 static int tiocswinsz(struct tty_struct *tty, struct winsize __user *arg) in tiocswinsz()
2305 static int tiocsctty(struct tty_struct *tty, int arg) in tiocsctty()
2352 struct pid *tty_get_pgrp(struct tty_struct *tty) in tty_get_pgrp()
2377 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp()
2405 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp()
2454 static int tiocgsid(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgsid()
2477 static int tiocsetd(struct tty_struct *tty, int __user *p) in tiocsetd()
2503 static int send_break(struct tty_struct *tty, unsigned int duration) in send_break()
2542 static int tty_tiocmget(struct tty_struct *tty, int __user *p) in tty_tiocmget()
2567 static int tty_tiocmset(struct tty_struct *tty, unsigned int cmd, in tty_tiocmset()
2597 static int tty_tiocgicount(struct tty_struct *tty, void __user *arg) in tty_tiocgicount()
2611 struct tty_struct *tty_pair_get_tty(struct tty_struct *tty) in tty_pair_get_tty()
2620 struct tty_struct *tty_pair_get_pty(struct tty_struct *tty) in tty_pair_get_pty()
2634 struct tty_struct *tty = file_tty(file); in tty_ioctl() local
2778 struct tty_struct *tty = file_tty(file); in tty_compat_ioctl() local
2821 void __do_SAK(struct tty_struct *tty) in __do_SAK()
2890 struct tty_struct *tty = in do_SAK_work() local
2901 void do_SAK(struct tty_struct *tty) in do_SAK()
2917 static struct device *tty_get_device(struct tty_struct *tty) in tty_get_device()
2934 void initialize_tty_struct(struct tty_struct *tty, in initialize_tty_struct()
2976 void deinitialize_tty_struct(struct tty_struct *tty) in deinitialize_tty_struct()
2993 int tty_put_char(struct tty_struct *tty, unsigned char ch) in tty_put_char()
3233 dev_t tty_devnum(struct tty_struct *tty) in tty_devnum()
3242 struct tty_struct *tty; in proc_clear_tty() local
3252 static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty) in __proc_set_tty()
3273 static void proc_set_tty(struct task_struct *tsk, struct tty_struct *tty) in proc_set_tty()
3282 struct tty_struct *tty; in get_current_tty() local