Lines Matching refs:tty

9 #define tty_msg(fn, tty, f, ...) \  argument
10 fn("%s %s: " f, tty_driver_name(tty), tty_name(tty), ##__VA_ARGS__)
12 #define tty_debug(tty, f, ...) tty_msg(pr_debug, tty, f, ##__VA_ARGS__) argument
13 #define tty_notice(tty, f, ...) tty_msg(pr_notice, tty, f, ##__VA_ARGS__) argument
14 #define tty_warn(tty, f, ...) tty_msg(pr_warn, tty, f, ##__VA_ARGS__) argument
15 #define tty_err(tty, f, ...) tty_msg(pr_err, tty, f, ##__VA_ARGS__) argument
17 #define tty_info_ratelimited(tty, f, ...) \ argument
18 tty_msg(pr_info_ratelimited, tty, f, ##__VA_ARGS__)
50 static inline void __tty_set_flow_change(struct tty_struct *tty, in __tty_set_flow_change() argument
53 tty->flow_change = val; in __tty_set_flow_change()
56 static inline void tty_set_flow_change(struct tty_struct *tty, in tty_set_flow_change() argument
59 tty->flow_change = val; in tty_set_flow_change()
63 int tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout);
64 void tty_ldisc_unlock(struct tty_struct *tty);
66 int __tty_check_change(struct tty_struct *tty, int sig);
67 int tty_check_change(struct tty_struct *tty);
68 void __stop_tty(struct tty_struct *tty);
69 void __start_tty(struct tty_struct *tty);
70 void tty_write_unlock(struct tty_struct *tty);
71 int tty_write_lock(struct tty_struct *tty, bool ndelay);
72 void tty_vhangup_session(struct tty_struct *tty);
73 void tty_open_proc_set_tty(struct file *filp, struct tty_struct *tty);
74 int tty_signal_session_leader(struct tty_struct *tty, int exit_session);
77 void tty_buffer_flush(struct tty_struct *tty, struct tty_ldisc *ld);
84 void tty_ldisc_hangup(struct tty_struct *tty, bool reset);
85 int tty_ldisc_reinit(struct tty_struct *tty, int disc);
87 long tty_jobctrl_ioctl(struct tty_struct *tty, struct tty_struct *real_tty,
92 void tty_add_file(struct tty_struct *tty, struct file *file);
96 #define tty_is_writelocked(tty) (mutex_is_locked(&tty->atomic_write_lock)) argument
98 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);
99 void tty_ldisc_release(struct tty_struct *tty);
100 int __must_check tty_ldisc_init(struct tty_struct *tty);
101 void tty_ldisc_deinit(struct tty_struct *tty);
107 void tty_audit_add_data(const struct tty_struct *tty, const void *data,
109 void tty_audit_tiocsti(const struct tty_struct *tty, u8 ch);
111 static inline void tty_audit_add_data(const struct tty_struct *tty, in tty_audit_add_data() argument
115 static inline void tty_audit_tiocsti(const struct tty_struct *tty, u8 ch) in tty_audit_tiocsti() argument