Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/nvdimm/
Dregion_devs.c129 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release()
176 struct nd_region *to_nd_region(struct device *dev) in to_nd_region() function
183 EXPORT_SYMBOL_GPL(to_nd_region);
195 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region()
255 struct nd_region *nd_region = to_nd_region(dev); in size_show()
273 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show()
287 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store()
302 struct nd_region *nd_region = to_nd_region(dev); in mappings_show()
311 struct nd_region *nd_region = to_nd_region(dev); in nstype_show()
320 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show()
[all …]
Dregion.c25 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe()
99 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove()
131 struct nd_region *nd_region = to_nd_region(dev); in nd_region_notify()
Ddax_devs.c23 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_dax_release()
109 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_dax_probe()
Dpmem.c52 return to_nd_region(to_dev(pmem)->parent); in to_region()
352 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk()
531 nvdimm_flush(to_nd_region(dev->parent)); in nd_pmem_remove()
538 nvdimm_flush(to_nd_region(dev->parent)); in nd_pmem_shutdown()
558 nd_region = to_nd_region(ndns->dev.parent); in nd_pmem_notify()
Dclaim.c86 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle()
304 nvdimm_flush(to_nd_region(ndns->dev.parent)); in nsio_rw_bytes()
324 nvdimm_badblocks_populate(to_nd_region(ndns->dev.parent), &nsio->bb, in devm_nsio_enable()
Dnamespace_devs.c33 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release()
45 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_blk_release()
140 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages()
188 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name()
247 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show()
301 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size()
319 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate()
415 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store()
812 nd_region = to_nd_region(dev); in __reserve_free_pmem()
978 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store()
[all …]
Dbtt_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_btt_release()
328 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe()
Dpfn_devs.c27 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release()
490 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe()
622 nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_init()
Dbus.c50 return nd_region_to_nstype(to_nd_region(dev->parent)); in to_nd_device_type()
62 set_dev_node(dev, to_nd_region(dev)->numa_node); in nvdimm_bus_uevent()
195 nd_region = to_nd_region(dev); in nvdimm_clear_badblocks_region()
571 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_revalidate_disk()
Ddimm_devs.c445 nd_region = to_nd_region(dev); in alias_dpa_busy()
Dbtt.c1702 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
/Linux-v4.19/include/linux/
Dlibnvdimm.h169 struct nd_region *to_nd_region(struct device *dev);
/Linux-v4.19/drivers/acpi/nfit/
Dcore.c1989 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()
2380 nfit_blk->nd_region = to_nd_region(dev); in acpi_nfit_blk_region_enable()
/Linux-v4.19/tools/testing/nvdimm/test/
Dnfit.c643 nd_region = to_nd_region(dev); in nfit_test_search_region_spa()