Searched refs:to_nd_region (Results 1 – 13 of 13) sorted by relevance
126 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() function150 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 …]
17 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()
15 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()
26 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 …]
45 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()
79 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()
43 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()
19 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()
18 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()
743 nd_region = to_nd_region(dev); in alias_dpa_busy()
1694 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
24 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe()
2256 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()