Lines Matching refs:nsio

18 	struct nd_namespace_io *nsio = to_nd_namespace_io(dev);  in namespace_io_release()  local
20 kfree(nsio); in namespace_io_release()
109 struct nd_namespace_io *nsio; in pmem_should_map_pages() local
123 nsio = to_nd_namespace_io(dev); in pmem_should_map_pages()
124 if (region_intersects(nsio->res.start, resource_size(&nsio->res), in pmem_should_map_pages()
360 resource_size_t size = resource_size(&nspm->nsio.res); in nd_namespace_label_update()
903 struct resource *res = &nspm->nsio.res; in nd_namespace_pmem_set_resource()
1098 return resource_size(&nspm->nsio.res); in __nvdimm_namespace_capacity()
1102 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in __nvdimm_namespace_capacity() local
1104 return resource_size(&nsio->res); in __nvdimm_namespace_capacity()
1299 res = &nspm->nsio.res; in resource_show()
1301 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in resource_show() local
1303 res = &nsio->res; in resource_show()
1754 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in nvdimm_namespace_common_probe() local
1755 struct resource *res = &nsio->res; in nvdimm_namespace_common_probe()
1807 struct nd_namespace_io *nsio; in create_namespace_io() local
1811 nsio = kzalloc(sizeof(*nsio), GFP_KERNEL); in create_namespace_io()
1812 if (!nsio) in create_namespace_io()
1817 kfree(nsio); in create_namespace_io()
1821 dev = &nsio->common.dev; in create_namespace_io()
1824 res = &nsio->res; in create_namespace_io()
1984 dev = &nspm->nsio.common.dev; in create_namespace_pmem()
1987 res = &nspm->nsio.res; in create_namespace_pmem()
2051 nspm->nsio.common.claim_class in create_namespace_pmem()
2141 dev = &nspm->nsio.common.dev; in nd_namespace_pmem_create()
2144 res = &nspm->nsio.res; in nd_namespace_pmem_create()
2338 return memcmp(&nspm_a->nsio.res.start, &nspm_b->nsio.res.start, in cmp_dpa()
2433 dev = &nspm->nsio.common.dev; in scan_labels()