Searched refs:ARCH_PFN_OFFSET (Results 1 – 21 of 21) sorted by relevance
155 bootmem_lastpg += ARCH_PFN_OFFSET; in setup_arch_memory()162 (bootmem_lastpg - ARCH_PFN_OFFSET) << PAGE_SHIFT); in setup_arch_memory()166 (bootmem_startpg - ARCH_PFN_OFFSET) << PAGE_SHIFT); in setup_arch_memory()172 min_low_pfn = ARCH_PFN_OFFSET; in setup_arch_memory()197 segtable += (bootmem_lastpg-ARCH_PFN_OFFSET)>>(22-PAGE_SHIFT); in setup_arch_memory()
84 extern unsigned long ARCH_PFN_OFFSET;85 # define ARCH_PFN_OFFSET ARCH_PFN_OFFSET macro87 # define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) macro227 unsigned long pfn_offset = ARCH_PFN_OFFSET; in pfn_valid()
42 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)77 #define ARCH_PFN_OFFSET PFN_DOWN(va_pa_offset + PHYS_OFFSET_OFFSET) macro
162 #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro182 ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
89 unsigned long ARCH_PFN_OFFSET; variable90 EXPORT_SYMBOL(ARCH_PFN_OFFSET);324 ARCH_PFN_OFFSET = PFN_UP(ramstart); in bootmem_init()332 if (PFN_UP(ramstart) > ARCH_PFN_OFFSET) { in bootmem_init()334 (unsigned long)((PFN_UP(ramstart) - ARCH_PFN_OFFSET) * sizeof(struct page)), in bootmem_init()335 (unsigned long)(PFN_UP(ramstart) - ARCH_PFN_OFFSET)); in bootmem_init()339 min_low_pfn = ARCH_PFN_OFFSET; in bootmem_init()682 early_memtest(PFN_PHYS(ARCH_PFN_OFFSET), PFN_PHYS(max_low_pfn)); in arch_mem_init()
46 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) macro93 unsigned long pfn_offset = ARCH_PFN_OFFSET; in pfn_valid()
74 [ZONE_NORMAL] = max_low_pfn - ARCH_PFN_OFFSET, in zones_init()79 free_area_init_node(0, zones_size, ARCH_PFN_OFFSET, NULL); in zones_init()152 max_mapnr = max_pfn - ARCH_PFN_OFFSET; in mem_init()
98 #define ARCH_PFN_OFFSET virt_to_pfn(CONFIG_LINUX_RAM_BASE) macro101 #define pfn_valid(pfn) (((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
26 if (pfn >= ARCH_PFN_OFFSET && is_end_low) in pfn_to_nid()
168 # define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) macro170 # define ARCH_PFN_OFFSET (memory_start >> PAGE_SHIFT) macro171 # define pfn_valid(pfn) ((pfn) < (max_mapnr + ARCH_PFN_OFFSET))
119 #define ARCH_PFN_OFFSET ((unsigned long)(MEMORY_START >> PAGE_SHIFT)) macro124 unsigned long min_pfn = ARCH_PFN_OFFSET; in pfn_valid()
39 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
79 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
92 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
22 # define PHYS_OFFSET ((unsigned long)PFN_PHYS(ARCH_PFN_OFFSET))
95 min_low_pfn = ARCH_PFN_OFFSET; in setup_arch_memory()
118 #define ARCH_PFN_OFFSET (pfn_base) macro
130 #define ARCH_PFN_OFFSET (pfn_base) macro
178 #define ARCH_PFN_OFFSET (PFN_START) macro
367 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
334 #define ARCH_PFN_OFFSET ((unsigned long)PHYS_PFN_OFFSET) macro