Lines Matching refs:cf
138 struct ceph_file_info *cf; in ceph_init_file() local
160 cf = kmem_cache_alloc(ceph_file_cachep, GFP_KERNEL | __GFP_ZERO); in ceph_init_file()
161 if (cf == NULL) { in ceph_init_file()
165 cf->fmode = fmode; in ceph_init_file()
166 cf->next_offset = 2; in ceph_init_file()
167 cf->readdir_cache_idx = -1; in ceph_init_file()
168 file->private_data = cf; in ceph_init_file()
206 struct ceph_file_info *cf = file->private_data; in ceph_open() local
210 if (cf) { in ceph_open()
384 struct ceph_file_info *cf = file->private_data; in ceph_release() local
387 ceph_put_fmode(ci, cf->fmode); in ceph_release()
388 if (cf->last_readdir) in ceph_release()
389 ceph_mdsc_put_request(cf->last_readdir); in ceph_release()
390 kfree(cf->last_name); in ceph_release()
391 kfree(cf->dir_info); in ceph_release()
392 kmem_cache_free(ceph_file_cachep, cf); in ceph_release()