Searched refs:dax_region (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/dax/ |
D | bus.c | 167 static bool is_static(struct dax_region *dax_region) in is_static() argument 169 return (dax_region->res.flags & IORESOURCE_DAX_STATIC) != 0; in is_static() 195 struct dax_region *dax_region = dev_dax->region; in dax_bus_probe() local 203 if (rc || is_static(dax_region)) in dax_bus_probe() 210 if (dax_region->seed == dev) in dax_bus_probe() 211 dax_region->seed = NULL; in dax_bus_probe() 251 struct dax_region *dax_region = dev_get_drvdata(dev); in id_show() local 253 return sprintf(buf, "%d\n", dax_region->id); in id_show() 260 struct dax_region *dax_region = dev_get_drvdata(dev); in region_size_show() local 263 resource_size(&dax_region->res)); in region_size_show() [all …]
|
D | cxl.c | 14 struct dax_region *dax_region; in cxl_dax_region_probe() local 20 dax_region = alloc_dax_region(dev, cxlr->id, &cxlr_dax->hpa_range, nid, in cxl_dax_region_probe() 22 if (!dax_region) in cxl_dax_region_probe() 26 .dax_region = dax_region, in cxl_dax_region_probe()
|
D | pmem.c | 18 struct dax_region *dax_region; in __dax_pmem_probe() local 55 dax_region = alloc_dax_region(dev, region_id, &range, in __dax_pmem_probe() 58 if (!dax_region) in __dax_pmem_probe() 62 .dax_region = dax_region, in __dax_pmem_probe()
|
D | bus.h | 11 struct dax_region; 17 struct dax_region *alloc_dax_region(struct device *parent, int region_id, 22 struct dax_region *dax_region; member
|
D | dax-private.h | 31 struct dax_region { struct 64 struct dax_region *region;
|
/linux-6.6.21/drivers/dax/hmem/ |
D | hmem.c | 16 struct dax_region *dax_region; in dax_hmem_probe() local 30 dax_region = alloc_dax_region(dev, pdev->id, &mri->range, in dax_hmem_probe() 32 if (!dax_region) in dax_hmem_probe() 36 .dax_region = dax_region, in dax_hmem_probe()
|