Lines Matching defs:file
176 static inline struct tty_struct *file_tty(struct file *file) in file_tty()
181 int tty_alloc_file(struct file *file) in tty_alloc_file()
195 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file()
213 void tty_free_file(struct file *file) in tty_free_file()
222 static void tty_del_file(struct file *file) in tty_del_file()
426 static ssize_t hung_up_tty_read(struct file *file, char __user *buf, in hung_up_tty_read()
432 static ssize_t hung_up_tty_write(struct file *file, const char __user *buf, in hung_up_tty_write()
444 static long hung_up_tty_ioctl(struct file *file, unsigned int cmd, in hung_up_tty_ioctl()
450 static long hung_up_tty_compat_ioctl(struct file *file, in hung_up_tty_compat_ioctl()
1057 static ssize_t tty_read(struct file *file, char __user *buf, size_t count, in tty_read()
1107 ssize_t (*write)(struct tty_struct *, struct file *, const unsigned char *, size_t), in do_tty_write()
1109 struct file *file, in do_tty_write()
1233 static ssize_t tty_write(struct file *file, const char __user *buf, in tty_write()
1258 ssize_t redirected_tty_write(struct file *file, const char __user *buf, in redirected_tty_write()
2391 static int tioccons(struct file *file) in tioccons()
2427 static int fionbio(struct file *file, int __user *p) in fionbio()
2457 static int tiocsctty(struct tty_struct *tty, struct file *file, int arg) in tiocsctty()
2848 long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in tty_ioctl()
2997 static long tty_compat_ioctl(struct file *file, unsigned int cmd, in tty_compat_ioctl()
3024 static int this_tty(const void *t, struct file *file, unsigned fd) in this_tty()