Lines Matching refs:ndr_mappings
345 for (i = 0; i < nd_region->ndr_mappings; i++) { in shrink_dpa_allocation()
399 align = nd_region->align / nd_region->ndr_mappings; in space_valid()
615 if (nd_region->ndr_mappings == 0) in __reserve_free_pmem()
620 for (i = 0; i < nd_region->ndr_mappings; i++) { in __reserve_free_pmem()
670 for (i = 0; i < nd_region->ndr_mappings; i++) { in grow_dpa_allocation()
719 * nd_region->ndr_mappings; in nd_namespace_pmem_set_resource()
770 if (nd_region->ndr_mappings == 0) { in __size_store()
783 for (i = 0; i < nd_region->ndr_mappings; i++) { in __size_store()
804 val = div_u64(val, nd_region->ndr_mappings); in __size_store()
805 allocated = div_u64(allocated, nd_region->ndr_mappings); in __size_store()
819 val * nd_region->ndr_mappings); in __size_store()
904 for (i = 0; i < nd_region->ndr_mappings; i++) { in nvdimm_namespace_locked()
974 for (i = 0; i < nd_region->ndr_mappings; i++) { in namespace_update_uuid()
990 for (i = 0; i < nd_region->ndr_mappings; i++) { in namespace_update_uuid()
1151 for (i = 0; i < nd_region->ndr_mappings; i++) { in dpa_extents_show()
1172 for (i = 0; i < nd_region->ndr_mappings; i++) { in btt_claim_class()
1559 for (i = 0; i < nd_region->ndr_mappings; i++) { in has_uuid_at_pos()
1609 for (i = 0; i < nd_region->ndr_mappings; i++) { in select_pmem_id()
1706 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespace_pmem()
1715 if (i < nd_region->ndr_mappings) { in create_namespace_pmem()
1740 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespace_pmem()
2000 for (i = 0; i < nd_region->ndr_mappings; i++) { in scan_labels()
2042 if (nd_region->ndr_mappings == 0) in create_namespaces()
2046 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespaces()
2053 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespaces()
2054 int reverse = nd_region->ndr_mappings - 1 - i; in create_namespaces()
2068 for (i = 0; i < nd_region->ndr_mappings; i++) { in deactivate_labels()
2088 for (i = 0; i < nd_region->ndr_mappings; i++) { in init_active_labels()
2140 if (i < nd_region->ndr_mappings) in init_active_labels()