Searched refs:ARCH_PFN_OFFSET (Results 1 – 23 of 23) sorted by relevance
195 bootmem_lastpg += ARCH_PFN_OFFSET; in setup_arch_memory()207 min_low_pfn = ARCH_PFN_OFFSET; in setup_arch_memory()233 segtable += (bootmem_lastpg-ARCH_PFN_OFFSET)>>(22-PAGE_SHIFT); in setup_arch_memory()
74 [ZONE_DMA] = 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()
165 #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro185 ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
46 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) macro93 unsigned long pfn_offset = ARCH_PFN_OFFSET; in pfn_valid()
88 #define ARCH_PFN_OFFSET virt_to_pfn(CONFIG_LINUX_RAM_BASE) macro91 #define pfn_valid(pfn) (((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
29 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))
10 #define ARCH_PFN_OFFSET (CONFIG_PHY_RAM_BASE_ADDRESS >> PAGE_SHIFT) macro
128 #define ARCH_PFN_OFFSET ((unsigned long)(MEMORY_START >> PAGE_SHIFT)) macro129 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && (pfn) < max_mapnr)
52 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
83 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) macro221 unsigned long pfn_offset = ARCH_PFN_OFFSET; in pfn_valid()
101 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
451 if (min_low_pfn > ARCH_PFN_OFFSET) { in bootmem_init()453 (min_low_pfn - ARCH_PFN_OFFSET) * sizeof(struct page), in bootmem_init()454 min_low_pfn - ARCH_PFN_OFFSET); in bootmem_init()455 } else if (min_low_pfn < ARCH_PFN_OFFSET) { in bootmem_init()457 ARCH_PFN_OFFSET - min_low_pfn); in bootmem_init()459 min_low_pfn = ARCH_PFN_OFFSET; in bootmem_init()
43 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) macro
75 #define ARCH_PFN_OFFSET PFN_BASE macro
55 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) macro
80 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) macro
108 #define ARCH_PFN_OFFSET (pfn_base) macro
117 min_low_pfn = ARCH_PFN_OFFSET; in setup_arch_memory()
130 #define ARCH_PFN_OFFSET (pfn_base) macro
178 #define ARCH_PFN_OFFSET (PFN_START) macro
287 #define ARCH_PFN_OFFSET ((unsigned long)PHYS_PFN_OFFSET) macro
370 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro