Lines Matching refs:nsio
209 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in resource_show() local
211 rc = sprintf(buf, "%#llx\n", (unsigned long long) nsio->res.start in resource_show()
236 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in size_show() local
239 resource_size(&nsio->res) - start_pad in size_show()
368 struct nd_namespace_io *nsio; in nd_pfn_clear_memmap_errors() local
373 nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_clear_memmap_errors()
396 + (first_bad << 9)) - nsio->res.start, in nd_pfn_clear_memmap_errors()
451 struct nd_namespace_io *nsio; in nd_pfn_validate() local
581 nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_validate()
582 res = &nsio->res; in nd_pfn_validate()
683 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in __nvdimm_setup_pfn() local
684 resource_size_t base = nsio->res.start + start_pad; in __nvdimm_setup_pfn()
685 resource_size_t end = nsio->res.end - end_trunc; in __nvdimm_setup_pfn()
693 .start = nsio->res.start + start_pad, in __nvdimm_setup_pfn()
694 .end = nsio->res.end - end_trunc, in __nvdimm_setup_pfn()
721 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_init() local
765 start = nsio->res.start; in nd_pfn_init()
766 size = resource_size(&nsio->res); in nd_pfn_init()