Searched refs:dax_region (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/dax/ |
D | bus.c | 148 static bool is_static(struct dax_region *dax_region) in is_static() argument 150 return (dax_region->res.flags & IORESOURCE_DAX_STATIC) != 0; in is_static() 176 struct dax_region *dax_region = dev_dax->region; in dax_bus_probe() local 184 if (rc || is_static(dax_region)) in dax_bus_probe() 191 if (dax_region->seed == dev) in dax_bus_probe() 192 dax_region->seed = NULL; in dax_bus_probe() 237 struct dax_region *dax_region = dev_get_drvdata(dev); in id_show() local 239 return sprintf(buf, "%d\n", dax_region->id); in id_show() 246 struct dax_region *dax_region = dev_get_drvdata(dev); in region_size_show() local 249 resource_size(&dax_region->res)); in region_size_show() [all …]
|
D | bus.h | 11 struct dax_region; 12 void dax_region_put(struct dax_region *dax_region); 15 struct dax_region *alloc_dax_region(struct device *parent, int region_id, 20 struct dax_region *dax_region; member
|
D | pmem.c | 19 struct dax_region *dax_region; in __dax_pmem_probe() local 56 dax_region = alloc_dax_region(dev, region_id, &range, in __dax_pmem_probe() 59 if (!dax_region) in __dax_pmem_probe() 63 .dax_region = dax_region, in __dax_pmem_probe() 71 dax_region_put(dax_region); in __dax_pmem_probe()
|
D | dax-private.h | 31 struct dax_region { struct 63 struct dax_region *region; argument
|
/linux-6.1.9/drivers/dax/hmem/ |
D | hmem.c | 14 struct dax_region *dax_region; in dax_hmem_probe() local 28 dax_region = alloc_dax_region(dev, pdev->id, &range, mri->target_node, in dax_hmem_probe() 30 if (!dax_region) in dax_hmem_probe() 34 .dax_region = dax_region, in dax_hmem_probe() 43 dax_region_put(dax_region); in dax_hmem_probe()
|