Lines Matching refs:coda_file

35 	struct file *coda_file;  member
43 struct file *coda_file = iocb->ki_filp; in coda_file_read_iter() local
44 struct inode *coda_inode = file_inode(coda_file); in coda_file_read_iter()
45 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_read_iter()
68 struct file *coda_file = iocb->ki_filp; in coda_file_write_iter() local
69 struct inode *coda_inode = file_inode(coda_file); in coda_file_write_iter()
70 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_write_iter()
97 coda_file_splice_read(struct file *coda_file, loff_t *ppos, in coda_file_splice_read() argument
101 struct inode *coda_inode = file_inode(coda_file); in coda_file_splice_read()
102 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_splice_read()
145 fput(cvm_ops->coda_file); in coda_vm_close()
151 coda_file_mmap(struct file *coda_file, struct vm_area_struct *vma) in coda_file_mmap() argument
153 struct inode *coda_inode = file_inode(coda_file); in coda_file_mmap()
154 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_mmap()
166 if (WARN_ON(coda_file != vma->vm_file)) in coda_file_mmap()
184 coda_file->f_mapping = host_file->f_mapping; in coda_file_mmap()
208 fput(coda_file); in coda_file_mmap()
218 cvm_ops->coda_file = coda_file; in coda_file_mmap()
226 int coda_open(struct inode *coda_inode, struct file *coda_file) in coda_open() argument
230 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open()
248 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open()
256 BUG_ON(coda_file->private_data != NULL); in coda_open()
257 coda_file->private_data = cfi; in coda_open()
261 int coda_release(struct inode *coda_inode, struct file *coda_file) in coda_release() argument
263 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
269 cfi = coda_ftoc(coda_file); in coda_release()
272 coda_flags, coda_file->f_cred->fsuid); in coda_release()
287 kfree(coda_file->private_data); in coda_release()
288 coda_file->private_data = NULL; in coda_release()
295 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync() argument
298 struct inode *coda_inode = file_inode(coda_file); in coda_fsync()
311 cfi = coda_ftoc(coda_file); in coda_fsync()