Searched refs:last_pfn (Results 1 – 3 of 3) sorted by relevance
85 unsigned long curr_pfn, last_pfn; in calc_max_low_pfn() local87 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()92 if (last_pfn < tmp) in calc_max_low_pfn()93 tmp = last_pfn; in calc_max_low_pfn()97 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
134 unsigned long offset, pfn, last_pfn; in __ioremap() local159 last_pfn = PFN_DOWN(last_addr); in __ioremap()160 if (walk_system_ram_range(pfn, last_pfn - pfn + 1, NULL, in __ioremap()
818 unsigned long last_pfn = 0; in e820_end_pfn() local835 last_pfn = limit_pfn; in e820_end_pfn()838 if (end_pfn > last_pfn) in e820_end_pfn()839 last_pfn = end_pfn; in e820_end_pfn()842 if (last_pfn > max_arch_pfn) in e820_end_pfn()843 last_pfn = max_arch_pfn; in e820_end_pfn()846 last_pfn, max_arch_pfn); in e820_end_pfn()847 return last_pfn; in e820_end_pfn()