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()
208 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in resource_show()235 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in size_show()375 nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_clear_memmap_errors()583 nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_validate()685 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in __nvdimm_setup_pfn()723 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_init()
474 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in pmem_attach_disk()709 nsio = to_nd_namespace_io(&ndns->dev); in pmem_revalidate_poison()731 nsio = to_nd_namespace_io(&ndns->dev); in pmem_revalidate_poison()
18 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in namespace_io_release()105 nsio = to_nd_namespace_io(dev); in pmem_should_map_pages()877 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in __nvdimm_namespace_capacity()1070 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in resource_show()1489 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nvdimm_namespace_common_probe()1514 return devm_nsio_enable(dev, to_nd_namespace_io(&ndns->dev), size); in devm_namespace_enable()1520 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()
965 nsio = to_nd_namespace_io(&ndns->dev); in nd_pmem_forget_poison_check()
1598 nsio = to_nd_namespace_io(&nd_btt->ndns->dev); in btt_init()
42 nsio = to_nd_namespace_io(&ndns->dev); in __dax_pmem_probe()