ndr_mappings 573 drivers/nvdimm/dimm_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 579 drivers/nvdimm/dimm_devs.c if (i >= nd_region->ndr_mappings) ndr_mappings 803 drivers/nvdimm/label.c nd_label->nlabel = __cpu_to_le16(nd_region->ndr_mappings); ndr_mappings 1249 drivers/nvdimm/label.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1281 drivers/nvdimm/label.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 509 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 808 drivers/nvdimm/namespace_devs.c if (nd_region->ndr_mappings == 0) ndr_mappings 813 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 878 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 948 drivers/nvdimm/namespace_devs.c * nd_region->ndr_mappings; ndr_mappings 1004 drivers/nvdimm/namespace_devs.c if (nd_region->ndr_mappings == 0) { ndr_mappings 1009 drivers/nvdimm/namespace_devs.c div_u64_rem(val, PAGE_SIZE * nd_region->ndr_mappings, &remainder); ndr_mappings 1012 drivers/nvdimm/namespace_devs.c (PAGE_SIZE * nd_region->ndr_mappings) / SZ_1K); ndr_mappings 1017 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1038 drivers/nvdimm/namespace_devs.c val = div_u64(val, nd_region->ndr_mappings); ndr_mappings 1039 drivers/nvdimm/namespace_devs.c allocated = div_u64(allocated, nd_region->ndr_mappings); ndr_mappings 1053 drivers/nvdimm/namespace_devs.c val * nd_region->ndr_mappings); ndr_mappings 1149 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1223 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1239 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1422 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1443 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1797 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1835 drivers/nvdimm/namespace_devs.c if (nlabel != nd_region->ndr_mappings) ndr_mappings 1855 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1948 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 1956 drivers/nvdimm/namespace_devs.c if (i < nd_region->ndr_mappings) { ndr_mappings 1983 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 2400 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 2445 drivers/nvdimm/namespace_devs.c if (nd_region->ndr_mappings == 0) ndr_mappings 2449 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 2456 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 2457 drivers/nvdimm/namespace_devs.c int reverse = nd_region->ndr_mappings - 1 - i; ndr_mappings 2471 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 2491 drivers/nvdimm/namespace_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 2548 drivers/nvdimm/namespace_devs.c if (i < nd_region->ndr_mappings) { ndr_mappings 149 drivers/nvdimm/nd.h u16 ndr_mappings; ndr_mappings 70 drivers/nvdimm/region_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 97 drivers/nvdimm/region_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 110 drivers/nvdimm/region_devs.c for (i = 0; i < nd_region->ndr_mappings - 1; i++) { ndr_mappings 115 drivers/nvdimm/region_devs.c for (j = i + 1; j < nd_region->ndr_mappings; j++) ndr_mappings 129 drivers/nvdimm/region_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 230 drivers/nvdimm/region_devs.c for (i = 0, alias = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 257 drivers/nvdimm/region_devs.c } else if (nd_region->ndr_mappings == 1) { ndr_mappings 303 drivers/nvdimm/region_devs.c return sprintf(buf, "%d\n", nd_region->ndr_mappings); ndr_mappings 337 drivers/nvdimm/region_devs.c if (nd_region->ndr_mappings) { ndr_mappings 369 drivers/nvdimm/region_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 400 drivers/nvdimm/region_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 411 drivers/nvdimm/region_devs.c return available * nd_region->ndr_mappings; ndr_mappings 757 drivers/nvdimm/region_devs.c if (n >= nd_region->ndr_mappings) ndr_mappings 817 drivers/nvdimm/region_devs.c if (n < nd_region->ndr_mappings) ndr_mappings 872 drivers/nvdimm/region_devs.c if (nd_region->ndr_mappings < 1) { ndr_mappings 1017 drivers/nvdimm/region_devs.c nd_region->ndr_mappings = ndr_desc->num_mappings; ndr_mappings 1119 drivers/nvdimm/region_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) ndr_mappings 1141 drivers/nvdimm/region_devs.c if (nd_region->ndr_mappings == 0 ndr_mappings 1145 drivers/nvdimm/region_devs.c for (i = 0; i < nd_region->ndr_mappings; i++) { ndr_mappings 686 tools/testing/nvdimm/test/nfit.c nd_mapping = &nd_region->mapping[nd_region->ndr_mappings - 1];