Searched refs:ndr_mappings (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/nvdimm/ |
D | region_devs.c | 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() [all …]
|
D | namespace_devs.c | 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() [all …]
|
D | dimm_devs.c | 702 if (dev_WARN_ONCE(dev, !nd_region->ndr_mappings || nd_region->align in dpa_align() 703 % nd_region->ndr_mappings, in dpa_align() 705 nd_region->align, nd_region->ndr_mappings)) in dpa_align() 707 return nd_region->align / nd_region->ndr_mappings; in dpa_align()
|
D | nd.h | 415 u16 ndr_mappings; member 434 return nsl_get_nlabel(ndd, nd_label) == nd_region->ndr_mappings; in nsl_validate_nlabel()
|
D | label.c | 916 nsl_set_nlabel(ndd, nd_label, nd_region->ndr_mappings); in __pmem_label_update() 1061 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_pmem_namespace_label_update() 1093 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_pmem_namespace_label_update()
|
/linux-6.1.9/tools/testing/nvdimm/test/ |
D | nfit.c | 688 nd_mapping = &nd_region->mapping[nd_region->ndr_mappings - 1]; in nfit_test_search_spa()
|