Lines Matching refs:coda_file
32 struct file *coda_file; member
40 struct file *coda_file = iocb->ki_filp; in coda_file_read_iter() local
41 struct coda_file_info *cfi = CODA_FTOC(coda_file); in coda_file_read_iter()
51 struct file *coda_file = iocb->ki_filp; in coda_file_write_iter() local
52 struct inode *coda_inode = file_inode(coda_file); in coda_file_write_iter()
53 struct coda_file_info *cfi = CODA_FTOC(coda_file); in coda_file_write_iter()
94 fput(cvm_ops->coda_file); in coda_vm_close()
100 coda_file_mmap(struct file *coda_file, struct vm_area_struct *vma) in coda_file_mmap() argument
109 cfi = CODA_FTOC(coda_file); in coda_file_mmap()
116 if (WARN_ON(coda_file != vma->vm_file)) in coda_file_mmap()
123 coda_inode = file_inode(coda_file); in coda_file_mmap()
128 coda_file->f_mapping = host_file->f_mapping; in coda_file_mmap()
162 cvm_ops->coda_file = coda_file; in coda_file_mmap()
170 int coda_open(struct inode *coda_inode, struct file *coda_file) in coda_open() argument
174 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open()
192 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open()
198 BUG_ON(coda_file->private_data != NULL); in coda_open()
199 coda_file->private_data = cfi; in coda_open()
203 int coda_release(struct inode *coda_inode, struct file *coda_file) in coda_release() argument
205 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
212 cfi = CODA_FTOC(coda_file); in coda_release()
216 coda_flags, coda_file->f_cred->fsuid); in coda_release()
231 kfree(coda_file->private_data); in coda_release()
232 coda_file->private_data = NULL; in coda_release()
239 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync() argument
242 struct inode *coda_inode = file_inode(coda_file); in coda_fsync()
255 cfi = CODA_FTOC(coda_file); in coda_fsync()