nd_mapping        227 drivers/nvdimm/dimm_devs.c 	struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping        229 drivers/nvdimm/dimm_devs.c 	return nd_mapping->nvdimm;
nd_mapping        240 drivers/nvdimm/dimm_devs.c struct nvdimm_drvdata *to_ndd(struct nd_mapping *nd_mapping)
nd_mapping        242 drivers/nvdimm/dimm_devs.c 	struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping        563 drivers/nvdimm/dimm_devs.c 	struct nd_mapping *nd_mapping;
nd_mapping        574 drivers/nvdimm/dimm_devs.c 		nd_mapping  = &nd_region->mapping[i];
nd_mapping        575 drivers/nvdimm/dimm_devs.c 		if (nd_mapping->nvdimm == info->nd_mapping->nvdimm)
nd_mapping        582 drivers/nvdimm/dimm_devs.c 	ndd = to_ndd(nd_mapping);
nd_mapping        583 drivers/nvdimm/dimm_devs.c 	map_end = nd_mapping->start + nd_mapping->size - 1;
nd_mapping        584 drivers/nvdimm/dimm_devs.c 	blk_start = nd_mapping->start;
nd_mapping        592 drivers/nvdimm/dimm_devs.c 		if (info->res->start >= nd_mapping->start
nd_mapping        626 drivers/nvdimm/dimm_devs.c 	info->available -= blk_start - nd_mapping->start;
nd_mapping        642 drivers/nvdimm/dimm_devs.c 	struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping        643 drivers/nvdimm/dimm_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        645 drivers/nvdimm/dimm_devs.c 		.nd_mapping = nd_mapping,
nd_mapping        646 drivers/nvdimm/dimm_devs.c 		.available = nd_mapping->size,
nd_mapping        673 drivers/nvdimm/dimm_devs.c 					   struct nd_mapping *nd_mapping)
nd_mapping        675 drivers/nvdimm/dimm_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        685 drivers/nvdimm/dimm_devs.c 	if (__reserve_free_pmem(&nd_region->dev, nd_mapping->nvdimm))
nd_mapping        693 drivers/nvdimm/dimm_devs.c 	release_free_pmem(nvdimm_bus, nd_mapping);
nd_mapping        713 drivers/nvdimm/dimm_devs.c 		struct nd_mapping *nd_mapping, resource_size_t *overlap)
nd_mapping        716 drivers/nvdimm/dimm_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        723 drivers/nvdimm/dimm_devs.c 	map_start = nd_mapping->start;
nd_mapping        724 drivers/nvdimm/dimm_devs.c 	map_end = map_start + nd_mapping->size - 1;
nd_mapping        748 drivers/nvdimm/dimm_devs.c 			busy += nd_mapping->size;
nd_mapping        748 drivers/nvdimm/label.c static void reap_victim(struct nd_mapping *nd_mapping,
nd_mapping        751 drivers/nvdimm/label.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        760 drivers/nvdimm/label.c 		struct nd_mapping *nd_mapping, struct nd_namespace_pmem *nspm,
nd_mapping        765 drivers/nvdimm/label.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        833 drivers/nvdimm/label.c 	mutex_lock(&nd_mapping->lock);
nd_mapping        834 drivers/nvdimm/label.c 	list_for_each_entry(label_ent, &nd_mapping->labels, list) {
nd_mapping        840 drivers/nvdimm/label.c 			reap_victim(nd_mapping, label_ent);
nd_mapping        847 drivers/nvdimm/label.c 		list_for_each_entry(label_ent, &nd_mapping->labels, list)
nd_mapping        859 drivers/nvdimm/label.c 	mutex_unlock(&nd_mapping->lock);
nd_mapping        898 drivers/nvdimm/label.c 		struct nd_mapping *nd_mapping, struct nd_namespace_blk *nsblk,
nd_mapping        904 drivers/nvdimm/label.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       1079 drivers/nvdimm/label.c 	mutex_lock(&nd_mapping->lock);
nd_mapping       1080 drivers/nvdimm/label.c 	list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) {
nd_mapping       1092 drivers/nvdimm/label.c 	list_splice_tail_init(&list, &nd_mapping->labels);
nd_mapping       1093 drivers/nvdimm/label.c 	mutex_unlock(&nd_mapping->lock);
nd_mapping       1105 drivers/nvdimm/label.c 	mutex_lock(&nd_mapping->lock);
nd_mapping       1106 drivers/nvdimm/label.c 	label_ent = list_first_entry_or_null(&nd_mapping->labels,
nd_mapping       1110 drivers/nvdimm/label.c 		mutex_unlock(&nd_mapping->lock);
nd_mapping       1122 drivers/nvdimm/label.c 		list_for_each_entry_from(label_ent, &nd_mapping->labels, list) {
nd_mapping       1133 drivers/nvdimm/label.c 	mutex_unlock(&nd_mapping->lock);
nd_mapping       1153 drivers/nvdimm/label.c static int init_labels(struct nd_mapping *nd_mapping, int num_labels)
nd_mapping       1158 drivers/nvdimm/label.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       1160 drivers/nvdimm/label.c 	mutex_lock(&nd_mapping->lock);
nd_mapping       1161 drivers/nvdimm/label.c 	list_for_each_entry(label_ent, &nd_mapping->labels, list)
nd_mapping       1163 drivers/nvdimm/label.c 	mutex_unlock(&nd_mapping->lock);
nd_mapping       1173 drivers/nvdimm/label.c 		mutex_lock(&nd_mapping->lock);
nd_mapping       1174 drivers/nvdimm/label.c 		list_add_tail(&label_ent->list, &nd_mapping->labels);
nd_mapping       1175 drivers/nvdimm/label.c 		mutex_unlock(&nd_mapping->lock);
nd_mapping       1197 drivers/nvdimm/label.c static int del_labels(struct nd_mapping *nd_mapping, u8 *uuid)
nd_mapping       1199 drivers/nvdimm/label.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       1215 drivers/nvdimm/label.c 	mutex_lock(&nd_mapping->lock);
nd_mapping       1216 drivers/nvdimm/label.c 	list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) {
nd_mapping       1232 drivers/nvdimm/label.c 	list_splice_tail_init(&list, &nd_mapping->labels);
nd_mapping       1235 drivers/nvdimm/label.c 		nd_mapping_free_labels(nd_mapping);
nd_mapping       1238 drivers/nvdimm/label.c 	mutex_unlock(&nd_mapping->lock);
nd_mapping       1250 drivers/nvdimm/label.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1251 drivers/nvdimm/label.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       1256 drivers/nvdimm/label.c 			rc = del_labels(nd_mapping, nspm->uuid);
nd_mapping       1267 drivers/nvdimm/label.c 		rc = init_labels(nd_mapping, count);
nd_mapping       1271 drivers/nvdimm/label.c 		rc = __pmem_label_update(nd_region, nd_mapping, nspm, i,
nd_mapping       1282 drivers/nvdimm/label.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1284 drivers/nvdimm/label.c 		rc = __pmem_label_update(nd_region, nd_mapping, nspm, i, 0);
nd_mapping       1295 drivers/nvdimm/label.c 	struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping       1300 drivers/nvdimm/label.c 		return del_labels(nd_mapping, nsblk->uuid);
nd_mapping       1302 drivers/nvdimm/label.c 	for_each_dpa_resource(to_ndd(nd_mapping), res)
nd_mapping       1305 drivers/nvdimm/label.c 	count = init_labels(nd_mapping, count);
nd_mapping       1309 drivers/nvdimm/label.c 	return __blk_label_update(nd_region, nd_mapping, nsblk, count);
nd_mapping        297 drivers/nvdimm/namespace_devs.c 	struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping        298 drivers/nvdimm/namespace_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        315 drivers/nvdimm/namespace_devs.c 	struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping        316 drivers/nvdimm/namespace_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        447 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping, struct nd_label_id *label_id,
nd_mapping        451 drivers/nvdimm/namespace_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        510 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping        513 drivers/nvdimm/namespace_devs.c 		rc = scan_free(nd_region, nd_mapping, label_id, n);
nd_mapping        522 drivers/nvdimm/namespace_devs.c 		struct nd_region *nd_region, struct nd_mapping *nd_mapping,
nd_mapping        526 drivers/nvdimm/namespace_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        533 drivers/nvdimm/namespace_devs.c 		first_dpa = nd_mapping->start + nd_mapping->size - n;
nd_mapping        535 drivers/nvdimm/namespace_devs.c 		first_dpa = nd_mapping->start;
nd_mapping        578 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping        581 drivers/nvdimm/namespace_devs.c 			.nd_mapping = nd_mapping,
nd_mapping        582 drivers/nvdimm/namespace_devs.c 			.available = nd_mapping->size,
nd_mapping        615 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping, struct nd_label_id *label_id,
nd_mapping        618 drivers/nvdimm/namespace_devs.c 	resource_size_t mapping_end = nd_mapping->start + nd_mapping->size - 1;
nd_mapping        620 drivers/nvdimm/namespace_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        629 drivers/nvdimm/namespace_devs.c 	valid.start = nd_mapping->start;
nd_mapping        644 drivers/nvdimm/namespace_devs.c 		if (res->end < nd_mapping->start)
nd_mapping        648 drivers/nvdimm/namespace_devs.c 		if (!first++ && res->start > nd_mapping->start) {
nd_mapping        649 drivers/nvdimm/namespace_devs.c 			valid.start = nd_mapping->start;
nd_mapping        762 drivers/nvdimm/namespace_devs.c 		return init_dpa_allocation(label_id, nd_region, nd_mapping, n);
nd_mapping        767 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping, struct nd_label_id *label_id)
nd_mapping        769 drivers/nvdimm/namespace_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        814 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping        817 drivers/nvdimm/namespace_devs.c 		if (nd_mapping->nvdimm != nvdimm)
nd_mapping        820 drivers/nvdimm/namespace_devs.c 		n = nd_pmem_available_dpa(nd_region, nd_mapping, &rem);
nd_mapping        823 drivers/nvdimm/namespace_devs.c 		rem = scan_allocate(nd_region, nd_mapping, &label_id, n);
nd_mapping        835 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping)
nd_mapping        837 drivers/nvdimm/namespace_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        846 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping)
nd_mapping        848 drivers/nvdimm/namespace_devs.c 	struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping        854 drivers/nvdimm/namespace_devs.c 		release_free_pmem(nvdimm_bus, nd_mapping);
nd_mapping        879 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping        891 drivers/nvdimm/namespace_devs.c 				rc = reserve_free_pmem(nvdimm_bus, nd_mapping);
nd_mapping        895 drivers/nvdimm/namespace_devs.c 			rem = scan_allocate(nd_region, nd_mapping,
nd_mapping        898 drivers/nvdimm/namespace_devs.c 				release_free_pmem(nvdimm_bus, nd_mapping);
nd_mapping        912 drivers/nvdimm/namespace_devs.c 		rc = merge_dpa(nd_region, nd_mapping, label_id);
nd_mapping        932 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping        933 drivers/nvdimm/namespace_devs.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        947 drivers/nvdimm/namespace_devs.c 				offset = (res->start - nd_mapping->start)
nd_mapping        975 drivers/nvdimm/namespace_devs.c 	struct nd_mapping *nd_mapping;
nd_mapping       1018 drivers/nvdimm/namespace_devs.c 		nd_mapping = &nd_region->mapping[i];
nd_mapping       1019 drivers/nvdimm/namespace_devs.c 		ndd = to_ndd(nd_mapping);
nd_mapping       1150 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1151 drivers/nvdimm/namespace_devs.c 		struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping       1224 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1233 drivers/nvdimm/namespace_devs.c 		if (list_empty(&nd_mapping->labels))
nd_mapping       1240 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1241 drivers/nvdimm/namespace_devs.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       1250 drivers/nvdimm/namespace_devs.c 		mutex_lock(&nd_mapping->lock);
nd_mapping       1251 drivers/nvdimm/namespace_devs.c 		list_for_each_entry(label_ent, &nd_mapping->labels, list) {
nd_mapping       1262 drivers/nvdimm/namespace_devs.c 		mutex_unlock(&nd_mapping->lock);
nd_mapping       1423 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1424 drivers/nvdimm/namespace_devs.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       1444 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1445 drivers/nvdimm/namespace_devs.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       1798 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1800 drivers/nvdimm/namespace_devs.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       1804 drivers/nvdimm/namespace_devs.c 		list_for_each_entry(label_ent, &nd_mapping->labels, list) {
nd_mapping       1856 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1857 drivers/nvdimm/namespace_devs.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       1862 drivers/nvdimm/namespace_devs.c 		lockdep_assert_held(&nd_mapping->lock);
nd_mapping       1863 drivers/nvdimm/namespace_devs.c 		list_for_each_entry(label_ent, &nd_mapping->labels, list) {
nd_mapping       1881 drivers/nvdimm/namespace_devs.c 		hw_start = nd_mapping->start;
nd_mapping       1882 drivers/nvdimm/namespace_devs.c 		hw_end = hw_start + nd_mapping->size;
nd_mapping       1895 drivers/nvdimm/namespace_devs.c 		list_move(&label_ent->list, &nd_mapping->labels);
nd_mapping       1914 drivers/nvdimm/namespace_devs.c 	struct nd_mapping *nd_mapping;
nd_mapping       1987 drivers/nvdimm/namespace_devs.c 		nd_mapping = &nd_region->mapping[i];
nd_mapping       1988 drivers/nvdimm/namespace_devs.c 		label_ent = list_first_entry_or_null(&nd_mapping->labels,
nd_mapping       2006 drivers/nvdimm/namespace_devs.c 		ndd = to_ndd(nd_mapping);
nd_mapping       2181 drivers/nvdimm/namespace_devs.c 	struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping       2182 drivers/nvdimm/namespace_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       2219 drivers/nvdimm/namespace_devs.c 	struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping       2221 drivers/nvdimm/namespace_devs.c 	struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       2306 drivers/nvdimm/namespace_devs.c 	struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping       2307 drivers/nvdimm/namespace_devs.c 	resource_size_t map_end = nd_mapping->start + nd_mapping->size - 1;
nd_mapping       2310 drivers/nvdimm/namespace_devs.c 	list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) {
nd_mapping       2325 drivers/nvdimm/namespace_devs.c 		if (__le64_to_cpu(nd_label->dpa) < nd_mapping->start ||
nd_mapping       2344 drivers/nvdimm/namespace_devs.c 			struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       2373 drivers/nvdimm/namespace_devs.c 		nd_mapping_free_labels(nd_mapping);
nd_mapping       2405 drivers/nvdimm/namespace_devs.c 			nd_mapping = &nd_region->mapping[i];
nd_mapping       2406 drivers/nvdimm/namespace_devs.c 			if (list_empty(&nd_mapping->labels)) {
nd_mapping       2412 drivers/nvdimm/namespace_devs.c 			list_for_each_safe(l, e, &nd_mapping->labels) {
nd_mapping       2417 drivers/nvdimm/namespace_devs.c 			nd_mapping_free_labels(nd_mapping);
nd_mapping       2418 drivers/nvdimm/namespace_devs.c 			list_splice_init(&list, &nd_mapping->labels);
nd_mapping       2441 drivers/nvdimm/namespace_devs.c 	struct nd_mapping *nd_mapping;
nd_mapping       2450 drivers/nvdimm/namespace_devs.c 		nd_mapping = &nd_region->mapping[i];
nd_mapping       2451 drivers/nvdimm/namespace_devs.c 		mutex_lock_nested(&nd_mapping->lock, i);
nd_mapping       2459 drivers/nvdimm/namespace_devs.c 		nd_mapping = &nd_region->mapping[reverse];
nd_mapping       2460 drivers/nvdimm/namespace_devs.c 		mutex_unlock(&nd_mapping->lock);
nd_mapping       2472 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       2473 drivers/nvdimm/namespace_devs.c 		struct nvdimm_drvdata *ndd = nd_mapping->ndd;
nd_mapping       2474 drivers/nvdimm/namespace_devs.c 		struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping       2476 drivers/nvdimm/namespace_devs.c 		mutex_lock(&nd_mapping->lock);
nd_mapping       2477 drivers/nvdimm/namespace_devs.c 		nd_mapping_free_labels(nd_mapping);
nd_mapping       2478 drivers/nvdimm/namespace_devs.c 		mutex_unlock(&nd_mapping->lock);
nd_mapping       2481 drivers/nvdimm/namespace_devs.c 		nd_mapping->ndd = NULL;
nd_mapping       2492 drivers/nvdimm/namespace_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       2493 drivers/nvdimm/namespace_devs.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping       2494 drivers/nvdimm/namespace_devs.c 		struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping       2511 drivers/nvdimm/namespace_devs.c 					dev_name(&nd_mapping->nvdimm->dev),
nd_mapping       2516 drivers/nvdimm/namespace_devs.c 		nd_mapping->ndd = ndd;
nd_mapping       2539 drivers/nvdimm/namespace_devs.c 			mutex_lock(&nd_mapping->lock);
nd_mapping       2540 drivers/nvdimm/namespace_devs.c 			list_add_tail(&label_ent->list, &nd_mapping->labels);
nd_mapping       2541 drivers/nvdimm/namespace_devs.c 			mutex_unlock(&nd_mapping->lock);
nd_mapping         96 drivers/nvdimm/nd-core.h 	struct nd_mapping *nd_mapping;
nd_mapping        137 drivers/nvdimm/nd-core.h struct nd_mapping;
nd_mapping        138 drivers/nvdimm/nd-core.h void nd_mapping_free_labels(struct nd_mapping *nd_mapping);
nd_mapping        142 drivers/nvdimm/nd-core.h 		       struct nd_mapping *nd_mapping);
nd_mapping        145 drivers/nvdimm/nd-core.h 					   struct nd_mapping *nd_mapping);
nd_mapping        148 drivers/nvdimm/nd-core.h 		struct nd_mapping *nd_mapping, resource_size_t *overlap);
nd_mapping        159 drivers/nvdimm/nd.h 	struct nd_mapping mapping[0];
nd_mapping        237 drivers/nvdimm/nd.h struct nvdimm_drvdata *to_ndd(struct nd_mapping *nd_mapping);
nd_mapping         71 drivers/nvdimm/region_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping         72 drivers/nvdimm/region_devs.c 		struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping         98 drivers/nvdimm/region_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping         99 drivers/nvdimm/region_devs.c 		struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping        130 drivers/nvdimm/region_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping        131 drivers/nvdimm/region_devs.c 		struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping        231 drivers/nvdimm/region_devs.c 			struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping        232 drivers/nvdimm/region_devs.c 			struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping        258 drivers/nvdimm/region_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping        260 drivers/nvdimm/region_devs.c 		size = nd_mapping->size;
nd_mapping        338 drivers/nvdimm/region_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[0];
nd_mapping        339 drivers/nvdimm/region_devs.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        370 drivers/nvdimm/region_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping        371 drivers/nvdimm/region_devs.c 		struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);
nd_mapping        379 drivers/nvdimm/region_devs.c 					nd_mapping, &overlap);
nd_mapping        401 drivers/nvdimm/region_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping        406 drivers/nvdimm/region_devs.c 								   nd_mapping));
nd_mapping        706 drivers/nvdimm/region_devs.c void nd_mapping_free_labels(struct nd_mapping *nd_mapping)
nd_mapping        710 drivers/nvdimm/region_devs.c 	lockdep_assert_held(&nd_mapping->lock);
nd_mapping        711 drivers/nvdimm/region_devs.c 	list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) {
nd_mapping        754 drivers/nvdimm/region_devs.c 	struct nd_mapping *nd_mapping;
nd_mapping        759 drivers/nvdimm/region_devs.c 	nd_mapping = &nd_region->mapping[n];
nd_mapping        760 drivers/nvdimm/region_devs.c 	nvdimm = nd_mapping->nvdimm;
nd_mapping        763 drivers/nvdimm/region_devs.c 			nd_mapping->start, nd_mapping->size,
nd_mapping        764 drivers/nvdimm/region_devs.c 			nd_mapping->position);
nd_mapping        970 drivers/nvdimm/region_devs.c 		ndbr = kzalloc(sizeof(*ndbr) + sizeof(struct nd_mapping)
nd_mapping       1146 drivers/nvdimm/region_devs.c 		struct nd_mapping *nd_mapping = &nd_region->mapping[i];
nd_mapping       1147 drivers/nvdimm/region_devs.c 		struct nvdimm *nvdimm = nd_mapping->nvdimm;
nd_mapping        666 tools/testing/nvdimm/test/nfit.c 	struct nd_mapping *nd_mapping = NULL;
nd_mapping        686 tools/testing/nvdimm/test/nfit.c 	nd_mapping = &nd_region->mapping[nd_region->ndr_mappings - 1];
nd_mapping        687 tools/testing/nvdimm/test/nfit.c 	nvdimm = nd_mapping->nvdimm;