Searched refs:cxl_nvd (Results 1 – 2 of 2) sorted by relevance
144 struct cxl_nvdimm *cxl_nvd = to_cxl_nvdimm(dev); in cxl_nvdimm_release() local146 kfree(cxl_nvd); in cxl_nvdimm_release()177 struct cxl_nvdimm *cxl_nvd; in cxl_nvdimm_alloc() local180 cxl_nvd = kzalloc(sizeof(*cxl_nvd), GFP_KERNEL); in cxl_nvdimm_alloc()181 if (!cxl_nvd) in cxl_nvdimm_alloc()184 dev = &cxl_nvd->dev; in cxl_nvdimm_alloc()185 cxl_nvd->cxlmd = cxlmd; in cxl_nvdimm_alloc()192 return cxl_nvd; in cxl_nvdimm_alloc()204 struct cxl_nvdimm *cxl_nvd; in devm_cxl_add_nvdimm() local208 cxl_nvd = cxl_nvdimm_alloc(cxlmd); in devm_cxl_add_nvdimm()[all …]
41 struct cxl_nvdimm *cxl_nvd = to_cxl_nvdimm(dev); in cxl_nvdimm_probe() local56 nvdimm = nvdimm_create(cxl_nvb->nvdimm_bus, cxl_nvd, NULL, flags, 0, 0, in cxl_nvdimm_probe()