Home
last modified time | relevance | path

Searched refs:last_pfn (Results 1 – 6 of 6) sorted by relevance

/arch/sparc/mm/
Dinit_32.c96 unsigned long curr_pfn, last_pfn; in calc_max_low_pfn() local
98 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
103 if (last_pfn < tmp) in calc_max_low_pfn()
104 tmp = last_pfn; in calc_max_low_pfn()
108 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
196 unsigned long curr_pfn, last_pfn; in bootmem_init() local
202 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in bootmem_init()
203 if (last_pfn > max_low_pfn) in bootmem_init()
204 last_pfn = max_low_pfn; in bootmem_init()
210 if (last_pfn <= curr_pfn) in bootmem_init()
[all …]
/arch/m32r/kernel/
Dsetup.c154 unsigned long last_pfn; in setup_memory() local
165 last_pfn = PFN_DOWN(__pa(memory_end)); in setup_memory()
167 if (last_pfn > max_low_pfn) in setup_memory()
168 last_pfn = max_low_pfn; in setup_memory()
170 pages = last_pfn - curr_pfn; in setup_memory()
/arch/mips/mm/
Dioremap.c133 unsigned long offset, pfn, last_pfn; in __ioremap() local
158 last_pfn = PFN_DOWN(last_addr); in __ioremap()
159 if (walk_system_ram_range(pfn, last_pfn - pfn + 1, NULL, in __ioremap()
/arch/x86/kernel/
De820.c760 unsigned long last_pfn = 0; in e820_end_pfn() local
777 last_pfn = limit_pfn; in e820_end_pfn()
780 if (end_pfn > last_pfn) in e820_end_pfn()
781 last_pfn = end_pfn; in e820_end_pfn()
784 if (last_pfn > max_arch_pfn) in e820_end_pfn()
785 last_pfn = max_arch_pfn; in e820_end_pfn()
788 last_pfn, max_arch_pfn); in e820_end_pfn()
789 return last_pfn; in e820_end_pfn()
/arch/x86/mm/
Dioremap.c87 resource_size_t pfn, last_pfn, last_addr; in __ioremap_caller() local
118 last_pfn = last_addr >> PAGE_SHIFT; in __ioremap_caller()
119 if (walk_system_ram_range(pfn, last_pfn - pfn + 1, NULL, in __ioremap_caller()
/arch/blackfin/kernel/
Dsetup.c739 unsigned long curr_pfn, last_pfn, size; in setup_bootmem_allocator() local
785 last_pfn = PFN_DOWN(bfin_memmap.map[i].addr + in setup_bootmem_allocator()
788 if (last_pfn > end_pfn) in setup_bootmem_allocator()
789 last_pfn = end_pfn; in setup_bootmem_allocator()
795 if (last_pfn <= curr_pfn) in setup_bootmem_allocator()
798 size = last_pfn - curr_pfn; in setup_bootmem_allocator()