Home
last modified time | relevance | path

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

/linux/drivers/nvdimm/
H A Dregion_devs.c186 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release()
201 struct nd_region *to_nd_region(struct device *dev) in to_nd_region() function
208 EXPORT_SYMBOL_GPL(to_nd_region);
270 struct nd_region *nd_region = to_nd_region(dev); in size_show()
279 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show()
293 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store()
310 struct nd_region *nd_region = to_nd_region(dev); in mappings_show()
319 struct nd_region *nd_region = to_nd_region(dev); in nstype_show()
328 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show()
406 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 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()
523 set_dev_node(dev, to_nd_region(dev)->numa_node); in __nd_device_register()
626 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_check_and_set_ro()
681 nd_region = to_nd_region(dev); in nvdimm_dev_to_target_node()
683 nd_region = to_nd_region(parent); in nvdimm_dev_to_target_node()
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 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()
/linux/tools/testing/nvdimm/test/
H A Dndtest.c389 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()
/linux/drivers/acpi/nfit/
H A Dcore.c2176 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()