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.c173 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release()
188 struct nd_region *to_nd_region(struct device *dev) in to_nd_region() function
195 EXPORT_SYMBOL_GPL(to_nd_region);
257 struct nd_region *nd_region = to_nd_region(dev); in size_show()
266 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show()
280 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store()
297 struct nd_region *nd_region = to_nd_region(dev); in mappings_show()
306 struct nd_region *nd_region = to_nd_region(dev); in nstype_show()
315 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show()
395 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 Dclaim.c72 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_match()
290 ret = nvdimm_flush(to_nd_region(ndns->dev.parent), NULL); in nsio_rw_bytes()
316 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()
619 nd_region = to_nd_region(dev); in __reserve_free_pmem()
752 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store()
844 struct nd_region *nd_region = to_nd_region(dev->parent); in size_store()
909 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_namespace_locked()
1035 struct nd_region *nd_region = to_nd_region(dev->parent); in uuid_store()
[all …]
H A Dbus.c43 return nd_region_to_nstype(to_nd_region(dev->parent)); in to_nd_device_type()
97 nd_region_advance_seeds(to_nd_region(dev->parent), dev); in nvdimm_bus_probe()
178 nd_region = to_nd_region(dev); in nvdimm_clear_badblocks_region()
526 set_dev_node(dev, to_nd_region(dev)->numa_node); in __nd_device_register()
629 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_check_and_set_ro()
684 nd_region = to_nd_region(dev); in nvdimm_dev_to_target_node()
686 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()
340 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe()
H A Dbtt.c1679 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
/linux/include/linux/
H A Dlibnvdimm.h253 struct nd_region *to_nd_region(struct device *dev);
/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()