memdev            710 drivers/acpi/nfit/core.c 		struct acpi_nfit_memory_map *memdev)
memdev            715 drivers/acpi/nfit/core.c 	if (memdev->header.length != sizeof(*memdev))
memdev            719 drivers/acpi/nfit/core.c 		if (memcmp(nfit_memdev->memdev, memdev, sizeof(*memdev)) == 0) {
memdev            724 drivers/acpi/nfit/core.c 	nfit_memdev = devm_kzalloc(dev, sizeof(*nfit_memdev) + sizeof(*memdev),
memdev            729 drivers/acpi/nfit/core.c 	memcpy(nfit_memdev->memdev, memdev, sizeof(*memdev));
memdev            732 drivers/acpi/nfit/core.c 			memdev->device_handle, memdev->range_index,
memdev            733 drivers/acpi/nfit/core.c 			memdev->region_index, memdev->flags);
memdev            739 drivers/acpi/nfit/core.c 	struct acpi_nfit_memory_map *memdev;
memdev            748 drivers/acpi/nfit/core.c 			memdev = __to_nfit_memdev(nfit_mem);
memdev            749 drivers/acpi/nfit/core.c 			if (memdev->device_handle == device_handle) {
memdev            750 drivers/acpi/nfit/core.c 				*flags = memdev->flags;
memdev            751 drivers/acpi/nfit/core.c 				physical_id = memdev->physical_id;
memdev            998 drivers/acpi/nfit/core.c 			if (nfit_memdev->memdev->range_index != range_index)
memdev           1000 drivers/acpi/nfit/core.c 			if (nfit_memdev->memdev->device_handle != device_handle)
memdev           1002 drivers/acpi/nfit/core.c 			if (nfit_memdev->memdev->region_index != dcr)
memdev           1041 drivers/acpi/nfit/core.c 		if (nfit_memdev->memdev->range_index != range_index ||
memdev           1042 drivers/acpi/nfit/core.c 				nfit_memdev->memdev->region_index != dcr)
memdev           1044 drivers/acpi/nfit/core.c 		nfit_mem->memdev_bdw = nfit_memdev->memdev;
memdev           1045 drivers/acpi/nfit/core.c 		idt_idx = nfit_memdev->memdev->interleave_index;
memdev           1085 drivers/acpi/nfit/core.c 		if (spa && nfit_memdev->memdev->range_index != spa->range_index)
memdev           1087 drivers/acpi/nfit/core.c 		if (!spa && nfit_memdev->memdev->range_index)
memdev           1090 drivers/acpi/nfit/core.c 		dcr = nfit_memdev->memdev->region_index;
memdev           1091 drivers/acpi/nfit/core.c 		device_handle = nfit_memdev->memdev->device_handle;
memdev           1164 drivers/acpi/nfit/core.c 			nfit_mem->memdev_dcr = nfit_memdev->memdev;
memdev           1165 drivers/acpi/nfit/core.c 			idt_idx = nfit_memdev->memdev->interleave_index;
memdev           1179 drivers/acpi/nfit/core.c 			nfit_mem->memdev_pmem = nfit_memdev->memdev;
memdev           1181 drivers/acpi/nfit/core.c 			nfit_mem->memdev_dcr = nfit_memdev->memdev;
memdev           1432 drivers/acpi/nfit/core.c 	struct acpi_nfit_memory_map *memdev = to_nfit_memdev(dev);
memdev           1434 drivers/acpi/nfit/core.c 	return sprintf(buf, "%#x\n", memdev->device_handle);
memdev           1441 drivers/acpi/nfit/core.c 	struct acpi_nfit_memory_map *memdev = to_nfit_memdev(dev);
memdev           1443 drivers/acpi/nfit/core.c 	return sprintf(buf, "%#x\n", memdev->physical_id);
memdev           1541 drivers/acpi/nfit/core.c 		struct acpi_nfit_memory_map *memdev = nfit_memdev->memdev;
memdev           1544 drivers/acpi/nfit/core.c 		if (memdev->device_handle != handle)
memdev           1548 drivers/acpi/nfit/core.c 			if (nfit_dcr->dcr->region_index != memdev->region_index)
memdev           2042 drivers/acpi/nfit/core.c 					!= nfit_memdev->memdev->device_handle)
memdev           2044 drivers/acpi/nfit/core.c 			dimm_memdev->flags |= nfit_memdev->memdev->flags;
memdev           2281 drivers/acpi/nfit/core.c 		if (nfit_memdev->memdev->range_index == range_index)
memdev           2283 drivers/acpi/nfit/core.c 				return nfit_memdev->memdev;
memdev           2317 drivers/acpi/nfit/core.c 		struct acpi_nfit_memory_map *memdev = memdev_from_spa(acpi_desc,
memdev           2321 drivers/acpi/nfit/core.c 		if (!memdev || !nfit_mem->dcr) {
memdev           2326 drivers/acpi/nfit/core.c 		map->region_offset = memdev->region_offset;
memdev           2329 drivers/acpi/nfit/core.c 		map2->region_offset = memdev->region_offset;
memdev           2856 drivers/acpi/nfit/core.c 		struct acpi_nfit_memory_map *memdev,
memdev           2860 drivers/acpi/nfit/core.c 			memdev->device_handle);
memdev           2868 drivers/acpi/nfit/core.c 				spa->range_index, memdev->device_handle);
memdev           2876 drivers/acpi/nfit/core.c 		mapping->start = memdev->address;
memdev           2877 drivers/acpi/nfit/core.c 		mapping->size = memdev->region_size;
memdev           2973 drivers/acpi/nfit/core.c 		struct acpi_nfit_memory_map *memdev = nfit_memdev->memdev;
memdev           2976 drivers/acpi/nfit/core.c 		if (memdev->range_index != spa->range_index)
memdev           2985 drivers/acpi/nfit/core.c 				memdev, nfit_spa);
memdev            173 drivers/acpi/nfit/nfit.h 	struct acpi_nfit_memory_map memdev[0];
memdev            909 drivers/char/mem.c 	const struct memdev *dev;
memdev           4006 drivers/s390/block/dasd.c 			dasd_free_erp_request(cqr, cqr->memdev);
memdev           4139 drivers/s390/block/dasd.c 	cqr->memdev = device;
memdev           4161 drivers/s390/block/dasd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev             57 drivers/s390/block/dasd_3990_erp.c 	dasd_free_erp_request(erp, erp->memdev);
memdev            228 drivers/s390/block/dasd_3990_erp.c 	dctl_cqr->memdev = device;
memdev           1732 drivers/s390/block/dasd_3990_erp.c 	erp->memdev = device;
memdev           2435 drivers/s390/block/dasd_3990_erp.c 	erp->memdev   = device;
memdev           2712 drivers/s390/block/dasd_3990_erp.c 		dasd_free_erp_request(erp_free, erp_free->memdev);
memdev            430 drivers/s390/block/dasd_alias.c 	cqr->memdev = device;
memdev            470 drivers/s390/block/dasd_alias.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev            733 drivers/s390/block/dasd_alias.c 	cqr->memdev = device;
memdev            499 drivers/s390/block/dasd_diag.c static struct dasd_ccw_req *dasd_diag_build_cp(struct dasd_device *memdev,
memdev            539 drivers/s390/block/dasd_diag.c 	cqr = dasd_smalloc_request(DASD_DIAG_MAGIC, 0, datasize, memdev,
memdev            560 drivers/s390/block/dasd_diag.c 	cqr->retries = memdev->default_retries;
memdev            565 drivers/s390/block/dasd_diag.c 	cqr->startdev = memdev;
memdev            566 drivers/s390/block/dasd_diag.c 	cqr->memdev = memdev;
memdev            568 drivers/s390/block/dasd_diag.c 	cqr->expires = memdev->default_expires * HZ;
memdev            581 drivers/s390/block/dasd_diag.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev            838 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev            934 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           1485 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           1523 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           1585 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           1603 drivers/s390/block/dasd_eckd.c 		dasd_sfree_request(cqr, cqr->memdev);
memdev           1769 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           1784 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           1865 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           1903 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           2188 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           2468 drivers/s390/block/dasd_eckd.c 	cqr->memdev = startdev;
memdev           2561 drivers/s390/block/dasd_eckd.c 	cqr->memdev = startdev;
memdev           2822 drivers/s390/block/dasd_eckd.c 	fcp->memdev = startdev;
memdev           3720 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           3741 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           4000 drivers/s390/block/dasd_eckd.c 	cqr->memdev = startdev;
memdev           4179 drivers/s390/block/dasd_eckd.c 	cqr->memdev = startdev;
memdev           4503 drivers/s390/block/dasd_eckd.c 	cqr->memdev = startdev;
memdev           4746 drivers/s390/block/dasd_eckd.c 	cqr->memdev = startdev;
memdev           4806 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           4878 drivers/s390/block/dasd_eckd.c 	spin_lock_irqsave(get_ccwdev_lock(cqr->memdev->cdev), flags);
memdev           4879 drivers/s390/block/dasd_eckd.c 	private = cqr->memdev->private;
memdev           4881 drivers/s390/block/dasd_eckd.c 	spin_unlock_irqrestore(get_ccwdev_lock(cqr->memdev->cdev), flags);
memdev           4943 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           4958 drivers/s390/block/dasd_eckd.c 		dasd_sfree_request(cqr, cqr->memdev);
memdev           4998 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           5013 drivers/s390/block/dasd_eckd.c 		dasd_sfree_request(cqr, cqr->memdev);
memdev           5052 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           5067 drivers/s390/block/dasd_eckd.c 		dasd_sfree_request(cqr, cqr->memdev);
memdev           5113 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           5136 drivers/s390/block/dasd_eckd.c 		dasd_sfree_request(cqr, cqr->memdev);
memdev           5162 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           5199 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           5318 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           5352 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           5885 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           5940 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           5978 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           6021 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev           6145 drivers/s390/block/dasd_eckd.c 	cqr->memdev = device;
memdev           6155 drivers/s390/block/dasd_eckd.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev            146 drivers/s390/block/dasd_erp.c 		dasd_free_erp_request(cqr, cqr->memdev);
memdev            325 drivers/s390/block/dasd_fba.c 						struct dasd_device *memdev,
memdev            359 drivers/s390/block/dasd_fba.c 	cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev,
memdev            426 drivers/s390/block/dasd_fba.c 	cqr->startdev = memdev;
memdev            427 drivers/s390/block/dasd_fba.c 	cqr->memdev = memdev;
memdev            429 drivers/s390/block/dasd_fba.c 	cqr->expires = memdev->default_expires * HZ;	/* default 5 minutes */
memdev            430 drivers/s390/block/dasd_fba.c 	cqr->retries = memdev->default_retries;
memdev            438 drivers/s390/block/dasd_fba.c 						struct dasd_device *memdev,
memdev            494 drivers/s390/block/dasd_fba.c 	cqr = dasd_smalloc_request(DASD_FBA_MAGIC, cplength, datasize, memdev,
memdev            554 drivers/s390/block/dasd_fba.c 	cqr->startdev = memdev;
memdev            555 drivers/s390/block/dasd_fba.c 	cqr->memdev = memdev;
memdev            557 drivers/s390/block/dasd_fba.c 	cqr->expires = memdev->default_expires * HZ;	/* default 5 minutes */
memdev            558 drivers/s390/block/dasd_fba.c 	cqr->retries = memdev->default_retries;
memdev            564 drivers/s390/block/dasd_fba.c static struct dasd_ccw_req *dasd_fba_build_cp(struct dasd_device *memdev,
memdev            569 drivers/s390/block/dasd_fba.c 		return dasd_fba_build_cp_discard(memdev, block, req);
memdev            571 drivers/s390/block/dasd_fba.c 		return dasd_fba_build_cp_regular(memdev, block, req);
memdev            617 drivers/s390/block/dasd_fba.c 	dasd_sfree_request(cqr, cqr->memdev);
memdev            165 drivers/s390/block/dasd_int.h 	struct dasd_device *memdev;	/* the device used to allocate this */
memdev           1800 tools/testing/nvdimm/test/nfit.c 	struct acpi_nfit_memory_map *memdev;
memdev           1918 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           1919 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           1920 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           1921 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[0];
memdev           1922 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 0;
memdev           1923 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           1924 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 0+1;
memdev           1925 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 4+1;
memdev           1926 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = SPA0_SIZE/2;
memdev           1927 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 1;
memdev           1928 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           1929 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           1930 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 2;
memdev           1931 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           1934 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           1935 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           1936 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           1937 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[1];
memdev           1938 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 1;
memdev           1939 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           1940 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 0+1;
memdev           1941 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 5+1;
memdev           1942 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = SPA0_SIZE/2;
memdev           1943 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = (1 << 8);
memdev           1944 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           1945 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           1946 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 2;
memdev           1947 tools/testing/nvdimm/test/nfit.c 	memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED;
memdev           1948 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           1951 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           1952 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           1953 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           1954 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[0];
memdev           1955 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 0;
memdev           1956 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 1;
memdev           1957 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 1+1;
memdev           1958 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 4+1;
memdev           1959 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = SPA1_SIZE/4;
memdev           1960 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = (1 << 16);
memdev           1961 tools/testing/nvdimm/test/nfit.c 	memdev->address = SPA0_SIZE/2;
memdev           1962 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           1963 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 4;
memdev           1964 tools/testing/nvdimm/test/nfit.c 	memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED;
memdev           1965 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           1968 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           1969 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           1970 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           1971 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[1];
memdev           1972 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 1;
memdev           1973 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 1;
memdev           1974 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 1+1;
memdev           1975 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 5+1;
memdev           1976 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = SPA1_SIZE/4;
memdev           1977 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = (1 << 24);
memdev           1978 tools/testing/nvdimm/test/nfit.c 	memdev->address = SPA0_SIZE/2;
memdev           1979 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           1980 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 4;
memdev           1981 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           1984 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           1985 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           1986 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           1987 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[2];
memdev           1988 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 2;
memdev           1989 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           1990 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 1+1;
memdev           1991 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 6+1;
memdev           1992 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = SPA1_SIZE/4;
memdev           1993 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = (1ULL << 32);
memdev           1994 tools/testing/nvdimm/test/nfit.c 	memdev->address = SPA0_SIZE/2;
memdev           1995 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           1996 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 4;
memdev           1997 tools/testing/nvdimm/test/nfit.c 	memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED;
memdev           1998 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2001 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2002 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2003 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2004 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[3];
memdev           2005 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 3;
memdev           2006 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2007 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 1+1;
memdev           2008 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 7+1;
memdev           2009 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = SPA1_SIZE/4;
memdev           2010 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = (1ULL << 40);
memdev           2011 tools/testing/nvdimm/test/nfit.c 	memdev->address = SPA0_SIZE/2;
memdev           2012 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2013 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 4;
memdev           2014 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2017 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2018 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2019 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2020 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[0];
memdev           2021 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 0;
memdev           2022 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2023 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 2+1;
memdev           2024 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 0+1;
memdev           2025 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = 0;
memdev           2026 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2027 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2028 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2029 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2030 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2033 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2034 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2035 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2036 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[1];
memdev           2037 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 1;
memdev           2038 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2039 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 3+1;
memdev           2040 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 1+1;
memdev           2041 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = 0;
memdev           2042 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2043 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2044 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2045 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2046 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2049 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2050 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2051 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2052 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[2];
memdev           2053 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 2;
memdev           2054 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2055 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 4+1;
memdev           2056 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 2+1;
memdev           2057 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = 0;
memdev           2058 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2059 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2060 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2061 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2062 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2065 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2066 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2067 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2068 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[3];
memdev           2069 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 3;
memdev           2070 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2071 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 5+1;
memdev           2072 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 3+1;
memdev           2073 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = 0;
memdev           2074 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2075 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2076 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2077 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2078 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2081 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2082 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2083 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2084 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[0];
memdev           2085 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 0;
memdev           2086 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2087 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 6+1;
memdev           2088 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 0+1;
memdev           2089 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = 0;
memdev           2090 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2091 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2092 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2093 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2094 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2097 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2098 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2099 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2100 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[1];
memdev           2101 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 1;
memdev           2102 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2103 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 7+1;
memdev           2104 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 1+1;
memdev           2105 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = 0;
memdev           2106 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2107 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2108 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2109 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2110 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2113 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2114 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2115 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2116 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[2];
memdev           2117 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 2;
memdev           2118 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2119 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 8+1;
memdev           2120 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 2+1;
memdev           2121 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = 0;
memdev           2122 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2123 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2124 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2125 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2126 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2129 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2130 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2131 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2132 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[3];
memdev           2133 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 3;
memdev           2134 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2135 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 9+1;
memdev           2136 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 3+1;
memdev           2137 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = 0;
memdev           2138 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2139 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2140 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2141 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2142 tools/testing/nvdimm/test/nfit.c 	memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED;
memdev           2143 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2429 tools/testing/nvdimm/test/nfit.c 		memdev = nfit_buf + offset;
memdev           2430 tools/testing/nvdimm/test/nfit.c 		memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2431 tools/testing/nvdimm/test/nfit.c 		memdev->header.length = sizeof(*memdev);
memdev           2432 tools/testing/nvdimm/test/nfit.c 		memdev->device_handle = handle[4];
memdev           2433 tools/testing/nvdimm/test/nfit.c 		memdev->physical_id = 4;
memdev           2434 tools/testing/nvdimm/test/nfit.c 		memdev->region_id = 0;
memdev           2435 tools/testing/nvdimm/test/nfit.c 		memdev->range_index = 10+1;
memdev           2436 tools/testing/nvdimm/test/nfit.c 		memdev->region_index = 8+1;
memdev           2437 tools/testing/nvdimm/test/nfit.c 		memdev->region_size = 0;
memdev           2438 tools/testing/nvdimm/test/nfit.c 		memdev->region_offset = 0;
memdev           2439 tools/testing/nvdimm/test/nfit.c 		memdev->address = 0;
memdev           2440 tools/testing/nvdimm/test/nfit.c 		memdev->interleave_index = 0;
memdev           2441 tools/testing/nvdimm/test/nfit.c 		memdev->interleave_ways = 1;
memdev           2442 tools/testing/nvdimm/test/nfit.c 		offset += memdev->header.length;
memdev           2445 tools/testing/nvdimm/test/nfit.c 		memdev = nfit_buf + offset;
memdev           2446 tools/testing/nvdimm/test/nfit.c 		memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2447 tools/testing/nvdimm/test/nfit.c 		memdev->header.length = sizeof(*memdev);
memdev           2448 tools/testing/nvdimm/test/nfit.c 		memdev->device_handle = handle[4];
memdev           2449 tools/testing/nvdimm/test/nfit.c 		memdev->physical_id = 4;
memdev           2450 tools/testing/nvdimm/test/nfit.c 		memdev->region_id = 0;
memdev           2451 tools/testing/nvdimm/test/nfit.c 		memdev->range_index = 11+1;
memdev           2452 tools/testing/nvdimm/test/nfit.c 		memdev->region_index = 9+1;
memdev           2453 tools/testing/nvdimm/test/nfit.c 		memdev->region_size = SPA0_SIZE;
memdev           2454 tools/testing/nvdimm/test/nfit.c 		memdev->region_offset = (1ULL << 48);
memdev           2455 tools/testing/nvdimm/test/nfit.c 		memdev->address = 0;
memdev           2456 tools/testing/nvdimm/test/nfit.c 		memdev->interleave_index = 0;
memdev           2457 tools/testing/nvdimm/test/nfit.c 		memdev->interleave_ways = 1;
memdev           2458 tools/testing/nvdimm/test/nfit.c 		memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED;
memdev           2459 tools/testing/nvdimm/test/nfit.c 		offset += memdev->header.length;
memdev           2462 tools/testing/nvdimm/test/nfit.c 		memdev = nfit_buf + offset;
memdev           2463 tools/testing/nvdimm/test/nfit.c 		memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2464 tools/testing/nvdimm/test/nfit.c 		memdev->header.length = sizeof(*memdev);
memdev           2465 tools/testing/nvdimm/test/nfit.c 		memdev->device_handle = handle[4];
memdev           2466 tools/testing/nvdimm/test/nfit.c 		memdev->physical_id = 4;
memdev           2467 tools/testing/nvdimm/test/nfit.c 		memdev->region_id = 0;
memdev           2468 tools/testing/nvdimm/test/nfit.c 		memdev->range_index = 12+1;
memdev           2469 tools/testing/nvdimm/test/nfit.c 		memdev->region_index = 8+1;
memdev           2470 tools/testing/nvdimm/test/nfit.c 		memdev->region_size = 0;
memdev           2471 tools/testing/nvdimm/test/nfit.c 		memdev->region_offset = 0;
memdev           2472 tools/testing/nvdimm/test/nfit.c 		memdev->address = 0;
memdev           2473 tools/testing/nvdimm/test/nfit.c 		memdev->interleave_index = 0;
memdev           2474 tools/testing/nvdimm/test/nfit.c 		memdev->interleave_ways = 1;
memdev           2475 tools/testing/nvdimm/test/nfit.c 		offset += memdev->header.length;
memdev           2540 tools/testing/nvdimm/test/nfit.c 	struct acpi_nfit_memory_map *memdev;
memdev           2567 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2568 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2569 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2570 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[5];
memdev           2571 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 0;
memdev           2572 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2573 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 0+1;
memdev           2574 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 0+1;
memdev           2575 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = SPA2_SIZE;
memdev           2576 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2577 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2578 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2579 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2580 tools/testing/nvdimm/test/nfit.c 	memdev->flags = ACPI_NFIT_MEM_SAVE_FAILED | ACPI_NFIT_MEM_RESTORE_FAILED
memdev           2583 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;
memdev           2597 tools/testing/nvdimm/test/nfit.c 	memdev = nfit_buf + offset;
memdev           2598 tools/testing/nvdimm/test/nfit.c 	memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP;
memdev           2599 tools/testing/nvdimm/test/nfit.c 	memdev->header.length = sizeof(*memdev);
memdev           2600 tools/testing/nvdimm/test/nfit.c 	memdev->device_handle = handle[6];
memdev           2601 tools/testing/nvdimm/test/nfit.c 	memdev->physical_id = 0;
memdev           2602 tools/testing/nvdimm/test/nfit.c 	memdev->region_id = 0;
memdev           2603 tools/testing/nvdimm/test/nfit.c 	memdev->range_index = 0;
memdev           2604 tools/testing/nvdimm/test/nfit.c 	memdev->region_index = 0+2;
memdev           2605 tools/testing/nvdimm/test/nfit.c 	memdev->region_size = SPA2_SIZE;
memdev           2606 tools/testing/nvdimm/test/nfit.c 	memdev->region_offset = 0;
memdev           2607 tools/testing/nvdimm/test/nfit.c 	memdev->address = 0;
memdev           2608 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_index = 0;
memdev           2609 tools/testing/nvdimm/test/nfit.c 	memdev->interleave_ways = 1;
memdev           2610 tools/testing/nvdimm/test/nfit.c 	memdev->flags = ACPI_NFIT_MEM_MAP_FAILED;
memdev           2611 tools/testing/nvdimm/test/nfit.c 	offset += memdev->header.length;