Lines Matching refs:PAGE_OFFSET
52 * the same as PAGE_OFFSET, but _might not be_.
54 * The kdump dump kernel is one example where KERNELBASE != PAGE_OFFSET.
56 * PAGE_OFFSET is the virtual address of the start of lowmem.
62 * KERNELBASE, PAGE_OFFSET, and PHYSICAL_START are all configurable on
66 * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START
68 * Also, KERNELBASE >= PAGE_OFFSET and PHYSICAL_START >= MEMORY_START
71 * va = pa + PAGE_OFFSET - MEMORY_START
81 #define PAGE_OFFSET ASM_CONST(CONFIG_PAGE_OFFSET)
115 #define MEMORY_START (PHYSICAL_START + PAGE_OFFSET - KERNELBASE)
137 _addr >= PAGE_OFFSET && _addr < (unsigned long)high_memory && \
176 * Let the kernel be loaded at 64MB and KERNELBASE be 0xc0000000 (same as PAGE_OFFSET).
211 * On non-Book-E PPC64 PAGE_OFFSET and MEMORY_START are constants so use
223 * gcc miscompiles (unsigned long)(&static_var) - PAGE_OFFSET
229 VIRTUAL_WARN_ON((unsigned long)(x) >= PAGE_OFFSET); \
230 (void *)(unsigned long)((phys_addr_t)(x) | PAGE_OFFSET); \
235 VIRTUAL_WARN_ON((unsigned long)(x) < PAGE_OFFSET); \
240 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START))
241 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + MEMORY_START)
260 * Don't compare things with KERNELBASE or PAGE_OFFSET to test for
266 #define is_kernel_addr(x) ((x) >= PAGE_OFFSET)