/arch/alpha/include/uapi/asm/ |
D | setup.h | 22 #define KERNEL_START (PAGE_OFFSET+KERNEL_START_PHYS) 24 #define INIT_STACK (PAGE_OFFSET+KERNEL_START_PHYS+0x02000) 25 #define EMPTY_PGT (PAGE_OFFSET+KERNEL_START_PHYS+0x04000) 26 #define EMPTY_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x08000) 27 #define ZERO_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x0A000) 29 #define START_ADDR (PAGE_OFFSET+KERNEL_START_PHYS+0x10000)
|
/arch/unicore32/include/asm/ |
D | memory.h | 33 #define PAGE_OFFSET UL(0xC0000000) macro 34 #define TASK_SIZE (PAGE_OFFSET - UL(0x41000000)) 35 #define TASK_UNMAPPED_BASE (PAGE_OFFSET / 3) 41 #define MODULES_VADDR (PAGE_OFFSET - 16*1024*1024) 46 #define MODULES_END (PAGE_OFFSET) 59 #define __virt_to_phys(x) ((x) - PAGE_OFFSET + PHYS_OFFSET) 60 #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET) 104 #define virt_addr_valid(kaddr) ((unsigned long)(kaddr) >= PAGE_OFFSET && \
|
/arch/arm/include/asm/ |
D | memory.h | 32 #define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) macro 53 #define MODULES_VADDR (PAGE_OFFSET - SZ_16M) 56 #define MODULES_VADDR (PAGE_OFFSET - SZ_8M) 67 #define MODULES_END (PAGE_OFFSET - PMD_SIZE) 69 #define MODULES_END (PAGE_OFFSET) 106 #define MODULES_VADDR PAGE_OFFSET 169 ((((unsigned long)(kaddr) - PAGE_OFFSET) >> PAGE_SHIFT) + \ 235 return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; in __virt_to_phys() 240 return x - PHYS_OFFSET + PAGE_OFFSET; in __phys_to_virt() 244 ((((unsigned long)(kaddr) - PAGE_OFFSET) >> PAGE_SHIFT) + \ [all …]
|
/arch/x86/mm/ |
D | physaddr.c | 23 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __phys_addr() 56 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __virt_addr_valid() 72 unsigned long phys_addr = x - PAGE_OFFSET; in __phys_addr() 74 VIRTUAL_BUG_ON(x < PAGE_OFFSET); in __phys_addr() 88 if (x < PAGE_OFFSET) in __virt_addr_valid() 94 return pfn_valid((x - PAGE_OFFSET) >> PAGE_SHIFT); in __virt_addr_valid()
|
/arch/arm/mach-realview/include/mach/ |
D | memory.h | 47 #define PAGE_OFFSET1 (PAGE_OFFSET + 0x10000000) 48 #define PAGE_OFFSET2 (PAGE_OFFSET + 0x30000000) 55 (phys) + PAGE_OFFSET) 60 (virt) - PAGE_OFFSET)
|
/arch/openrisc/include/asm/ |
D | page.h | 33 #define PAGE_OFFSET 0xc0000000 macro 34 #define KERNELBASE PAGE_OFFSET 79 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET)) 80 #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET) 86 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) 88 ((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
/arch/alpha/include/asm/ |
D | page.h | 68 #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))
|
/arch/frv/include/asm/ |
D | virtconvert.h | 24 #define phys_to_virt(vaddr) ((void *) ((unsigned long)(vaddr) + PAGE_OFFSET)) 25 #define virt_to_phys(vaddr) ((unsigned long) (vaddr) - PAGE_OFFSET) 37 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT))
|
/arch/m68k/mm/ |
D | sun3mmu.c | 52 address = PAGE_OFFSET; in paging_init() 64 pg_dir += PAGE_OFFSET >> PGDIR_SHIFT; in paging_init() 88 zones_size[ZONE_DMA] = ((unsigned long)high_memory - PAGE_OFFSET) >> PAGE_SHIFT; in paging_init() 93 (__pa(PAGE_OFFSET) >> PAGE_SHIFT) + 1, NULL); in paging_init()
|
/arch/arm64/include/asm/ |
D | memory.h | 45 #define PAGE_OFFSET (UL(0xffffffffffffffff) << (VA_BITS - 1)) macro 46 #define MODULES_END (PAGE_OFFSET) 72 #define __virt_to_phys(x) (((phys_addr_t)(x) - PAGE_OFFSET + PHYS_OFFSET)) 73 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET + PAGE_OFFSET)) 145 #define _virt_addr_is_linear(kaddr) (((u64)(kaddr)) >= PAGE_OFFSET)
|
/arch/sh/include/asm/ |
D | page.h | 129 #define PAGE_OFFSET CONFIG_PAGE_OFFSET macro 141 #define ___pa(x) ((x)-PAGE_OFFSET+__MEMORY_START) 142 #define ___va(x) ((x)+PAGE_OFFSET-__MEMORY_START) 144 #define ___pa(x) ((x)-PAGE_OFFSET) 145 #define ___va(x) ((x)+PAGE_OFFSET) 158 #define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + uncached_start) 159 #define CAC_ADDR(addr) ((addr) - uncached_start + PAGE_OFFSET)
|
/arch/cris/include/asm/ |
D | page.h | 42 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) 43 #define pfn_valid(pfn) (((pfn) - (PAGE_OFFSET >> PAGE_SHIFT)) < max_mapnr) 53 #define virt_to_page(kaddr) (mem_map + (((unsigned long)(kaddr) - PAGE_OFFSET) >> PAGE_SHIFT)) 60 #define page_to_phys(page) __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
/arch/c6x/kernel/ |
D | setup.c | 252 if (start > PAGE_OFFSET || PAGE_OFFSET >= (start + size)) in c6x_add_memory() 308 if (mem_size && (PAGE_OFFSET + PAGE_ALIGN(mem_size)) < memory_end) in setup_arch() 309 memory_end = PAGE_OFFSET + PAGE_ALIGN(mem_size); in setup_arch() 312 memblock_add(PAGE_OFFSET, memory_end - PAGE_OFFSET); in setup_arch() 315 memblock_reserve(PAGE_OFFSET, in setup_arch() 316 PAGE_ALIGN((unsigned long)&_end - PAGE_OFFSET)); in setup_arch() 360 PAGE_OFFSET >> PAGE_SHIFT, in setup_arch() 401 free_bootmem(PAGE_OFFSET, memory_end - PAGE_OFFSET); in setup_arch()
|
/arch/tile/kernel/ |
D | head_32.S | 51 moveli r6, lo16(swapper_pgprot - PAGE_OFFSET) 55 moveli r0, lo16(swapper_pg_dir - PAGE_OFFSET) 56 auli r6, r6, ha16(swapper_pgprot - PAGE_OFFSET) 64 auli r0, r0, ha16(swapper_pg_dir - PAGE_OFFSET) 159 .rept (MEM_USER_INTRPT - PAGE_OFFSET) >> PGDIR_SHIFT 160 PTE addr + PAGE_OFFSET, addr, (1 << (HV_PTE_INDEX_READABLE - 32)) | \
|
D | head_64.S | 74 moveli r4, hw1_last(swapper_pgprot - PAGE_OFFSET) 77 shl16insli r4, r4, hw0(swapper_pgprot - PAGE_OFFSET) 83 moveli r0, hw1_last(.Lsv_data_pmd - PAGE_OFFSET) 84 moveli r6, hw1_last(temp_data_pmd - PAGE_OFFSET) 93 shl16insli r0, r0, hw0(.Lsv_data_pmd - PAGE_OFFSET) 94 shl16insli r6, r6, hw0(temp_data_pmd - PAGE_OFFSET) 125 moveli r0, hw1_last(swapper_pg_dir - PAGE_OFFSET) 129 shl16insli r0, r0, hw0(swapper_pg_dir - PAGE_OFFSET) 229 .org swapper_pg_dir + PGD_INDEX(PAGE_OFFSET) * HV_PTE_SIZE
|
/arch/hexagon/include/asm/ |
D | mem-layout.h | 32 #define PAGE_OFFSET _AC(0xc0000000, UL) macro 54 #define TASK_SIZE (PAGE_OFFSET) 67 #define MIN_KERNEL_SEG (PAGE_OFFSET >> PGDIR_SHIFT) /* L1 shift is 22 bits */
|
/arch/metag/include/asm/ |
D | cacheflush.h | 33 metag_code_cache_flush_all((void *) PAGE_OFFSET); in __flush_cache_all() 34 metag_data_cache_flush_all((void *) PAGE_OFFSET); in __flush_cache_all() 64 metag_data_cache_flush_all((void *) PAGE_OFFSET); in flush_dcache_page() 78 metag_data_cache_flush_all((void *) PAGE_OFFSET); in flush_cache_vmap() 83 metag_data_cache_flush_all((void *) PAGE_OFFSET); in flush_cache_vunmap() 111 metag_code_cache_flush_all((void *) PAGE_OFFSET); in flush_dcache_page()
|
/arch/tile/include/asm/ |
D | page.h | 177 #define PAGE_OFFSET (-(_AC(1, UL) << (MAX_VA_WIDTH - 1))) macro 230 #define PAGE_OFFSET _AC(CONFIG_PAGE_OFFSET, UL) macro 274 return ((unsigned long)kaddr >= PAGE_OFFSET && kaddr < high_memory); in virt_addr_valid() 281 return ((unsigned long)kaddr - PAGE_OFFSET) >> PAGE_SHIFT; in kaddr_to_pfn() 286 return (void *)((pfn << PAGE_SHIFT) + PAGE_OFFSET); in pfn_to_kaddr() 291 return (phys_addr_t)((unsigned long)kaddr - PAGE_OFFSET); in virt_to_phys() 296 return (void *)((unsigned long)paddr + PAGE_OFFSET); in phys_to_virt()
|
/arch/arc/include/uapi/asm/ |
D | page.h | 30 #define PAGE_OFFSET (0x80000000) 33 #define PAGE_OFFSET (0x80000000UL) /* Kernel starts at 2G onwards */ macro
|
/arch/arm/mach-goldfish/include/mach/ |
D | memory.h | 47 #define __virt_to_bus(x) (x - PAGE_OFFSET + BUS_OFFSET) 48 #define __bus_to_virt(x) (x - BUS_OFFSET + PAGE_OFFSET)
|
/arch/powerpc/include/asm/ |
D | kdump.h | 25 #define KDUMP_TRAMPOLINE_START (0x0100 + PAGE_OFFSET) 26 #define KDUMP_TRAMPOLINE_END (0x3000 + PAGE_OFFSET)
|
D | page.h | 89 #define PAGE_OFFSET ASM_CONST(CONFIG_PAGE_OFFSET) macro 122 #define MEMORY_START (PHYSICAL_START + PAGE_OFFSET - KERNELBASE) 216 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) | PAGE_OFFSET)) 220 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START)) 221 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + MEMORY_START) 256 #define is_kernel_addr(x) ((x) >= PAGE_OFFSET)
|
/arch/cris/include/arch-v10/arch/ |
D | page.h | 9 #define PAGE_OFFSET KSEG_6 /* kseg_6 is mapped to physical ram */ macro 11 #define PAGE_OFFSET KSEG_C /* kseg_c is mapped to physical ram */ macro
|
/arch/m68k/include/asm/ |
D | page_no.h | 28 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) 29 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)) 35 #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
|
/arch/score/include/asm/ |
D | page.h | 31 #define PAGE_OFFSET (0xA0000000UL) macro 61 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET) 62 #define __va(x) ((void *)((unsigned long) (x) + PAGE_OFFSET)) 79 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT)
|