Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
Dregion_devs.c126 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release()
141 struct nd_region *to_nd_region(struct device *dev) in to_nd_region() function
148 EXPORT_SYMBOL_GPL(to_nd_region);
210 struct nd_region *nd_region = to_nd_region(dev); in size_show()
219 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show()
233 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store()
250 struct nd_region *nd_region = to_nd_region(dev); in mappings_show()
259 struct nd_region *nd_region = to_nd_region(dev); in nstype_show()
268 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show()
348 struct nd_region *nd_region = to_nd_region(dev); in available_size_show()
[all …]
Dregion.c17 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe()
84 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove()
114 struct nd_region *nd_region = to_nd_region(dev); in nd_region_notify()
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()
Dclaim.c79 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()
Dnamespace_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release()
89 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages()
141 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name()
185 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show()
261 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store()
614 nd_region = to_nd_region(dev); in __reserve_free_pmem()
745 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store()
837 struct nd_region *nd_region = to_nd_region(dev->parent); in size_store()
902 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_namespace_locked()
1026 struct nd_region *nd_region = to_nd_region(dev->parent); in uuid_store()
[all …]
Dpmem.c45 return to_nd_region(to_dev(pmem)->parent); in to_region()
475 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk()
686 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_remove()
691 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_shutdown()
708 nd_region = to_nd_region(ndns->dev.parent); in pmem_revalidate_poison()
Dbus.c40 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()
613 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_check_and_set_ro()
668 nd_region = to_nd_region(dev); in nvdimm_dev_to_target_node()
670 nd_region = to_nd_region(parent); in nvdimm_dev_to_target_node()
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()
Dpfn_devs.c18 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release()
364 struct nd_region *nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_clear_memmap_errors()
621 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe()
753 nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_init()
Dbtt.c1697 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
/linux-6.1.9/drivers/dax/
Dpmem.c24 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe()
/linux-6.1.9/include/linux/
Dlibnvdimm.h243 struct nd_region *to_nd_region(struct device *dev);
/linux-6.1.9/tools/testing/nvdimm/test/
Dndtest.c383 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()
Dnfit.c651 nd_region = to_nd_region(dev); in nfit_test_search_region_spa()
/linux-6.1.9/drivers/acpi/nfit/
Dcore.c2172 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()