Lines Matching refs:tty_struct

188 struct tty_struct {  struct
229 struct tty_struct *link; argument
248 struct tty_struct *tty; argument
320 static inline bool tty_io_nonblock(struct tty_struct *tty, struct file *file) in tty_io_nonblock()
326 static inline bool tty_io_error(struct tty_struct *tty) in tty_io_error()
331 static inline bool tty_throttled(struct tty_struct *tty) in tty_throttled()
337 void tty_kref_put(struct tty_struct *tty);
338 struct pid *tty_get_pgrp(struct tty_struct *tty);
341 dev_t tty_devnum(struct tty_struct *tty);
343 struct tty_struct *get_current_tty(void);
346 const char *tty_name(const struct tty_struct *tty);
347 struct tty_struct *tty_kopen_exclusive(dev_t device);
348 struct tty_struct *tty_kopen_shared(dev_t device);
349 void tty_kclose(struct tty_struct *tty);
352 static inline void tty_kref_put(struct tty_struct *tty) in tty_kref_put()
354 static inline struct pid *tty_get_pgrp(struct tty_struct *tty) in tty_get_pgrp()
360 static inline dev_t tty_devnum(struct tty_struct *tty) in tty_devnum()
364 static inline struct tty_struct *get_current_tty(void) in get_current_tty()
369 static inline const char *tty_name(const struct tty_struct *tty) in tty_name()
371 static inline struct tty_struct *tty_kopen_exclusive(dev_t device) in tty_kopen_exclusive()
373 static inline void tty_kclose(struct tty_struct *tty) in tty_kclose()
394 static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) in tty_kref_get()
401 const char *tty_driver_name(const struct tty_struct *tty);
402 void tty_wait_until_sent(struct tty_struct *tty, long timeout);
403 void stop_tty(struct tty_struct *tty);
404 void start_tty(struct tty_struct *tty);
405 void tty_write_message(struct tty_struct *tty, char *msg);
406 int tty_send_xchar(struct tty_struct *tty, u8 ch);
407 int tty_put_char(struct tty_struct *tty, u8 c);
408 unsigned int tty_chars_in_buffer(struct tty_struct *tty);
409 unsigned int tty_write_room(struct tty_struct *tty);
410 void tty_driver_flush_buffer(struct tty_struct *tty);
411 void tty_unthrottle(struct tty_struct *tty);
412 bool tty_throttle_safe(struct tty_struct *tty);
413 bool tty_unthrottle_safe(struct tty_struct *tty);
414 int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
415 int tty_get_icount(struct tty_struct *tty,
417 int tty_get_tiocm(struct tty_struct *tty);
419 void tty_hangup(struct tty_struct *tty);
420 void tty_vhangup(struct tty_struct *tty);
422 void do_SAK(struct tty_struct *tty);
423 void __do_SAK(struct tty_struct *tty);
428 void tty_encode_baud_rate(struct tty_struct *tty, speed_t ibaud,
439 static inline speed_t tty_get_baud_rate(const struct tty_struct *tty) in tty_get_baud_rate()
449 int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
451 void tty_wakeup(struct tty_struct *tty);
453 int tty_mode_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg);
454 int tty_perform_flush(struct tty_struct *tty, unsigned long arg);
455 struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx);
456 void tty_release_struct(struct tty_struct *tty, int idx);
457 void tty_init_termios(struct tty_struct *tty);
458 void tty_save_termios(struct tty_struct *tty);
460 struct tty_struct *tty);
491 int n_tty_ioctl_helper(struct tty_struct *tty, unsigned int cmd,
496 int vt_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg);
498 long vt_compat_ioctl(struct tty_struct *tty, unsigned int cmd,
503 void tty_lock(struct tty_struct *tty);
504 int tty_lock_interruptible(struct tty_struct *tty);
505 void tty_unlock(struct tty_struct *tty);
506 void tty_lock_slave(struct tty_struct *tty);
507 void tty_unlock_slave(struct tty_struct *tty);
508 void tty_set_lock_subclass(struct tty_struct *tty);