Home
last modified time | relevance | path

Searched refs:to_nd_region (Results 1 – 13 of 13) sorted by relevance

/drivers/nvdimm/
Dregion_devs.c126 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release()
143 struct nd_region *to_nd_region(struct device *dev) in to_nd_region() function
150 EXPORT_SYMBOL_GPL(to_nd_region);
162 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region()
235 struct nd_region *nd_region = to_nd_region(dev); in size_show()
244 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show()
258 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store()
275 struct nd_region *nd_region = to_nd_region(dev); in mappings_show()
284 struct nd_region *nd_region = to_nd_region(dev); in nstype_show()
293 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show()
[all …]
Dregion.c17 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe()
92 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove()
122 struct nd_region *nd_region = to_nd_region(dev); in nd_region_notify()
Ddax_devs.c15 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_dax_release()
94 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_dax_probe()
Dnamespace_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release()
38 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_blk_release()
107 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages()
159 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name()
218 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show()
271 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size()
289 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate()
385 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store()
787 nd_region = to_nd_region(dev); in __reserve_free_pmem()
953 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store()
[all …]
Dpmem.c45 return to_nd_region(to_dev(pmem)->parent); in to_region()
351 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk()
548 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_remove()
553 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_shutdown()
570 nd_region = to_nd_region(ndns->dev.parent); in pmem_revalidate_poison()
Dclaim.c79 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle()
297 ret = nvdimm_flush(to_nd_region(ndns->dev.parent), NULL); in nsio_rw_bytes()
323 nvdimm_badblocks_populate(to_nd_region(ndns->dev.parent), &nsio->bb, in devm_nsio_enable()
Dbus.c43 return nd_region_to_nstype(to_nd_region(dev->parent)); in to_nd_device_type()
100 nd_region_advance_seeds(to_nd_region(dev->parent), dev); in nvdimm_bus_probe()
184 nd_region = to_nd_region(dev); in nvdimm_clear_badblocks_region()
529 set_dev_node(dev, to_nd_region(dev)->numa_node); in __nd_device_register()
625 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_check_and_set_ro()
680 nd_region = to_nd_region(dev); in nvdimm_dev_to_target_node()
682 nd_region = to_nd_region(parent); in nvdimm_dev_to_target_node()
Dpfn_devs.c19 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release()
362 struct nd_region *nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_clear_memmap_errors()
619 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe()
751 nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_init()
Dbtt_devs.c18 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_btt_release()
336 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe()
Ddimm_devs.c743 nd_region = to_nd_region(dev); in alias_dpa_busy()
Dbtt.c1694 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
/drivers/dax/pmem/
Dcore.c24 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe()
/drivers/acpi/nfit/
Dcore.c2256 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()
2623 nfit_blk->nd_region = to_nd_region(dev); in acpi_nfit_blk_region_enable()