Searched refs:to_nd_namespace_io (Results 1 – 8 of 8) sorted by relevance
115 static inline struct nd_namespace_io *to_nd_namespace_io(const struct device *dev) in to_nd_namespace_io() function122 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in to_nd_namespace_pmem()
209 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in resource_show()236 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in size_show()373 nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_clear_memmap_errors()581 nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_validate()683 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in __nvdimm_setup_pfn()721 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_init()
374 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in pmem_attach_disk()609 nsio = to_nd_namespace_io(&ndns->dev); in nd_pmem_notify()631 nsio = to_nd_namespace_io(&ndns->dev); in nd_pmem_notify()
18 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in namespace_io_release()123 nsio = to_nd_namespace_io(dev); in pmem_should_map_pages()1102 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in __nvdimm_namespace_capacity()1301 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in resource_show()1754 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nvdimm_namespace_common_probe()1793 return devm_nsio_enable(dev, to_nd_namespace_io(&ndns->dev), size); in devm_namespace_enable()1801 devm_nsio_disable(dev, to_nd_namespace_io(&ndns->dev)); in devm_namespace_disable()
255 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nsio_rw_bytes()
962 nsio = to_nd_namespace_io(&ndns->dev); in nd_pmem_forget_poison_check()
1606 nsio = to_nd_namespace_io(&nd_btt->ndns->dev); in btt_init()
42 nsio = to_nd_namespace_io(&ndns->dev); in __dax_pmem_probe()