Lines Matching refs:host_file
34 struct file *host_file;
38 host_file = cfi->cfi_container;
40 if (!host_file->f_op || !host_file->f_op->read)
43 return host_file->f_op->read(host_file, buf, count, ppos);
54 struct file *host_file;
58 host_file = cfi->cfi_container;
60 splice_read = host_file->f_op->splice_read;
64 return splice_read(host_file, ppos, pipe, count, flags);
72 struct file *host_file;
77 host_file = cfi->cfi_container;
79 if (!host_file->f_op || !host_file->f_op->write)
82 host_inode = host_file->f_path.dentry->d_inode;
85 ret = host_file->f_op->write(host_file, buf, count, ppos);
100 struct file *host_file;
105 host_file = cfi->cfi_container;
107 if (!host_file->f_op || !host_file->f_op->mmap)
111 host_inode = host_file->f_path.dentry->d_inode;
112 coda_file->f_mapping = host_file->f_mapping;
121 /* keep track of how often the coda_inode/host_file has been mmapped */
126 return host_file->f_op->mmap(host_file, vma);
131 struct file *host_file = NULL;
144 &host_file);
145 if (!host_file)
154 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC);
158 cfi->cfi_container = host_file;
207 struct file *host_file;
218 host_file = cfi->cfi_container;
220 err = vfs_fsync(host_file, datasync);