Lines Matching refs:ndr_mappings
70 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_activate()
97 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_activate()
110 for (i = 0; i < nd_region->ndr_mappings - 1; i++) { in nd_region_activate()
115 for (j = i + 1; j < nd_region->ndr_mappings; j++) in nd_region_activate()
129 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_release()
177 for (i = 0, label = 0; i < nd_region->ndr_mappings; i++) { in nd_region_to_nstype()
198 } else if (nd_region->ndr_mappings == 1) { in region_size()
252 return sprintf(buf, "%d\n", nd_region->ndr_mappings); in mappings_show()
286 if (nd_region->ndr_mappings) { in set_cookie_show()
316 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_available_dpa()
336 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_allocatable_dpa()
342 return avail * nd_region->ndr_mappings; in nd_region_allocatable_dpa()
526 mappings = max_t(u32, 1, nd_region->ndr_mappings); in align_store()
665 if (n >= nd_region->ndr_mappings) in mappingN()
725 if (n < nd_region->ndr_mappings) in mapping_visible()
943 mappings = max_t(u16, 1, nd_region->ndr_mappings); in default_align()
1018 nd_region->ndr_mappings = ndr_desc->num_mappings; in nd_region_create()
1120 for (i = 0; i < nd_region->ndr_mappings; i++) in generic_nvdimm_flush()
1142 if (nd_region->ndr_mappings == 0 in nvdimm_has_flush()
1151 for (i = 0; i < nd_region->ndr_mappings; i++) { in nvdimm_has_flush()