Searched refs:cxl_nvd (Results 1 – 3 of 3) sorted by relevance
189 struct cxl_nvdimm *cxl_nvd = to_cxl_nvdimm(dev); in cxl_nvdimm_release() local191 xa_destroy(&cxl_nvd->pmem_regions); in cxl_nvdimm_release()192 kfree(cxl_nvd); in cxl_nvdimm_release()225 struct cxl_nvdimm *cxl_nvd; in cxl_nvdimm_alloc() local228 cxl_nvd = kzalloc(sizeof(*cxl_nvd), GFP_KERNEL); in cxl_nvdimm_alloc()229 if (!cxl_nvd) in cxl_nvdimm_alloc()232 dev = &cxl_nvd->dev; in cxl_nvdimm_alloc()233 cxl_nvd->cxlmd = cxlmd; in cxl_nvdimm_alloc()234 xa_init(&cxl_nvd->pmem_regions); in cxl_nvdimm_alloc()242 return cxl_nvd; in cxl_nvdimm_alloc()[all …]
30 struct cxl_nvdimm *cxl_nvd = nvdimm_provider_data(nvdimm); in unregister_nvdimm() local31 struct cxl_nvdimm_bridge *cxl_nvb = cxl_nvd->bridge; in unregister_nvdimm()36 dev_set_drvdata(&cxl_nvd->dev, NULL); in unregister_nvdimm()37 xa_for_each(&cxl_nvd->pmem_regions, index, cxlr_pmem) { in unregister_nvdimm()49 cxl_nvd->bridge = NULL; in unregister_nvdimm()54 struct cxl_nvdimm *cxl_nvd = to_cxl_nvdimm(dev); in cxl_nvdimm_probe() local55 struct cxl_memdev *cxlmd = cxl_nvd->cxlmd; in cxl_nvdimm_probe()81 nvdimm = nvdimm_create(cxl_nvb->nvdimm_bus, cxl_nvd, NULL, flags, in cxl_nvdimm_probe()89 cxl_nvd->bridge = cxl_nvb; in cxl_nvdimm_probe()184 struct cxl_nvdimm *cxl_nvd = nvdimm_provider_data(nvdimm); in cxl_pmem_nvdimm_ctl() local[all …]
431 struct cxl_nvdimm *cxl_nvd; member