Searched refs:dax_region (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/dax/ |
D | bus.c | 176 static bool is_static(struct dax_region *dax_region) in is_static() argument 178 return (dax_region->res.flags & IORESOURCE_DAX_STATIC) != 0; in is_static() 204 struct dax_region *dax_region = dev_dax->region; in dax_bus_probe() local 219 if (rc || is_static(dax_region)) in dax_bus_probe() 226 if (dax_region->seed == dev) in dax_bus_probe() 227 dax_region->seed = NULL; in dax_bus_probe() 267 struct dax_region *dax_region = dev_get_drvdata(dev); in id_show() local 269 return sysfs_emit(buf, "%d\n", dax_region->id); in id_show() 276 struct dax_region *dax_region = dev_get_drvdata(dev); in region_size_show() local 279 (unsigned long long)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.12.1/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()
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-bus-dax | 74 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/available_size 84 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/size 92 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/align 103 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/seed 114 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/create 123 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/delete 131 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/id
|