Lines Matching refs:coda_file

34 	struct file *coda_file;  member
42 struct file *coda_file = iocb->ki_filp; in coda_file_read_iter() local
43 struct inode *coda_inode = file_inode(coda_file); in coda_file_read_iter()
44 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_read_iter()
67 struct file *coda_file = iocb->ki_filp; in coda_file_write_iter() local
68 struct inode *coda_inode = file_inode(coda_file); in coda_file_write_iter()
69 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_write_iter()
120 fput(cvm_ops->coda_file); in coda_vm_close()
126 coda_file_mmap(struct file *coda_file, struct vm_area_struct *vma) in coda_file_mmap() argument
128 struct inode *coda_inode = file_inode(coda_file); in coda_file_mmap()
129 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_mmap()
141 if (WARN_ON(coda_file != vma->vm_file)) in coda_file_mmap()
159 coda_file->f_mapping = host_file->f_mapping; in coda_file_mmap()
183 fput(coda_file); in coda_file_mmap()
193 cvm_ops->coda_file = coda_file; in coda_file_mmap()
201 int coda_open(struct inode *coda_inode, struct file *coda_file) in coda_open() argument
205 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open()
223 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open()
231 BUG_ON(coda_file->private_data != NULL); in coda_open()
232 coda_file->private_data = cfi; in coda_open()
236 int coda_release(struct inode *coda_inode, struct file *coda_file) in coda_release() argument
238 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
244 cfi = coda_ftoc(coda_file); in coda_release()
247 coda_flags, coda_file->f_cred->fsuid); in coda_release()
262 kfree(coda_file->private_data); in coda_release()
263 coda_file->private_data = NULL; in coda_release()
270 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync() argument
273 struct inode *coda_inode = file_inode(coda_file); in coda_fsync()
286 cfi = coda_ftoc(coda_file); in coda_fsync()