Home
last modified time | relevance | path

Searched refs:ARCH_PFN_OFFSET (Results 1 – 23 of 23) sorted by relevance

/arch/hexagon/mm/
Dinit.c195 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()
/arch/xtensa/mm/
Dinit.c74 [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()
/arch/xtensa/include/asm/
Dpage.h165 #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro
185 ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
/arch/nios2/include/asm/
Dpage.h46 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) macro
93 unsigned long pfn_offset = ARCH_PFN_OFFSET; in pfn_valid()
/arch/arc/include/asm/
Dpage.h88 #define ARCH_PFN_OFFSET virt_to_pfn(CONFIG_LINUX_RAM_BASE) macro
91 #define pfn_valid(pfn) (((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
Dmmzone.h29 if (pfn >= ARCH_PFN_OFFSET && is_end_low) in pfn_to_nid()
/arch/microblaze/include/asm/
Dpage.h168 # define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) macro
170 # define ARCH_PFN_OFFSET (memory_start >> PAGE_SHIFT) macro
171 # define pfn_valid(pfn) ((pfn) < (max_mapnr + ARCH_PFN_OFFSET))
/arch/blackfin/include/asm/
Dpage.h10 #define ARCH_PFN_OFFSET (CONFIG_PHY_RAM_BASE_ADDRESS >> PAGE_SHIFT) macro
/arch/powerpc/include/asm/
Dpage.h128 #define ARCH_PFN_OFFSET ((unsigned long)(MEMORY_START >> PAGE_SHIFT)) macro
129 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && (pfn) < max_mapnr)
/arch/hexagon/include/asm/
Dmem-layout.h52 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
/arch/mips/include/asm/
Dpage.h83 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) macro
221 unsigned long pfn_offset = ARCH_PFN_OFFSET; in pfn_valid()
/arch/unicore32/include/asm/
Dmemory.h101 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
/arch/mips/kernel/
Dsetup.c451 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()
/arch/cris/include/asm/
Dpage.h43 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) macro
/arch/m32r/include/asm/
Dpage.h75 #define ARCH_PFN_OFFSET PFN_BASE macro
/arch/frv/include/asm/
Dpage.h55 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) macro
/arch/score/include/asm/
Dpage.h80 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) macro
/arch/metag/include/asm/
Dpage.h108 #define ARCH_PFN_OFFSET (pfn_base) macro
/arch/arc/mm/
Dinit.c117 min_low_pfn = ARCH_PFN_OFFSET; in setup_arch_memory()
/arch/sparc/include/asm/
Dpage_32.h130 #define ARCH_PFN_OFFSET (pfn_base) macro
/arch/sh/include/asm/
Dpage.h178 #define ARCH_PFN_OFFSET (PFN_START) macro
/arch/arm64/include/asm/
Dmemory.h287 #define ARCH_PFN_OFFSET ((unsigned long)PHYS_PFN_OFFSET) macro
/arch/arm/include/asm/
Dmemory.h370 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro