Lines Matching defs:file

179 static inline struct tty_struct *file_tty(struct file *file)  in file_tty()
184 int tty_alloc_file(struct file *file) in tty_alloc_file()
198 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file()
216 void tty_free_file(struct file *file) in tty_free_file()
225 static void tty_del_file(struct file *file) in tty_del_file()
434 static ssize_t hung_up_tty_read(struct file *file, char __user *buf, in hung_up_tty_read()
440 static ssize_t hung_up_tty_write(struct file *file, const char __user *buf, in hung_up_tty_write()
452 static long hung_up_tty_ioctl(struct file *file, unsigned int cmd, in hung_up_tty_ioctl()
458 static long hung_up_tty_compat_ioctl(struct file *file, in hung_up_tty_compat_ioctl()
464 static int hung_up_tty_fasync(int fd, struct file *file, int on) in hung_up_tty_fasync()
469 static void tty_show_fdinfo(struct seq_file *m, struct file *file) in tty_show_fdinfo()
849 static ssize_t tty_read(struct file *file, char __user *buf, size_t count, in tty_read()
901 ssize_t (*write)(struct tty_struct *, struct file *, const unsigned char *, size_t), in do_tty_write()
903 struct file *file, in do_tty_write()
1025 static ssize_t tty_write(struct file *file, const char __user *buf, in tty_write()
1050 ssize_t redirected_tty_write(struct file *file, const char __user *buf, in redirected_tty_write()
1155 struct file *file, int idx) in tty_driver_lookup_tty()
2292 static int tioccons(struct file *file) in tioccons()
2535 long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in tty_ioctl()
2750 static long tty_compat_ioctl(struct file *file, unsigned int cmd, in tty_compat_ioctl()
2861 static int this_tty(const void *t, struct file *file, unsigned fd) in this_tty()