Home
last modified time | relevance | path

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

/linux/drivers/nvdimm/
H A Dregion_devs.c186 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release()
203 struct nd_region *to_nd_region(struct device *dev) in to_nd_region() function
210 EXPORT_SYMBOL_GPL(to_nd_region);
272 struct nd_region *nd_region = to_nd_region(dev); in size_show()
281 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show()
295 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store()
312 struct nd_region *nd_region = to_nd_region(dev); in mappings_show()
321 struct nd_region *nd_region = to_nd_region(dev); in nstype_show()
330 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show()
408 struct nd_region *nd_region = to_nd_region(dev); in available_size_show()
[all …]
H A Dregion.c18 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe()
85 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove()
125 struct nd_region *nd_region = to_nd_region(dev); in nd_region_notify()
H A 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()
H A Dclaim.c60 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle()
278 ret = nvdimm_flush(to_nd_region(ndns->dev.parent), NULL); in nsio_rw_bytes()
304 nvdimm_badblocks_populate(to_nd_region(ndns->dev.parent), &nsio->bb, in devm_nsio_enable()
H A Dnamespace_devs.c27 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release()
92 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages()
144 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name()
188 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show()
264 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store()
617 nd_region = to_nd_region(dev); in __reserve_free_pmem()
750 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store()
842 struct nd_region *nd_region = to_nd_region(dev->parent); in size_store()
899 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_namespace_locked()
1025 struct nd_region *nd_region = to_nd_region(dev->parent); in uuid_store()
[all …]
H A Dpmem.c45 return to_nd_region(to_dev(pmem)->parent); in to_region()
467 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk()
677 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_remove()
682 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_shutdown()
699 nd_region = to_nd_region(ndns->dev.parent); in pmem_revalidate_poison()
H A Dbus.c42 return nd_region_to_nstype(to_nd_region(dev->parent)); in to_nd_device_type()
94 nd_region_advance_seeds(to_nd_region(dev->parent), dev); in nvdimm_bus_probe()
175 nd_region = to_nd_region(dev); in nvdimm_clear_badblocks_region()
524 set_dev_node(dev, to_nd_region(dev)->numa_node); in __nd_device_register()
627 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_check_and_set_ro()
682 nd_region = to_nd_region(dev); in nvdimm_dev_to_target_node()
684 nd_region = to_nd_region(parent); in nvdimm_dev_to_target_node()
H A Dpfn_devs.c20 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release()
355 struct nd_region *nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_clear_memmap_errors()
618 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe()
750 nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_init()
H A Dbtt_devs.c17 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_btt_release()
333 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe()
H A Dbtt.c1693 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
/linux/include/linux/
H A Dlibnvdimm.h267 struct nd_region *to_nd_region(struct device *dev);
/linux/tools/testing/nvdimm/test/
H A Dndtest.c388 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()
H A Dnfit.c651 nd_region = to_nd_region(dev); in nfit_test_search_region_spa()