Lines Matching refs:coda_file

35 	struct file *coda_file;
43 struct file *coda_file = iocb->ki_filp;
44 struct inode *coda_inode = file_inode(coda_file);
45 struct coda_file_info *cfi = coda_ftoc(coda_file);
68 struct file *coda_file = iocb->ki_filp;
69 struct inode *coda_inode = file_inode(coda_file);
70 struct coda_file_info *cfi = coda_ftoc(coda_file);
99 coda_file_splice_read(struct file *coda_file, loff_t *ppos,
103 struct inode *coda_inode = file_inode(coda_file);
104 struct coda_file_info *cfi = coda_ftoc(coda_file);
147 fput(cvm_ops->coda_file);
153 coda_file_mmap(struct file *coda_file, struct vm_area_struct *vma)
155 struct inode *coda_inode = file_inode(coda_file);
156 struct coda_file_info *cfi = coda_ftoc(coda_file);
168 if (WARN_ON(coda_file != vma->vm_file))
186 coda_file->f_mapping = host_file->f_mapping;
208 * should drop the reference to the coda_file that we got.
210 fput(coda_file);
220 cvm_ops->coda_file = coda_file;
228 int coda_open(struct inode *coda_inode, struct file *coda_file)
232 unsigned short flags = coda_file->f_flags & (~O_EXCL);
250 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC);
258 BUG_ON(coda_file->private_data != NULL);
259 coda_file->private_data = cfi;
263 int coda_release(struct inode *coda_inode, struct file *coda_file)
265 unsigned short flags = (coda_file->f_flags) & (~O_EXCL);
271 cfi = coda_ftoc(coda_file);
274 coda_flags, coda_file->f_cred->fsuid);
289 kfree(coda_file->private_data);
290 coda_file->private_data = NULL;
297 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync)
300 struct inode *coda_inode = file_inode(coda_file);
313 cfi = coda_ftoc(coda_file);