Lines Matching refs:ndr_mappings
514 for (i = 0; i < nd_region->ndr_mappings; i++) { in shrink_dpa_allocation()
813 if (nd_region->ndr_mappings == 0) in __reserve_free_pmem()
818 for (i = 0; i < nd_region->ndr_mappings; i++) { in __reserve_free_pmem()
883 for (i = 0; i < nd_region->ndr_mappings; i++) { in grow_dpa_allocation()
953 * nd_region->ndr_mappings; in nd_namespace_pmem_set_resource()
1009 if (nd_region->ndr_mappings == 0) { in __size_store()
1014 div_u64_rem(val, SZ_4K * nd_region->ndr_mappings, &remainder); in __size_store()
1017 (SZ_4K * nd_region->ndr_mappings) / SZ_1K); in __size_store()
1022 for (i = 0; i < nd_region->ndr_mappings; i++) { in __size_store()
1043 val = div_u64(val, nd_region->ndr_mappings); in __size_store()
1044 allocated = div_u64(allocated, nd_region->ndr_mappings); in __size_store()
1058 val * nd_region->ndr_mappings); in __size_store()
1154 for (i = 0; i < nd_region->ndr_mappings; i++) { in nvdimm_namespace_locked()
1228 for (i = 0; i < nd_region->ndr_mappings; i++) { in namespace_update_uuid()
1244 for (i = 0; i < nd_region->ndr_mappings; i++) { in namespace_update_uuid()
1412 for (i = 0; i < nd_region->ndr_mappings; i++) { in dpa_extents_show()
1433 for (i = 0; i < nd_region->ndr_mappings; i++) { in btt_claim_class()
1787 for (i = 0; i < nd_region->ndr_mappings; i++) { in has_uuid_at_pos()
1825 if (nlabel != nd_region->ndr_mappings) in has_uuid_at_pos()
1845 for (i = 0; i < nd_region->ndr_mappings; i++) { in select_pmem_id()
1938 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespace_pmem()
1946 if (i < nd_region->ndr_mappings) { in create_namespace_pmem()
1973 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespace_pmem()
2387 for (i = 0; i < nd_region->ndr_mappings; i++) { in scan_labels()
2432 if (nd_region->ndr_mappings == 0) in create_namespaces()
2436 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespaces()
2443 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespaces()
2444 int reverse = nd_region->ndr_mappings - 1 - i; in create_namespaces()
2457 for (i = 0; i < nd_region->ndr_mappings; i++) { in init_active_labels()