Lines Matching refs:coda_file

32 	struct file *coda_file = iocb->ki_filp;  in coda_file_read_iter()  local
33 struct coda_file_info *cfi = CODA_FTOC(coda_file); in coda_file_read_iter()
41 coda_file_splice_read(struct file *coda_file, loff_t *ppos, in coda_file_splice_read() argument
50 cfi = CODA_FTOC(coda_file); in coda_file_splice_read()
64 struct file *coda_file = iocb->ki_filp; in coda_file_write_iter() local
65 struct inode *coda_inode = file_inode(coda_file); in coda_file_write_iter()
66 struct coda_file_info *cfi = CODA_FTOC(coda_file); in coda_file_write_iter()
85 coda_file_mmap(struct file *coda_file, struct vm_area_struct *vma) in coda_file_mmap() argument
92 cfi = CODA_FTOC(coda_file); in coda_file_mmap()
99 coda_inode = file_inode(coda_file); in coda_file_mmap()
104 coda_file->f_mapping = host_file->f_mapping; in coda_file_mmap()
123 int coda_open(struct inode *coda_inode, struct file *coda_file) in coda_open() argument
127 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open()
145 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open()
151 BUG_ON(coda_file->private_data != NULL); in coda_open()
152 coda_file->private_data = cfi; in coda_open()
156 int coda_release(struct inode *coda_inode, struct file *coda_file) in coda_release() argument
158 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
165 cfi = CODA_FTOC(coda_file); in coda_release()
169 coda_flags, coda_file->f_cred->fsuid); in coda_release()
184 kfree(coda_file->private_data); in coda_release()
185 coda_file->private_data = NULL; in coda_release()
192 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync() argument
195 struct inode *coda_inode = file_inode(coda_file); in coda_fsync()
208 cfi = CODA_FTOC(coda_file); in coda_fsync()