Lines Matching defs:file
600 static int tun_attach(struct tun_struct *tun, struct file *file, bool skip_filter) in tun_attach()
665 static struct tun_struct *tun_get(struct file *file) in tun_get()
1025 static unsigned int tun_chr_poll(struct file *file, poll_table *wait) in tun_chr_poll()
1274 struct file *file = iocb->ki_filp; in tun_chr_write_iter() local
1431 struct file *file = iocb->ki_filp; in tun_chr_read_iter() local
1607 static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr) in tun_set_iff()
1844 static int tun_set_queue(struct file *file, struct ifreq *ifr) in tun_set_queue()
1876 static long __tun_chr_ioctl(struct file *file, unsigned int cmd, in __tun_chr_ioctl()
2156 static long tun_chr_ioctl(struct file *file, in tun_chr_ioctl()
2163 static long tun_chr_compat_ioctl(struct file *file, in tun_chr_compat_ioctl()
2191 static int tun_chr_fasync(int fd, struct file *file, int on) in tun_chr_fasync()
2209 static int tun_chr_open(struct inode *inode, struct file * file) in tun_chr_open()
2243 static int tun_chr_close(struct inode *inode, struct file *file) in tun_chr_close()
2395 struct socket *tun_get_socket(struct file *file) in tun_get_socket()