Lines Matching refs:PAGE_OFFSET
53 * the same as PAGE_OFFSET, but _might not be_.
55 * The kdump dump kernel is one example where KERNELBASE != PAGE_OFFSET.
57 * PAGE_OFFSET is the virtual address of the start of lowmem.
63 * KERNELBASE, PAGE_OFFSET, and PHYSICAL_START are all configurable on
67 * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START
69 * Also, KERNELBASE >= PAGE_OFFSET and PHYSICAL_START >= MEMORY_START
72 * va = pa + PAGE_OFFSET - MEMORY_START
82 #define PAGE_OFFSET ASM_CONST(CONFIG_PAGE_OFFSET)
116 #define MEMORY_START (PHYSICAL_START + PAGE_OFFSET - KERNELBASE)
158 * Let the kernel be loaded at 64MB and KERNELBASE be 0xc0000000 (same as PAGE_OFFSET).
193 * On non-Book-E PPC64 PAGE_OFFSET and MEMORY_START are constants so use
205 * gcc miscompiles (unsigned long)(&static_var) - PAGE_OFFSET
211 VIRTUAL_WARN_ON((unsigned long)(x) >= PAGE_OFFSET); \
212 (void *)(unsigned long)((phys_addr_t)(x) | PAGE_OFFSET); \
217 VIRTUAL_WARN_ON((unsigned long)(x) < PAGE_OFFSET); \
222 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START))
223 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + MEMORY_START)
242 _addr >= PAGE_OFFSET && _addr < (unsigned long)high_memory && \
261 * Don't compare things with KERNELBASE or PAGE_OFFSET to test for
267 #define is_kernel_addr(x) ((x) >= PAGE_OFFSET)