Searched refs:boot_mem_map (Results 1 – 8 of 8) sorted by relevance
83 struct boot_mem_map boot_mem_map; variable146 int x = boot_mem_map.nr_map; in add_memory_region()153 boot_mem_map.map[x].addr = start; in add_memory_region()154 boot_mem_map.map[x].size = size; in add_memory_region()155 boot_mem_map.map[x].type = type; in add_memory_region()156 boot_mem_map.nr_map++; in add_memory_region()163 for (i = 0; i < boot_mem_map.nr_map; i++) { in print_memory_map()165 (unsigned long long) boot_mem_map.map[i].size, in print_memory_map()166 (unsigned long long) boot_mem_map.map[i].addr); in print_memory_map()167 switch (boot_mem_map.map[i].type) { in print_memory_map()[all …]
86 struct boot_mem_map boot_mem_map; variable145 int x = boot_mem_map.nr_map; in add_memory_region()152 boot_mem_map.map[x].addr = start; in add_memory_region()153 boot_mem_map.map[x].size = size; in add_memory_region()154 boot_mem_map.map[x].type = type; in add_memory_region()155 boot_mem_map.nr_map++; in add_memory_region()162 for (i = 0; i < boot_mem_map.nr_map; i++) { in print_memory_map()164 (u64) boot_mem_map.map[i].size, in print_memory_map()165 (u64) boot_mem_map.map[i].addr); in print_memory_map()167 switch (boot_mem_map.map[i].type) { in print_memory_map()[all …]
153 for (i = 0; i < boot_mem_map.nr_map; i++) { in prom_free_prom_memory()154 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) in prom_free_prom_memory()157 addr = boot_mem_map.map[i].addr; in prom_free_prom_memory()158 while (addr < boot_mem_map.map[i].addr in prom_free_prom_memory()159 + boot_mem_map.map[i].size) { in prom_free_prom_memory()
162 for (i = 0; i < boot_mem_map.nr_map; i++) { in prom_free_prom_memory()163 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) in prom_free_prom_memory()166 addr = boot_mem_map.map[i].addr; in prom_free_prom_memory()167 while (addr < boot_mem_map.map[i].addr in prom_free_prom_memory()168 + boot_mem_map.map[i].size) { in prom_free_prom_memory()
217 struct boot_mem_map { struct226 extern struct boot_mem_map boot_mem_map; argument
216 struct boot_mem_map { struct225 extern struct boot_mem_map boot_mem_map; argument
231 for (i = 0; i < boot_mem_map.nr_map; i++) { in page_is_ram()234 if (boot_mem_map.map[i].type != BOOT_MEM_RAM) in page_is_ram()238 addr = PFN_UP(boot_mem_map.map[i].addr); in page_is_ram()239 end = PFN_DOWN(boot_mem_map.map[i].addr + in page_is_ram()240 boot_mem_map.map[i].size); in page_is_ram()
283 for (i = 0; i < boot_mem_map.nr_map; i++) { in page_is_ram()286 if (boot_mem_map.map[i].type != BOOT_MEM_RAM) in page_is_ram()290 addr = PFN_UP(boot_mem_map.map[i].addr); in page_is_ram()291 end = PFN_DOWN(boot_mem_map.map[i].addr in page_is_ram()292 + boot_mem_map.map[i].size); in page_is_ram()