• Home
  • Raw
  • Download

Lines Matching refs:nsio

25 	struct nd_namespace_io *nsio = to_nd_namespace_io(dev);  in namespace_io_release()  local
27 kfree(nsio); in namespace_io_release()
141 struct nd_namespace_io *nsio; in pmem_should_map_pages() local
152 nsio = to_nd_namespace_io(dev); in pmem_should_map_pages()
153 if (region_intersects(nsio->res.start, resource_size(&nsio->res), in pmem_should_map_pages()
371 resource_size_t size = resource_size(&nspm->nsio.res); in nd_namespace_label_update()
909 struct resource *res = &nspm->nsio.res; in nd_namespace_pmem_set_resource()
1105 return resource_size(&nspm->nsio.res); in __nvdimm_namespace_capacity()
1109 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in __nvdimm_namespace_capacity() local
1111 return resource_size(&nsio->res); in __nvdimm_namespace_capacity()
1271 res = &nspm->nsio.res; in resource_show()
1273 struct nd_namespace_io *nsio = to_nd_namespace_io(dev); in resource_show() local
1275 res = &nsio->res; in resource_show()
1567 struct nd_namespace_io *nsio; in create_namespace_io() local
1571 nsio = kzalloc(sizeof(*nsio), GFP_KERNEL); in create_namespace_io()
1572 if (!nsio) in create_namespace_io()
1577 kfree(nsio); in create_namespace_io()
1581 dev = &nsio->common.dev; in create_namespace_io()
1584 res = &nsio->res; in create_namespace_io()
1734 dev = &nspm->nsio.common.dev; in create_namespace_pmem()
1737 res = &nspm->nsio.res; in create_namespace_pmem()
1886 dev = &nspm->nsio.common.dev; in nd_namespace_pmem_create()
1889 res = &nspm->nsio.res; in nd_namespace_pmem_create()
2062 return memcmp(&nspm_a->nsio.res.start, &nspm_b->nsio.res.start, in cmp_dpa()
2153 dev = &nspm->nsio.common.dev; in scan_labels()