• Home
  • Raw
  • Download

Lines Matching refs:tty_struct

195 	int (*activate)(struct tty_port *port, struct tty_struct *tty);
211 struct tty_struct *tty; /* Back pointer */
212 struct tty_struct *itty; /* internal back ptr */
266 struct tty_struct { struct
311 struct tty_struct *link; argument
336 struct tty_struct *tty; argument
365 static inline bool tty_io_nonblock(struct tty_struct *tty, struct file *file) in tty_io_nonblock()
371 static inline bool tty_io_error(struct tty_struct *tty) in tty_io_error()
376 static inline bool tty_throttled(struct tty_struct *tty) in tty_throttled()
382 extern void tty_kref_put(struct tty_struct *tty);
383 extern struct pid *tty_get_pgrp(struct tty_struct *tty);
386 extern dev_t tty_devnum(struct tty_struct *tty);
388 extern struct tty_struct *get_current_tty(void);
391 extern const char *tty_name(const struct tty_struct *tty);
392 extern struct tty_struct *tty_kopen(dev_t device);
393 extern void tty_kclose(struct tty_struct *tty);
396 static inline void tty_kref_put(struct tty_struct *tty) in tty_kref_put()
398 static inline struct pid *tty_get_pgrp(struct tty_struct *tty) in tty_get_pgrp()
404 static inline dev_t tty_devnum(struct tty_struct *tty) in tty_devnum()
408 static inline struct tty_struct *get_current_tty(void) in get_current_tty()
413 static inline const char *tty_name(const struct tty_struct *tty) in tty_name()
415 static inline struct tty_struct *tty_kopen(dev_t device) in tty_kopen()
417 static inline void tty_kclose(struct tty_struct *tty) in tty_kclose()
438 static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) in tty_kref_get()
445 extern const char *tty_driver_name(const struct tty_struct *tty);
446 extern void tty_wait_until_sent(struct tty_struct *tty, long timeout);
447 extern void stop_tty(struct tty_struct *tty);
448 extern void start_tty(struct tty_struct *tty);
458 extern void tty_write_message(struct tty_struct *tty, char *msg);
459 extern int tty_send_xchar(struct tty_struct *tty, char ch);
460 extern int tty_put_char(struct tty_struct *tty, unsigned char c);
461 extern int tty_chars_in_buffer(struct tty_struct *tty);
462 extern int tty_write_room(struct tty_struct *tty);
463 extern void tty_driver_flush_buffer(struct tty_struct *tty);
464 extern void tty_throttle(struct tty_struct *tty);
465 extern void tty_unthrottle(struct tty_struct *tty);
466 extern int tty_throttle_safe(struct tty_struct *tty);
467 extern int tty_unthrottle_safe(struct tty_struct *tty);
468 extern int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
470 extern void tty_hangup(struct tty_struct *tty);
471 extern void tty_vhangup(struct tty_struct *tty);
473 extern void do_SAK(struct tty_struct *tty);
474 extern void __do_SAK(struct tty_struct *tty);
479 extern void tty_encode_baud_rate(struct tty_struct *tty,
492 static inline speed_t tty_get_baud_rate(struct tty_struct *tty) in tty_get_baud_rate()
499 extern int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
501 extern struct tty_ldisc *tty_ldisc_ref(struct tty_struct *);
503 extern struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *);
506 extern void tty_wakeup(struct tty_struct *tty);
507 extern void tty_ldisc_flush(struct tty_struct *tty);
509 extern int tty_mode_ioctl(struct tty_struct *tty, struct file *file,
511 extern int tty_perform_flush(struct tty_struct *tty, unsigned long arg);
512 extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx);
513 extern void tty_release_struct(struct tty_struct *tty, int idx);
514 extern void tty_init_termios(struct tty_struct *tty);
515 extern void tty_save_termios(struct tty_struct *tty);
517 struct tty_struct *tty);
631 extern struct tty_struct *tty_port_tty_get(struct tty_port *port);
632 extern void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty);
640 struct tty_struct *tty, struct file *filp);
642 struct tty_struct *tty, struct file *filp);
643 extern void tty_port_close_end(struct tty_port *port, struct tty_struct *tty);
645 struct tty_struct *tty, struct file *filp);
647 struct tty_struct *tty);
649 struct tty_struct *tty, struct file *filp);
657 extern int tty_set_ldisc(struct tty_struct *tty, int disc);
688 extern int n_tty_ioctl_helper(struct tty_struct *tty, struct file *file,
693 extern int vt_ioctl(struct tty_struct *tty,
696 extern long vt_compat_ioctl(struct tty_struct *tty,
701 extern void tty_lock(struct tty_struct *tty);
702 extern int tty_lock_interruptible(struct tty_struct *tty);
703 extern void tty_unlock(struct tty_struct *tty);
704 extern void tty_lock_slave(struct tty_struct *tty);
705 extern void tty_unlock_slave(struct tty_struct *tty);
706 extern void tty_set_lock_subclass(struct tty_struct *tty);