Lines Matching refs:file
361 struct file *file; member
404 static inline bool tty_io_nonblock(struct tty_struct *tty, struct file *file) in tty_io_nonblock() argument
406 return file->f_flags & O_NONBLOCK || in tty_io_nonblock()
519 extern int tty_hung_up_p(struct file *filp);
522 extern void tty_open_proc_set_tty(struct file *filp, struct tty_struct *tty);
569 extern long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
570 extern int tty_mode_ioctl(struct tty_struct *tty, struct file *file,
573 struct file *file, unsigned int cmd, unsigned long arg);
577 extern int tty_alloc_file(struct file *file);
578 extern void tty_add_file(struct tty_struct *tty, struct file *file);
579 extern void tty_free_file(struct file *file);
582 extern int tty_release(struct inode *inode, struct file *filp);
711 struct tty_struct *tty, struct file *filp);
713 struct tty_struct *tty, struct file *filp);
716 struct tty_struct *tty, struct file *filp);
720 struct tty_struct *tty, struct file *filp);
773 extern int n_tty_ioctl_helper(struct tty_struct *tty, struct file *file,