Home
last modified time | relevance | path

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

/arch/hexagon/mm/
Dinit.c155 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()
/arch/mips/include/asm/
Dpage.h84 extern unsigned long ARCH_PFN_OFFSET;
85 # define ARCH_PFN_OFFSET ARCH_PFN_OFFSET macro
87 # define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) macro
227 unsigned long pfn_offset = ARCH_PFN_OFFSET; in pfn_valid()
/arch/csky/include/asm/
Dpage.h42 #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
/arch/xtensa/include/asm/
Dpage.h162 #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro
182 ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
/arch/mips/kernel/
Dsetup.c89 unsigned long ARCH_PFN_OFFSET; variable
90 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()
/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/xtensa/mm/
Dinit.c74 [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()
/arch/arc/include/asm/
Dpage.h98 #define ARCH_PFN_OFFSET virt_to_pfn(CONFIG_LINUX_RAM_BASE) macro
101 #define pfn_valid(pfn) (((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
Dmmzone.h26 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/powerpc/include/asm/
Dpage.h119 #define ARCH_PFN_OFFSET ((unsigned long)(MEMORY_START >> PAGE_SHIFT)) macro
124 unsigned long min_pfn = ARCH_PFN_OFFSET; in pfn_valid()
/arch/hexagon/include/asm/
Dmem-layout.h39 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
/arch/nds32/include/asm/
Dmemory.h79 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
/arch/unicore32/include/asm/
Dmemory.h92 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
/arch/mips/include/asm/mach-generic/
Dspaces.h22 # define PHYS_OFFSET ((unsigned long)PFN_PHYS(ARCH_PFN_OFFSET))
/arch/arc/mm/
Dinit.c95 min_low_pfn = ARCH_PFN_OFFSET; in setup_arch_memory()
/arch/riscv/include/asm/
Dpage.h118 #define ARCH_PFN_OFFSET (pfn_base) macro
/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/arm/include/asm/
Dmemory.h367 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET macro
/arch/arm64/include/asm/
Dmemory.h334 #define ARCH_PFN_OFFSET ((unsigned long)PHYS_PFN_OFFSET) macro