Lines Matching refs:file
114 static int cuse_open(struct inode *inode, struct file *file) in cuse_open() argument
138 rc = fuse_do_open(&cc->fm, 0, file, 0); in cuse_open()
144 static int cuse_release(struct inode *inode, struct file *file) in cuse_release() argument
146 struct fuse_file *ff = file->private_data; in cuse_release()
149 fuse_sync_release(NULL, ff, file->f_flags); in cuse_release()
155 static long cuse_file_ioctl(struct file *file, unsigned int cmd, in cuse_file_ioctl() argument
158 struct fuse_file *ff = file->private_data; in cuse_file_ioctl()
165 return fuse_do_ioctl(file, cmd, arg, flags); in cuse_file_ioctl()
168 static long cuse_file_compat_ioctl(struct file *file, unsigned int cmd, in cuse_file_compat_ioctl() argument
171 struct fuse_file *ff = file->private_data; in cuse_file_compat_ioctl()
178 return fuse_do_ioctl(file, cmd, arg, flags); in cuse_file_compat_ioctl()
496 static int cuse_channel_open(struct inode *inode, struct file *file) in cuse_channel_open() argument
511 fuse_conn_init(&cc->fc, &cc->fm, file->f_cred->user_ns, in cuse_channel_open()
530 file->private_data = fud; in cuse_channel_open()
546 static int cuse_channel_release(struct inode *inode, struct file *file) in cuse_channel_release() argument
548 struct fuse_dev *fud = file->private_data; in cuse_channel_release()
567 rc = fuse_dev_release(inode, file); /* puts the base reference */ in cuse_channel_release()