Home
last modified time | relevance | path

Searched refs:ndr_mappings (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/nvdimm/
Dregion_devs.c70 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()
200 for (i = 0, label = 0; i < nd_region->ndr_mappings; i++) { in nd_region_to_nstype()
223 } else if (nd_region->ndr_mappings == 1) { in region_size()
277 return sprintf(buf, "%d\n", nd_region->ndr_mappings); in mappings_show()
311 if (nd_region->ndr_mappings) { in set_cookie_show()
343 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_available_dpa()
[all …]
Dnamespace_devs.c484 for (i = 0; i < nd_region->ndr_mappings; i++) { in shrink_dpa_allocation()
547 align = nd_region->align / nd_region->ndr_mappings; in space_valid()
788 if (nd_region->ndr_mappings == 0) in __reserve_free_pmem()
793 for (i = 0; i < nd_region->ndr_mappings; i++) { in __reserve_free_pmem()
858 for (i = 0; i < nd_region->ndr_mappings; i++) { in grow_dpa_allocation()
928 * nd_region->ndr_mappings; in nd_namespace_pmem_set_resource()
984 if (nd_region->ndr_mappings == 0) { in __size_store()
997 for (i = 0; i < nd_region->ndr_mappings; i++) { in __size_store()
1018 val = div_u64(val, nd_region->ndr_mappings); in __size_store()
1019 allocated = div_u64(allocated, nd_region->ndr_mappings); in __size_store()
[all …]
Ddimm_devs.c691 if (dev_WARN_ONCE(dev, !nd_region->ndr_mappings || nd_region->align in dpa_align()
692 % nd_region->ndr_mappings, in dpa_align()
694 nd_region->align, nd_region->ndr_mappings)) in dpa_align()
696 return nd_region->align / nd_region->ndr_mappings; in dpa_align()
714 for (i = 0; i < nd_region->ndr_mappings; i++) { in alias_dpa_busy()
720 if (i >= nd_region->ndr_mappings) in alias_dpa_busy()
Dlabel.c803 nd_label->nlabel = __cpu_to_le16(nd_region->ndr_mappings); in __pmem_label_update()
1249 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_pmem_namespace_label_update()
1281 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_pmem_namespace_label_update()
Dnd.h150 u16 ndr_mappings; member
/Linux-v5.10/tools/testing/nvdimm/test/
Dnfit.c691 nd_mapping = &nd_region->mapping[nd_region->ndr_mappings - 1]; in nfit_test_search_spa()