Lines Matching refs:ndr_mappings
495 for (i = 0; i < nd_region->ndr_mappings; i++) { in shrink_dpa_allocation()
794 if (nd_region->ndr_mappings == 0) in __reserve_free_pmem()
799 for (i = 0; i < nd_region->ndr_mappings; i++) { in __reserve_free_pmem()
864 for (i = 0; i < nd_region->ndr_mappings; i++) { in grow_dpa_allocation()
934 * nd_region->ndr_mappings; in nd_namespace_pmem_set_resource()
990 if (nd_region->ndr_mappings == 0) { in __size_store()
995 div_u64_rem(val, SZ_4K * nd_region->ndr_mappings, &remainder); in __size_store()
998 (SZ_4K * nd_region->ndr_mappings) / SZ_1K); in __size_store()
1003 for (i = 0; i < nd_region->ndr_mappings; i++) { in __size_store()
1024 val = div_u64(val, nd_region->ndr_mappings); in __size_store()
1025 allocated = div_u64(allocated, nd_region->ndr_mappings); in __size_store()
1039 val * nd_region->ndr_mappings); in __size_store()
1190 for (i = 0; i < nd_region->ndr_mappings; i++) { in namespace_update_uuid()
1206 for (i = 0; i < nd_region->ndr_mappings; i++) { in namespace_update_uuid()
1355 for (i = 0; i < nd_region->ndr_mappings; i++) { in dpa_extents_show()
1600 for (i = 0; i < nd_region->ndr_mappings; i++) { in has_uuid_at_pos()
1629 if (nlabel != nd_region->ndr_mappings) in has_uuid_at_pos()
1649 for (i = 0; i < nd_region->ndr_mappings; i++) { in select_pmem_id()
1741 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespace_pmem()
1749 if (i < nd_region->ndr_mappings) { in create_namespace_pmem()
1776 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespace_pmem()
2161 for (i = 0; i < nd_region->ndr_mappings; i++) { in scan_labels()
2206 if (nd_region->ndr_mappings == 0) in create_namespaces()
2210 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespaces()
2217 for (i = 0; i < nd_region->ndr_mappings; i++) { in create_namespaces()
2218 int reverse = nd_region->ndr_mappings - 1 - i; in create_namespaces()
2231 for (i = 0; i < nd_region->ndr_mappings; i++) { in init_active_labels()