Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/nvdimm/
Dregion_devs.c126 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release()
173 struct nd_region *to_nd_region(struct device *dev) in to_nd_region() function
180 EXPORT_SYMBOL_GPL(to_nd_region);
192 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region()
252 struct nd_region *nd_region = to_nd_region(dev); in size_show()
270 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show()
284 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store()
301 struct nd_region *nd_region = to_nd_region(dev); in mappings_show()
310 struct nd_region *nd_region = to_nd_region(dev); in nstype_show()
319 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()
91 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove()
123 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()
101 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()
318 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()
356 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk()
552 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_remove()
559 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_shutdown()
579 nd_region = to_nd_region(ndns->dev.parent); in nd_pmem_notify()
Dnamespace_devs.c25 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release()
37 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_blk_release()
132 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages()
184 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name()
243 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show()
296 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size()
314 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate()
410 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store()
807 nd_region = to_nd_region(dev); in __reserve_free_pmem()
973 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store()
[all …]
Dpfn_devs.c19 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release()
370 struct nd_region *nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_clear_memmap_errors()
604 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe()
738 nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_init()
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()
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()
534 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_revalidate_disk()
Ddimm_devs.c572 nd_region = to_nd_region(dev); in alias_dpa_busy()
Dbtt.c1703 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
/Linux-v5.4/drivers/dax/pmem/
Dcore.c23 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe()
/Linux-v5.4/include/linux/
Dlibnvdimm.h219 struct nd_region *to_nd_region(struct device *dev);
/Linux-v5.4/drivers/acpi/nfit/
Dcore.c2182 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()
2572 nfit_blk->nd_region = to_nd_region(dev); in acpi_nfit_blk_region_enable()
/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c649 nd_region = to_nd_region(dev); in nfit_test_search_region_spa()