Searched refs:dax_dev (Results 1 – 4 of 4) sorted by relevance
/drivers/dax/ |
D | dax.c | 68 struct dax_dev { struct 231 static struct dax_dev *to_dax_dev(struct device *dev) in to_dax_dev() 233 return container_of(dev, struct dax_dev, dev); in to_dax_dev() 239 struct dax_dev *dax_dev = to_dax_dev(dev); in size_show() local 243 for (i = 0; i < dax_dev->num_resources; i++) in size_show() 244 size += resource_size(&dax_dev->res[i]); in size_show() 264 static int check_vma(struct dax_dev *dax_dev, struct vm_area_struct *vma, in check_vma() argument 267 struct dax_region *dax_region = dax_dev->region; in check_vma() 268 struct device *dev = &dax_dev->dev; in check_vma() 271 if (!dax_dev->alive) in check_vma() [all …]
|
D | pmem.c | 63 struct dax_dev *dax_dev; in dax_pmem_probe() local 134 dax_dev = devm_create_dax_dev(dax_region, id, &res, 1); in dax_pmem_probe() 139 return PTR_ERR_OR_ZERO(dax_dev); in dax_pmem_probe()
|
D | dax.h | 16 struct dax_dev; 23 struct dax_dev *devm_create_dax_dev(struct dax_region *dax_region,
|
/drivers/nvdimm/ |
D | dax_devs.c | 106 struct device *dax_dev; in nd_dax_probe() local 117 dax_dev = nd_pfn_devinit(nd_pfn, ndns); in nd_dax_probe() 119 if (!dax_dev) in nd_dax_probe() 125 rc == 0 ? dev_name(dax_dev) : "<none>"); in nd_dax_probe() 127 __nd_detach_ndns(dax_dev, &nd_pfn->ndns); in nd_dax_probe() 128 put_device(dax_dev); in nd_dax_probe() 130 __nd_device_register(dax_dev); in nd_dax_probe()
|