/kernel/linux/linux-5.10/drivers/nvdimm/ |
H A D | region_devs.c | 126 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); variable 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(de in set_cookie_show() [all...] |
H A D | region.c | 17 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()
|
H A D | dax_devs.c | 15 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 D | claim.c | 78 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()
|
H A D | pmem.c | 44 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()
|
H A D | namespace_devs.c | 26 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(de in __size_store() [all...] |
H A D | bus.c | 43 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()
|
H A D | btt_devs.c | 18 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()
|
H A D | pfn_devs.c | 19 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()
|
H A D | dimm_devs.c | 725 nd_region = to_nd_region(dev); in alias_dpa_busy()
|
/kernel/linux/linux-6.6/drivers/nvdimm/ |
H A D | region_devs.c | 173 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); variable 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(de in available_size_show() [all...] |
H A D | region.c | 18 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 D | dax_devs.c | 15 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 D | claim.c | 79 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()
|
H A D | namespace_devs.c | 27 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release() 90 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() 142 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name() 186 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() 262 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() 615 nd_region = to_nd_region(dev); in __reserve_free_pmem() 746 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store() 838 struct nd_region *nd_region = to_nd_region(dev->parent); in size_store() 903 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_namespace_locked() 1027 struct nd_region *nd_region = to_nd_region(de in uuid_store() [all...] |
H A D | bus.c | 40 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 D | pmem.c | 46 return to_nd_region(to_dev(pmem)->parent); in to_region() 453 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk() 665 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_remove() 670 nvdimm_flush(to_nd_region(dev->parent), NULL); in nd_pmem_shutdown() 687 nd_region = to_nd_region(ndns->dev.parent); in pmem_revalidate_poison()
|
H A D | btt_devs.c | 17 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 D | pfn_devs.c | 20 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release() 366 struct nd_region *nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_clear_memmap_errors() 628 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe() 760 nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_init()
|
/kernel/linux/linux-5.10/drivers/dax/pmem/ |
H A D | core.c | 24 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe()
|
/kernel/linux/linux-6.6/drivers/dax/ |
H A D | pmem.c | 23 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | libnvdimm.h | 259 struct nd_region *to_nd_region(struct device *dev);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | libnvdimm.h | 253 struct nd_region *to_nd_region(struct device *dev);
|
/kernel/linux/linux-6.6/tools/testing/nvdimm/test/ |
H A D | ndtest.c | 383 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()
|
/kernel/linux/linux-5.10/drivers/acpi/nfit/ |
H A D | core.c | 2248 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() 2634 nfit_blk->nd_region = to_nd_region(dev); in acpi_nfit_blk_region_enable()
|