Searched refs:to_nd_namespace_io (Results 1 – 8 of 8) sorted by relevance
147 static inline struct nd_namespace_io *to_nd_namespace_io(const struct device *dev) in to_nd_namespace_io() function154 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in to_nd_namespace_pmem()
210 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in resource_show()237 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in size_show()377 nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_clear_memmap_errors()587 nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_validate()692 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in __nvdimm_setup_pfn()730 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_init()
452 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in pmem_attach_disk()688 nsio = to_nd_namespace_io(&ndns->dev); in pmem_revalidate_poison()710 nsio = to_nd_namespace_io(&ndns->dev); in pmem_revalidate_poison()
19 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in namespace_io_release()106 nsio = to_nd_namespace_io(dev); in pmem_should_map_pages()878 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in __nvdimm_namespace_capacity()1071 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in resource_show()1490 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nvdimm_namespace_common_probe()1515 return devm_nsio_enable(dev, to_nd_namespace_io(&ndns->dev), size); in devm_namespace_enable()1521 devm_nsio_disable(dev, to_nd_namespace_io(&ndns->dev)); in devm_namespace_disable()
256 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nsio_rw_bytes()
978 nsio = to_nd_namespace_io(&ndns->dev); in nd_pmem_forget_poison_check()
1584 nsio = to_nd_namespace_io(&nd_btt->ndns->dev); in btt_init()
41 nsio = to_nd_namespace_io(&ndns->dev); in __dax_pmem_probe()