Home
last modified time | relevance | path

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

/drivers/nvdimm/
Dregion_devs.c79 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_activate()
101 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_activate()
114 for (i = 0; i < nd_region->ndr_mappings - 1; i++) { in nd_region_activate()
119 for (j = i + 1; j < nd_region->ndr_mappings; j++) in nd_region_activate()
133 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_release()
221 for (i = 0, alias = 0; i < nd_region->ndr_mappings; i++) { in nd_region_to_nstype()
248 } else if (nd_region->ndr_mappings == 1) { in size_show()
263 return sprintf(buf, "%d\n", nd_region->ndr_mappings); in mappings_show()
301 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_available_dpa()
543 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_region_notify_driver_action()
[all …]
Dnamespace_devs.c495 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()
[all …]
Ddimm_devs.c403 for (i = 0; i < nd_region->ndr_mappings; i++) { in alias_dpa_busy()
409 if (i >= nd_region->ndr_mappings) in alias_dpa_busy()
Dnd.h152 u16 ndr_mappings; member
Dlabel.c534 nd_label->nlabel = __cpu_to_le16(nd_region->ndr_mappings); in __pmem_label_update()
927 for (i = 0; i < nd_region->ndr_mappings; i++) { in nd_pmem_namespace_label_update()