Searched refs:nsio (Results 1 – 4 of 4) sorted by relevance
23 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in namespace_io_release() local25 kfree(nsio); in namespace_io_release()355 resource_size_t size = resource_size(&nspm->nsio.res); in nd_namespace_label_update()841 struct resource *res = &nspm->nsio.res; in nd_namespace_pmem_set_size()992 return resource_size(&nspm->nsio.res); in __nvdimm_namespace_capacity()996 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in __nvdimm_namespace_capacity() local998 return resource_size(&nsio->res); in __nvdimm_namespace_capacity()1153 res = &nspm->nsio.res; in resource_show()1155 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in resource_show() local1157 res = &nsio->res; in resource_show()[all …]
311 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nvdimm_namespace_attach_pfn() local333 if (nsio->res.start & ND_PFN_MASK) { in nvdimm_namespace_attach_pfn()355 pmem->virt_addr = (void __pmem *) devm_memremap_pages(dev, &nsio->res); in nvdimm_namespace_attach_pfn()377 struct nd_namespace_io *nsio; in nd_pmem_probe() local384 nsio = to_nd_namespace_io(&ndns->dev); in nd_pmem_probe()385 pmem = pmem_alloc(dev, &nsio->res, nd_region->id); in nd_pmem_probe()
235 struct nd_namespace_io *nsio; in nd_pfn_validate() local288 nsio = to_nd_namespace_io(&ndns->dev); in nd_pfn_validate()289 if (nsio->res.start & ND_PFN_MASK) { in nd_pfn_validate()294 } else if (offset >= resource_size(&nsio->res)) { in nd_pfn_validate()
525 rawsize = div_u64(resource_size(&nspm->nsio.res), in __pmem_label_update()