Searched refs:dax_region (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/dax/ |
D | bus.c | 134 static bool is_static(struct dax_region *dax_region) in is_static() argument 136 return (dax_region->res.flags & IORESOURCE_DAX_STATIC) != 0; in is_static() 156 struct dax_region *dax_region = dev_dax->region; in dax_bus_probe() local 164 if (rc || is_static(dax_region)) in dax_bus_probe() 171 if (dax_region->seed == dev) in dax_bus_probe() 172 dax_region->seed = NULL; in dax_bus_probe() 216 struct dax_region *dax_region = dev_get_drvdata(dev); in id_show() local 218 return sprintf(buf, "%d\n", dax_region->id); in id_show() 225 struct dax_region *dax_region = dev_get_drvdata(dev); in region_size_show() local 228 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, 25 struct dax_region *dax_region; member
|
D | dax-private.h | 31 struct dax_region { struct 63 struct dax_region *region; argument
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/dax/pmem/ |
D | core.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() 72 dax_region_put(dax_region); in __dax_pmem_probe()
|