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()
178 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nd_region_to_nstype() local
179 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_to_nstype()
199 struct nd_mapping *nd_mapping = &nd_region->mapping[0]; in region_size() local
201 return nd_mapping->size; in region_size()
287 struct nd_mapping *nd_mapping = &nd_region->mapping[0]; in set_cookie_show() local
288 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in set_cookie_show()
317 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nd_region_available_dpa() local
318 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_region_available_dpa()
324 available += nd_pmem_available_dpa(nd_region, nd_mapping); in nd_region_available_dpa()
337 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nd_region_allocatable_dpa() local
340 nd_region, nd_mapping)); in nd_region_allocatable_dpa()
662 struct nd_mapping *nd_mapping; in mappingN() local
667 nd_mapping = &nd_region->mapping[n]; in mappingN()
668 nvdimm = nd_mapping->nvdimm; in mappingN()
671 nd_mapping->start, nd_mapping->size, in mappingN()
672 nd_mapping->position); in mappingN()
829 void nd_mapping_free_labels(struct nd_mapping *nd_mapping) in nd_mapping_free_labels() argument
833 lockdep_assert_held(&nd_mapping->lock); in nd_mapping_free_labels()
834 list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) { in nd_mapping_free_labels()
1152 struct nd_mapping *nd_mapping = &nd_region->mapping[i]; in nvdimm_has_flush() local
1153 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nvdimm_has_flush()