Home
last modified time | relevance | path

Searched refs:cxlr_dax (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/dax/
H A Dcxl.c11 struct cxl_dax_region *cxlr_dax = to_cxl_dax_region(dev); in cxl_dax_region_probe() local
12 int nid = phys_to_target_node(cxlr_dax->hpa_range.start); in cxl_dax_region_probe()
13 struct cxl_region *cxlr = cxlr_dax->cxlr; in cxl_dax_region_probe()
18 nid = memory_add_physaddr_to_nid(cxlr_dax->hpa_range.start); in cxl_dax_region_probe()
20 dax_region = alloc_dax_region(dev, cxlr->id, &cxlr_dax->hpa_range, nid, in cxl_dax_region_probe()
28 .size = range_len(&cxlr_dax->hpa_range), in cxl_dax_region_probe()
/linux/drivers/cxl/core/
H A Dregion.c3298 struct cxl_dax_region *cxlr_dax = to_cxl_dax_region(dev); in cxl_dax_region_release() local
3300 kfree(cxlr_dax); in cxl_dax_region_release()
3333 struct cxl_dax_region *cxlr_dax; in cxl_dax_region_alloc() local
3340 cxlr_dax = kzalloc(sizeof(*cxlr_dax), GFP_KERNEL); in cxl_dax_region_alloc()
3341 if (!cxlr_dax) in cxl_dax_region_alloc()
3344 cxlr_dax->hpa_range.start = p->res->start; in cxl_dax_region_alloc()
3345 cxlr_dax->hpa_range.end = p->res->end; in cxl_dax_region_alloc()
3347 dev = &cxlr_dax->dev; in cxl_dax_region_alloc()
3348 cxlr_dax->cxlr = cxlr; in cxl_dax_region_alloc()
3356 return cxlr_dax; in cxl_dax_region_alloc()
[all …]