Lines Matching refs:nd_mapping

71 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];  in nd_region_activate()  local
72 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_activate()
98 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nd_region_activate() local
99 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_activate()
130 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nd_region_release() local
131 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_release()
231 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nd_region_to_nstype() local
232 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_to_nstype()
258 struct nd_mapping *nd_mapping = &nd_region->mapping[0]; in size_show() local
260 size = nd_mapping->size; in size_show()
338 struct nd_mapping *nd_mapping = &nd_region->mapping[0]; in set_cookie_show() local
339 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in set_cookie_show()
370 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nd_region_available_dpa() local
371 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_region_available_dpa()
379 nd_mapping, &overlap); in nd_region_available_dpa()
401 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nd_region_allocatable_dpa() local
406 nd_mapping)); in nd_region_allocatable_dpa()
706 void nd_mapping_free_labels(struct nd_mapping *nd_mapping) in nd_mapping_free_labels() argument
710 lockdep_assert_held(&nd_mapping->lock); in nd_mapping_free_labels()
711 list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) { in nd_mapping_free_labels()
754 struct nd_mapping *nd_mapping; in mappingN() local
759 nd_mapping = &nd_region->mapping[n]; in mappingN()
760 nvdimm = nd_mapping->nvdimm; in mappingN()
763 nd_mapping->start, nd_mapping->size, in mappingN()
764 nd_mapping->position); in mappingN()
970 ndbr = kzalloc(sizeof(*ndbr) + sizeof(struct nd_mapping) in nd_region_create()
1146 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nvdimm_has_flush() local
1147 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nvdimm_has_flush()