Lines Matching defs:file
177 static inline struct tty_struct *file_tty(struct file *file) in file_tty()
182 int tty_alloc_file(struct file *file) in tty_alloc_file()
196 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file()
215 void tty_free_file(struct file *file) in tty_free_file()
224 static void tty_del_file(struct file *file) in tty_del_file()
434 static long hung_up_tty_ioctl(struct file *file, unsigned int cmd, in hung_up_tty_ioctl()
440 static long hung_up_tty_compat_ioctl(struct file *file, in hung_up_tty_compat_ioctl()
446 static int hung_up_tty_fasync(int fd, struct file *file, int on) in hung_up_tty_fasync()
451 static void tty_show_fdinfo(struct seq_file *m, struct file *file) in tty_show_fdinfo()
836 struct file *file, struct iov_iter *to) in iterate_tty_read()
903 struct file *file = iocb->ki_filp; in tty_read() local
953 struct file *file, struct iov_iter *from) in iterate_tty_write()
1062 static ssize_t file_tty_write(struct file *file, struct kiocb *iocb, struct iov_iter *from) in file_tty_write()
1215 struct file *file, int idx) in tty_driver_lookup_tty()
2380 static int tioccons(struct file *file) in tioccons()
2668 long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in tty_ioctl()
2875 static long tty_compat_ioctl(struct file *file, unsigned int cmd, in tty_compat_ioctl()
2990 static int this_tty(const void *t, struct file *file, unsigned fd) in this_tty()