Lines Matching refs:map
568 static struct e820entry map[E820MAX] __initdata; in xen_memory_setup() local
584 set_xen_guest_handle(memmap.buffer, map); in xen_memory_setup()
593 map[0].addr = 0ULL; in xen_memory_setup()
594 map[0].size = mem_end; in xen_memory_setup()
596 map[0].size += 8ULL << 20; in xen_memory_setup()
597 map[0].type = E820_RAM; in xen_memory_setup()
612 xen_ignore_unusable(map, memmap.nr_entries); in xen_memory_setup()
615 sanitize_e820_map(map, memmap.nr_entries, &memmap.nr_entries); in xen_memory_setup()
625 xen_set_identity_and_remap(map, memmap.nr_entries, max_pfn, in xen_memory_setup()
646 phys_addr_t addr = map[i].addr; in xen_memory_setup()
647 phys_addr_t size = map[i].size; in xen_memory_setup()
648 u32 type = map[i].type; in xen_memory_setup()
664 map[i].addr += size; in xen_memory_setup()
665 map[i].size -= size; in xen_memory_setup()
666 if (map[i].size == 0) in xen_memory_setup()
677 set_phys_range_identity(map[i-1].addr / PAGE_SIZE, ~0ul); in xen_memory_setup()
714 sanitize_e820_map(e820.map, ARRAY_SIZE(e820.map), &e820.nr_map); in xen_memory_setup()
724 static struct e820entry map[E820MAX] __initdata; in xen_auto_xlated_memory_setup() local
731 set_xen_guest_handle(memmap.buffer, map); in xen_auto_xlated_memory_setup()
737 sanitize_e820_map(map, ARRAY_SIZE(map), &memmap.nr_entries); in xen_auto_xlated_memory_setup()
740 e820_add_region(map[i].addr, map[i].size, map[i].type); in xen_auto_xlated_memory_setup()