Lines Matching full:file
3 * FUSE passthrough to backing file.
10 #include <linux/file.h>
11 #include <linux/backing-file.h>
14 static void fuse_file_accessed(struct file *file) in fuse_file_accessed() argument
16 struct inode *inode = file_inode(file); in fuse_file_accessed()
30 struct file *file = iocb->ki_filp; in fuse_passthrough_read_iter() local
31 struct fuse_file *ff = file->private_data; in fuse_passthrough_read_iter()
32 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_read_iter()
56 struct file *file = iocb->ki_filp; in fuse_passthrough_write_iter() local
57 struct inode *inode = file_inode(file); in fuse_passthrough_write_iter()
58 struct fuse_file *ff = file->private_data; in fuse_passthrough_write_iter()
59 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_write_iter()
81 ssize_t fuse_passthrough_splice_read(struct file *in, loff_t *ppos, in fuse_passthrough_splice_read()
86 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_splice_read()
106 struct file *out, loff_t *ppos, in fuse_passthrough_splice_write()
110 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_splice_write()
132 ssize_t fuse_passthrough_mmap(struct file *file, struct vm_area_struct *vma) in fuse_passthrough_mmap() argument
134 struct fuse_file *ff = file->private_data; in fuse_passthrough_mmap()
135 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_mmap()
148 * Setup passthrough to a backing file.
152 struct fuse_backing *fuse_passthrough_open(struct file *file, int backing_id) in fuse_passthrough_open() argument
154 struct fuse_file *ff = file->private_data; in fuse_passthrough_open()
157 struct file *backing_file; in fuse_passthrough_open()
169 /* Allocate backing file per fuse file to store fuse path */ in fuse_passthrough_open()
170 backing_file = backing_file_open(&file->f_path, file->f_flags, in fuse_passthrough_open()
171 &fb->file->f_path, fb->cred); in fuse_passthrough_open()