Searched refs:PAGE_OFFSET (Results 1 - 25 of 205) sorted by relevance

123456789

/linux-master/arch/m68k/include/asm/
H A Ddma.h7 #define MAX_DMA_ADDRESS PAGE_OFFSET
H A Dpage_no.h32 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
33 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET))
35 #define virt_addr_valid(kaddr) (((unsigned long)(kaddr) >= PAGE_OFFSET) && \
H A Dpage_mm.h99 if (x >= PAGE_OFFSET)
100 return (x - PAGE_OFFSET);
111 return (void *)(x + PAGE_OFFSET);
144 #define virt_addr_valid(kaddr) ((unsigned long)(kaddr) >= PAGE_OFFSET && (unsigned long)(kaddr) < (unsigned long)high_memory)
/linux-master/arch/loongarch/include/asm/
H A Ddma.h8 #define MAX_DMA_ADDRESS PAGE_OFFSET
/linux-master/arch/alpha/include/asm/
H A Dsetup.h23 #define KERNEL_START (PAGE_OFFSET+KERNEL_START_PHYS)
25 #define INIT_STACK (PAGE_OFFSET+KERNEL_START_PHYS+0x02000)
26 #define EMPTY_PGT (PAGE_OFFSET+KERNEL_START_PHYS+0x04000)
27 #define EMPTY_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x08000)
28 #define ZERO_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x0A000)
30 #define START_ADDR (PAGE_OFFSET+KERNEL_START_PHYS+0x10000)
H A Dpage.h68 #define PAGE_OFFSET 0xffff800000000000UL macro
70 #define PAGE_OFFSET 0xfffffc0000000000UL macro
76 #define PAGE_OFFSET 0xffff800000000000 macro
78 #define PAGE_OFFSET 0xfffffc0000000000 macro
83 #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
84 #define __va(x) ((void *)((unsigned long) (x) + PAGE_OFFSET))
/linux-master/include/asm-generic/
H A Ddma.h11 #define MAX_DMA_ADDRESS PAGE_OFFSET
/linux-master/arch/hexagon/include/asm/
H A Ddma.h12 #define MAX_DMA_ADDRESS (PAGE_OFFSET)
H A Dmem-layout.h19 #define PAGE_OFFSET _AC(0xc0000000, UL) macro
41 #define TASK_SIZE (PAGE_OFFSET)
54 #define MIN_KERNEL_SEG (PAGE_OFFSET >> PGDIR_SHIFT) /* L1 shift is 22 bits */
/linux-master/arch/xtensa/include/asm/
H A Ddma.h48 #define MAX_DMA_ADDRESS (PAGE_OFFSET + XCHAL_KIO_SIZE - 1)
/linux-master/arch/powerpc/include/asm/
H A Dkdump.h20 * branches, so we can just add the PAGE_OFFSET and don't worry about it.
26 #define KDUMP_TRAMPOLINE_START (0x0100 + PAGE_OFFSET)
27 #define KDUMP_TRAMPOLINE_END (0x3000 + PAGE_OFFSET)
H A Dpage.h53 * 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) macro
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)
[all...]
/linux-master/arch/arc/include/uapi/asm/
H A Dpage.h30 #define PAGE_OFFSET _AC(0x80000000, UL) /* Kernel starts at 2G onwrds */ macro
/linux-master/arch/x86/mm/
H A Dphysaddr.c25 x = y + (__START_KERNEL_map - PAGE_OFFSET);
27 /* carry flag will be set if starting x was >= PAGE_OFFSET */
58 x = y + (__START_KERNEL_map - PAGE_OFFSET);
60 /* carry flag will be set if starting x was >= PAGE_OFFSET */
74 unsigned long phys_addr = x - PAGE_OFFSET;
76 VIRTUAL_BUG_ON(x < PAGE_OFFSET);
90 if (x < PAGE_OFFSET)
96 return pfn_valid((x - PAGE_OFFSET) >> PAGE_SHIFT);
/linux-master/arch/openrisc/include/asm/
H A Dpage.h29 #define PAGE_OFFSET 0xc0000000 macro
30 #define KERNELBASE PAGE_OFFSET
72 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET))
73 #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
81 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
/linux-master/arch/mips/include/asm/mach-malta/
H A Dspaces.h36 #define PAGE_OFFSET _AC(0x0, UL) macro
/linux-master/arch/nios2/include/asm/
H A Dpage.h29 * PAGE_OFFSET -- the first address of the first page of memory.
31 #define PAGE_OFFSET \ macro
80 ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET)
82 ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
/linux-master/arch/riscv/kernel/
H A Dvmcore_info.c10 vmcoreinfo_append_str("NUMBER(PAGE_OFFSET)=0x%lx\n", PAGE_OFFSET);
/linux-master/arch/csky/include/asm/
H A Dpage.h27 #define PAGE_OFFSET CONFIG_PAGE_OFFSET macro
37 #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && \
75 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + va_pa_offset)
76 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - va_pa_offset))
85 #define MAP_NR(x) PFN_DOWN((unsigned long)(x) - PAGE_OFFSET - \
H A Dmemory.h13 #define VMALLOC_START (PAGE_OFFSET + LOWMEM_LIMIT + (PAGE_SIZE * 8))
/linux-master/arch/openrisc/kernel/
H A Dvmlinux.lds.S22 # define LOAD_OFFSET PAGE_OFFSET
23 # define LOAD_BASE PAGE_OFFSET
/linux-master/arch/arm/mm/
H A Dphysaddr.c19 * are early callers of __pa() against PAGE_OFFSET
21 if (!high_memory && x >= PAGE_OFFSET)
24 if (high_memory && x >= PAGE_OFFSET && x < (unsigned long)high_memory)
/linux-master/arch/sh/include/asm/
H A Dbarrier.h31 #define ctrl_barrier() __icbi(PAGE_OFFSET)
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dbad_accesses.c24 #define PAGE_OFFSET (0xcul << 60) macro
60 (fault_addr < PAGE_OFFSET || fault_addr >= kernel_virt_end));
92 kernel_virt_end = PAGE_OFFSET + (7 * (512ul << 40));
97 kernel_virt_end = PAGE_OFFSET + (7 * (64ul << 40));
/linux-master/arch/x86/include/asm/
H A Dpage_32.h9 #define __phys_addr_nodebug(x) ((x) - PAGE_OFFSET)

Completed in 242 milliseconds

123456789