Lines Matching refs:cf
70 struct ceph_file_info *cf; in ceph_init_file() local
92 cf = kmem_cache_alloc(ceph_file_cachep, GFP_NOFS | __GFP_ZERO); in ceph_init_file()
93 if (cf == NULL) { in ceph_init_file()
97 cf->fmode = fmode; in ceph_init_file()
98 cf->next_offset = 2; in ceph_init_file()
99 file->private_data = cf; in ceph_init_file()
137 struct ceph_file_info *cf = file->private_data; in ceph_open() local
142 if (cf) { in ceph_open()
319 struct ceph_file_info *cf = file->private_data; in ceph_release() local
322 ceph_put_fmode(ci, cf->fmode); in ceph_release()
323 if (cf->last_readdir) in ceph_release()
324 ceph_mdsc_put_request(cf->last_readdir); in ceph_release()
325 kfree(cf->last_name); in ceph_release()
326 kfree(cf->dir_info); in ceph_release()
327 dput(cf->dentry); in ceph_release()
328 kmem_cache_free(ceph_file_cachep, cf); in ceph_release()