Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvdimm/
Dregion_devs.c126 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release()
143 struct nd_region *to_nd_region(struct device *dev) in to_nd_region() function
150 EXPORT_SYMBOL_GPL(to_nd_region);
162 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region()
235 struct nd_region *nd_region = to_nd_region(dev); in size_show()
244 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show()
258 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store()
275 struct nd_region *nd_region = to_nd_region(dev); in mappings_show()
284 struct nd_region *nd_region = to_nd_region(dev); in nstype_show()
293 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show()
[all …]
Dregion.c17 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe()
92 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove()
124 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.c78 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle()
296 ret = nvdimm_flush(to_nd_region(ndns->dev.parent), NULL); in nsio_rw_bytes()
322 nvdimm_badblocks_populate(to_nd_region(ndns->dev.parent), &nsio->bb, in devm_nsio_enable()
Dpmem.c44 return to_nd_region(to_dev(pmem)->parent); in to_region()
375 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk()
581 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_remove()
588 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_shutdown()
608 nd_region = to_nd_region(ndns->dev.parent); in nd_pmem_notify()
Dnamespace_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release()
38 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_blk_release()
107 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages()
159 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name()
218 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show()
271 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size()
289 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate()
385 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store()
787 nd_region = to_nd_region(dev); in __reserve_free_pmem()
953 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store()
[all …]
Dbus.c43 return nd_region_to_nstype(to_nd_region(dev->parent)); in to_nd_device_type()
100 nd_region_advance_seeds(to_nd_region(dev->parent), dev); in nvdimm_bus_probe()
186 nd_region = to_nd_region(dev); in nvdimm_clear_badblocks_region()
539 set_dev_node(dev, to_nd_region(dev)->numa_node); in __nd_device_register()
634 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_check_and_set_ro()
691 nd_region = to_nd_region(dev); in nvdimm_dev_to_target_node()
693 nd_region = to_nd_region(parent); in nvdimm_dev_to_target_node()
Dbtt_devs.c18 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_btt_release()
336 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe()
Dpfn_devs.c19 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release()
362 struct nd_region *nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_clear_memmap_errors()
619 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe()
751 nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_init()
Ddimm_devs.c713 nd_region = to_nd_region(dev); in alias_dpa_busy()
Dbtt.c1705 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
/Linux-v5.10/drivers/dax/pmem/
Dcore.c24 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe()
/Linux-v5.10/include/linux/
Dlibnvdimm.h259 struct nd_region *to_nd_region(struct device *dev);
/Linux-v5.10/drivers/acpi/nfit/
Dcore.c2243 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()
2629 nfit_blk->nd_region = to_nd_region(dev); in acpi_nfit_blk_region_enable()
/Linux-v5.10/tools/testing/nvdimm/test/
Dnfit.c654 nd_region = to_nd_region(dev); in nfit_test_search_region_spa()