Lines Matching defs:tty

155 static void zero_buffer(const struct tty_struct *tty, u8 *buffer, size_t size)  in zero_buffer()
161 static void tty_copy(const struct tty_struct *tty, void *to, size_t tail, in tty_copy()
193 static void n_tty_kick_worker(const struct tty_struct *tty) in n_tty_kick_worker()
213 static ssize_t chars_in_buffer(const struct tty_struct *tty) in chars_in_buffer()
228 static void n_tty_write_wakeup(struct tty_struct *tty) in n_tty_write_wakeup()
234 static void n_tty_check_throttle(struct tty_struct *tty) in n_tty_check_throttle()
255 static void n_tty_check_unthrottle(struct tty_struct *tty) in n_tty_check_unthrottle()
325 static void n_tty_packet_mode_flush(struct tty_struct *tty) in n_tty_packet_mode_flush()
350 static void n_tty_flush_buffer(struct tty_struct *tty) in n_tty_flush_buffer()
382 static inline int is_continuation(u8 c, const struct tty_struct *tty) in is_continuation()
406 static int do_output_char(u8 c, struct tty_struct *tty, int space) in do_output_char()
480 static int process_output(u8 c, struct tty_struct *tty) in process_output()
510 static ssize_t process_output_block(struct tty_struct *tty, in process_output_block()
564 static int n_tty_process_echo_ops(struct tty_struct *tty, size_t *tail, in n_tty_process_echo_ops()
680 static size_t __process_echoes(struct tty_struct *tty) in __process_echoes()
734 static void commit_echoes(struct tty_struct *tty) in commit_echoes()
763 static void process_echoes(struct tty_struct *tty) in process_echoes()
781 static void flush_echoes(struct tty_struct *tty) in flush_echoes()
894 static void echo_char(u8 c, const struct tty_struct *tty) in echo_char()
932 static void eraser(u8 c, const struct tty_struct *tty) in eraser()
1051 static void __isig(int sig, struct tty_struct *tty) in __isig()
1074 static void isig(int sig, struct tty_struct *tty) in isig()
1121 static void n_tty_receive_break(struct tty_struct *tty) in n_tty_receive_break()
1148 static void n_tty_receive_overrun(const struct tty_struct *tty) in n_tty_receive_overrun()
1171 static void n_tty_receive_parity_error(const struct tty_struct *tty, in n_tty_receive_parity_error()
1190 n_tty_receive_signal_char(struct tty_struct *tty, int signal, u8 c) in n_tty_receive_signal_char()
1202 static bool n_tty_is_char_flow_ctrl(struct tty_struct *tty, u8 c) in n_tty_is_char_flow_ctrl()
1222 static bool n_tty_receive_char_flow_ctrl(struct tty_struct *tty, u8 c, in n_tty_receive_char_flow_ctrl()
1242 static void n_tty_receive_handle_newline(struct tty_struct *tty, u8 c) in n_tty_receive_handle_newline()
1253 static bool n_tty_receive_char_canon(struct tty_struct *tty, u8 c) in n_tty_receive_char_canon()
1338 static void n_tty_receive_char_special(struct tty_struct *tty, u8 c, in n_tty_receive_char_special()
1407 static void n_tty_receive_char(struct tty_struct *tty, u8 c) in n_tty_receive_char()
1429 static void n_tty_receive_char_closing(struct tty_struct *tty, u8 c, in n_tty_receive_char_closing()
1449 n_tty_receive_char_flagged(struct tty_struct *tty, u8 c, u8 flag) in n_tty_receive_char_flagged()
1469 n_tty_receive_char_lnext(struct tty_struct *tty, u8 c, u8 flag) in n_tty_receive_char_lnext()
1485 static void n_tty_lookahead_flow_ctrl(struct tty_struct *tty, const u8 *cp, in n_tty_lookahead_flow_ctrl()
1506 n_tty_receive_buf_real_raw(const struct tty_struct *tty, const u8 *cp, in n_tty_receive_buf_real_raw()
1525 n_tty_receive_buf_raw(struct tty_struct *tty, const u8 *cp, const u8 *fp, in n_tty_receive_buf_raw()
1542 n_tty_receive_buf_closing(struct tty_struct *tty, const u8 *cp, const u8 *fp, in n_tty_receive_buf_closing()
1555 static void n_tty_receive_buf_standard(struct tty_struct *tty, const u8 *cp, in n_tty_receive_buf_standard()
1594 static void __receive_buf(struct tty_struct *tty, const u8 *cp, const u8 *fp, in __receive_buf()
1679 n_tty_receive_buf_common(struct tty_struct *tty, const u8 *cp, const u8 *fp, in n_tty_receive_buf_common()
1760 static void n_tty_receive_buf(struct tty_struct *tty, const u8 *cp, in n_tty_receive_buf()
1766 static size_t n_tty_receive_buf2(struct tty_struct *tty, const u8 *cp, in n_tty_receive_buf2()
1784 static void n_tty_set_termios(struct tty_struct *tty, const struct ktermios *old) in n_tty_set_termios()
1875 static void n_tty_close(struct tty_struct *tty) in n_tty_close()
1896 static int n_tty_open(struct tty_struct *tty) in n_tty_open()
1918 static inline int input_available_p(const struct tty_struct *tty, int poll) in input_available_p()
1947 static bool copy_from_read_buf(const struct tty_struct *tty, u8 **kbp, in copy_from_read_buf()
2002 static bool canon_copy_from_read_buf(const struct tty_struct *tty, u8 **kbp, in canon_copy_from_read_buf()
2101 static int job_control(struct tty_struct *tty, struct file *file) in job_control()
2118 static ssize_t n_tty_continue_cookie(struct tty_struct *tty, u8 *kbuf, in n_tty_continue_cookie()
2148 static int n_tty_wait_for_input(struct tty_struct *tty, struct file *file, in n_tty_wait_for_input()
2195 static ssize_t n_tty_read(struct tty_struct *tty, struct file *file, u8 *kbuf, in n_tty_read()
2346 static ssize_t n_tty_write(struct tty_struct *tty, struct file *file, in n_tty_write()
2445 static __poll_t n_tty_poll(struct tty_struct *tty, struct file *file, in n_tty_poll()
2491 static int n_tty_ioctl(struct tty_struct *tty, unsigned int cmd, in n_tty_ioctl()