Lines Matching defs:file
547 static int tun_attach(struct tun_struct *tun, struct file *file, bool skip_filter) in tun_attach()
610 static struct tun_struct *tun_get(struct file *file) in tun_get()
971 static unsigned int tun_chr_poll(struct file *file, poll_table *wait) in tun_chr_poll()
1220 struct file *file = iocb->ki_filp; in tun_chr_write_iter() local
1380 struct file *file = iocb->ki_filp; in tun_chr_read_iter() local
1562 static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr) in tun_set_iff()
1798 static int tun_set_queue(struct file *file, struct ifreq *ifr) in tun_set_queue()
1830 static long __tun_chr_ioctl(struct file *file, unsigned int cmd, in __tun_chr_ioctl()
2102 static long tun_chr_ioctl(struct file *file, in tun_chr_ioctl()
2109 static long tun_chr_compat_ioctl(struct file *file, in tun_chr_compat_ioctl()
2137 static int tun_chr_fasync(int fd, struct file *file, int on) in tun_chr_fasync()
2155 static int tun_chr_open(struct inode *inode, struct file * file) in tun_chr_open()
2191 static int tun_chr_close(struct inode *inode, struct file *file) in tun_chr_close()
2345 struct socket *tun_get_socket(struct file *file) in tun_get_socket()