Lines Matching refs:tty_struct

143 struct tty_struct {  struct
187 struct tty_struct *link; argument
209 struct tty_struct *tty; argument
238 static inline bool tty_io_nonblock(struct tty_struct *tty, struct file *file) in tty_io_nonblock()
244 static inline bool tty_io_error(struct tty_struct *tty) in tty_io_error()
249 static inline bool tty_throttled(struct tty_struct *tty) in tty_throttled()
255 extern void tty_kref_put(struct tty_struct *tty);
256 extern struct pid *tty_get_pgrp(struct tty_struct *tty);
259 extern dev_t tty_devnum(struct tty_struct *tty);
261 extern struct tty_struct *get_current_tty(void);
264 extern const char *tty_name(const struct tty_struct *tty);
265 extern struct tty_struct *tty_kopen_exclusive(dev_t device);
266 extern struct tty_struct *tty_kopen_shared(dev_t device);
267 extern void tty_kclose(struct tty_struct *tty);
270 static inline void tty_kref_put(struct tty_struct *tty) in tty_kref_put()
272 static inline struct pid *tty_get_pgrp(struct tty_struct *tty) in tty_get_pgrp()
278 static inline dev_t tty_devnum(struct tty_struct *tty) in tty_devnum()
282 static inline struct tty_struct *get_current_tty(void) in get_current_tty()
287 static inline const char *tty_name(const struct tty_struct *tty) in tty_name()
289 static inline struct tty_struct *tty_kopen_exclusive(dev_t device) in tty_kopen_exclusive()
291 static inline void tty_kclose(struct tty_struct *tty) in tty_kclose()
312 static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) in tty_kref_get()
319 extern const char *tty_driver_name(const struct tty_struct *tty);
320 extern void tty_wait_until_sent(struct tty_struct *tty, long timeout);
321 extern void stop_tty(struct tty_struct *tty);
322 extern void start_tty(struct tty_struct *tty);
323 extern void tty_write_message(struct tty_struct *tty, char *msg);
324 extern int tty_send_xchar(struct tty_struct *tty, char ch);
325 extern int tty_put_char(struct tty_struct *tty, unsigned char c);
326 extern unsigned int tty_chars_in_buffer(struct tty_struct *tty);
327 extern unsigned int tty_write_room(struct tty_struct *tty);
328 extern void tty_driver_flush_buffer(struct tty_struct *tty);
329 extern void tty_unthrottle(struct tty_struct *tty);
330 extern int tty_throttle_safe(struct tty_struct *tty);
331 extern int tty_unthrottle_safe(struct tty_struct *tty);
332 extern int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
333 extern int tty_get_icount(struct tty_struct *tty,
336 extern void tty_hangup(struct tty_struct *tty);
337 extern void tty_vhangup(struct tty_struct *tty);
339 extern void do_SAK(struct tty_struct *tty);
340 extern void __do_SAK(struct tty_struct *tty);
345 extern void tty_encode_baud_rate(struct tty_struct *tty,
358 static inline speed_t tty_get_baud_rate(struct tty_struct *tty) in tty_get_baud_rate()
368 extern int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
370 extern void tty_wakeup(struct tty_struct *tty);
372 extern int tty_mode_ioctl(struct tty_struct *tty, struct file *file,
374 extern int tty_perform_flush(struct tty_struct *tty, unsigned long arg);
375 extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx);
376 extern void tty_release_struct(struct tty_struct *tty, int idx);
377 extern void tty_init_termios(struct tty_struct *tty);
378 extern void tty_save_termios(struct tty_struct *tty);
380 struct tty_struct *tty);
411 extern int n_tty_ioctl_helper(struct tty_struct *tty, struct file *file,
416 extern int vt_ioctl(struct tty_struct *tty,
419 extern long vt_compat_ioctl(struct tty_struct *tty,
424 extern void tty_lock(struct tty_struct *tty);
425 extern int tty_lock_interruptible(struct tty_struct *tty);
426 extern void tty_unlock(struct tty_struct *tty);
427 extern void tty_lock_slave(struct tty_struct *tty);
428 extern void tty_unlock_slave(struct tty_struct *tty);
429 extern void tty_set_lock_subclass(struct tty_struct *tty);