/linux-master/arch/arm/include/asm/ |
H A D | memory.h | 29 * PAGE_OFFSET: the virtual address of the start of lowmem, memory above 34 #define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) macro 35 #define KERNEL_OFFSET (PAGE_OFFSET) 57 * and PAGE_OFFSET - it must be within 32MB of the kernel text. 60 #define MODULES_VADDR (PAGE_OFFSET - SZ_16M) 63 #define MODULES_VADDR (PAGE_OFFSET - SZ_8M) 74 #define MODULES_END (PAGE_OFFSET - PMD_SIZE) 76 #define MODULES_END (PAGE_OFFSET) 127 #define MODULES_VADDR PAGE_OFFSET 286 return (phys_addr_t)x - PAGE_OFFSET [all...] |
H A D | dma.h | 13 arm_dma_zone_size && arm_dma_zone_size < (0x100000000ULL - PAGE_OFFSET) ? \ 14 (PAGE_OFFSET + arm_dma_zone_size) : 0xffffffffUL; })
|
H A D | highmem.h | 8 #define PKMAP_BASE (PAGE_OFFSET - PMD_SIZE)
|
/linux-master/arch/sh/include/asm/ |
H A D | page.h | 109 * PAGE_OFFSET is the virtual address of the start of kernel address 112 #define PAGE_OFFSET CONFIG_PAGE_OFFSET macro 124 #define ___pa(x) ((x)-PAGE_OFFSET+__MEMORY_START) 125 #define ___va(x) ((x)+PAGE_OFFSET-__MEMORY_START) 127 #define ___pa(x) ((x)-PAGE_OFFSET) 128 #define ___va(x) ((x)+PAGE_OFFSET) 141 #define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + uncached_start) 142 #define CAC_ADDR(addr) ((addr) - uncached_start + PAGE_OFFSET)
|
/linux-master/arch/riscv/include/asm/ |
H A D | page.h | 25 * PAGE_OFFSET -- the first address of the first page of memory. 31 #define PAGE_OFFSET kernel_map.page_offset macro 33 #define PAGE_OFFSET _AC(CONFIG_PAGE_OFFSET, UL) macro 37 * define the PAGE_OFFSET value for SV48 and SV39. 42 #define PAGE_OFFSET _AC(CONFIG_PAGE_OFFSET, UL) macro 103 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) 130 ((x) >= PAGE_OFFSET && (!IS_ENABLED(CONFIG_64BIT) || (x) < PAGE_OFFSET + KERN_VIRT_SIZE)) 195 (unsigned long)(_addr) >= PAGE_OFFSET && pfn_valid(virt_to_pfn(_addr)); \
|
/linux-master/arch/x86/kernel/ |
H A D | head32.c | 45 *(pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = (pte_t) {.pte = 0}; 87 * and PAGE_OFFSET for up to _end. 115 *(*pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = pl2; 145 *ptr = (unsigned long)ptep + PAGE_OFFSET; 158 *ptr = (pte.pte & PTE_PFN_MASK) + PAGE_OFFSET; 163 *ptr = (unsigned long)pl2p + PAGE_OFFSET; 172 *ptr = (unsigned long)pl2p + PAGE_OFFSET;
|
/linux-master/arch/arm/mach-zynq/ |
H A D | platsmp.c | 46 if (__pa(PAGE_OFFSET)) { 53 zero = (__force u8 __iomem *)PAGE_OFFSET; 70 if (__pa(PAGE_OFFSET))
|
/linux-master/include/asm-generic/ |
H A D | page.h | 66 #define PAGE_OFFSET (0) macro 69 #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) 95 #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
|
/linux-master/arch/x86/include/asm/ |
H A D | pgtable_32_areas.h | 51 #define MAXMEM (VMALLOC_END - PAGE_OFFSET - __VMALLOC_RESERVE)
|
/linux-master/arch/alpha/include/asm/ |
H A D | pgalloc.h | 19 pmd_set(pmd, (pte_t *)(page_to_pa(pte) + PAGE_OFFSET));
|
/linux-master/arch/sparc/include/asm/ |
H A D | page_32.h | 119 #define PAGE_OFFSET 0xf0000000 macro 124 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + phys_base) 125 #define __va(x) ((void *)((unsigned long) (x) - phys_base + PAGE_OFFSET)) 133 #define virt_addr_valid(kaddr) ((((unsigned long)(kaddr)-PAGE_OFFSET)>>PAGE_SHIFT) < max_mapnr)
|
H A D | processor_32.h | 20 #define TASK_SIZE PAGE_OFFSET 22 #define STACK_TOP (PAGE_OFFSET - PAGE_SIZE)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | kasan.h | 23 #define KASAN_KERN_START ALIGN_DOWN(PAGE_OFFSET - SZ_256M, SZ_256M) 25 #define KASAN_KERN_START PAGE_OFFSET
|
/linux-master/arch/arm/mach-socfpga/ |
H A D | headsmp.S | 17 * Thus, we can just subtract the PAGE_OFFSET to get the physical 24 sub r2, r2, #PAGE_OFFSET
|
/linux-master/arch/mips/include/asm/mach-generic/ |
H A D | spaces.h | 94 #ifndef PAGE_OFFSET 95 #define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET) macro
|
/linux-master/arch/arm64/include/asm/ |
H A D | memory.h | 29 * PAGE_OFFSET all the way to PAGE_END for 48-bit. This allows us to 30 * keep a constant PAGE_OFFSET and "fallback" to using the higher end 33 #define VMEMMAP_RANGE (_PAGE_END(VA_BITS_MIN) - PAGE_OFFSET) 37 * PAGE_OFFSET - the virtual address of the start of the linear map, at the 45 #define PAGE_OFFSET (_PAGE_OFFSET(VA_BITS)) macro 328 * lives in the [PAGE_OFFSET, PAGE_END) interval at the bottom of the 331 #define __is_lm_address(addr) (((u64)(addr) - PAGE_OFFSET) < (PAGE_END - PAGE_OFFSET)) 333 #define __lm_to_phys(addr) (((addr) - PAGE_OFFSET) + PHYS_OFFSET) 351 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET) [all...] |
/linux-master/arch/loongarch/include/asm/ |
H A D | addrspace.h | 57 #ifndef PAGE_OFFSET 58 #define PAGE_OFFSET (CACHE_BASE + PHYS_OFFSET) macro
|
/linux-master/arch/xtensa/include/asm/ |
H A D | page.h | 30 #define PAGE_OFFSET XCHAL_KSEG_CACHED_VADDR macro 35 #define PAGE_OFFSET _AC(CONFIG_DEFAULT_MEM_START, UL) macro 169 unsigned long off = va - PAGE_OFFSET; 190 ((unsigned long) (x) - PAGE_OFFSET + PHYS_OFFSET) 193 ((void *)((unsigned long) (x) - PHYS_OFFSET + PAGE_OFFSET))
|
/linux-master/arch/powerpc/mm/book3s32/ |
H A D | mmu.c | 151 setbat(idx, PAGE_OFFSET + base, base, size, PAGE_KERNEL_X); 161 unsigned long border = (unsigned long)__srwx_boundary - PAGE_OFFSET; 164 size = roundup_pow_of_two((unsigned long)_einittext - PAGE_OFFSET); 165 setibat(0, PAGE_OFFSET, 0, size, PAGE_KERNEL_X); 200 unsigned long base = (unsigned long)_stext - PAGE_OFFSET; 201 unsigned long top = ALIGN((unsigned long)_etext - PAGE_OFFSET, SZ_128K); 202 unsigned long border = (unsigned long)__init_begin - PAGE_OFFSET; 207 setibat(i++, PAGE_OFFSET + base, base, size, PAGE_KERNEL_TEXT); 218 setibat(i++, PAGE_OFFSET + base, base, size, PAGE_KERNEL_TEXT); 397 unsigned int hash = (unsigned int)Hash - PAGE_OFFSET; [all...] |
/linux-master/arch/arc/mm/ |
H A D | highmem.c | 67 BUILD_BUG_ON(PAGE_OFFSET < (VMALLOC_END + FIXMAP_SIZE + PKMAP_SIZE));
|
/linux-master/arch/arc/include/asm/ |
H A D | highmem.h | 18 #define FIXMAP_BASE (PAGE_OFFSET - FIXMAP_SIZE - PKMAP_SIZE)
|
/linux-master/arch/powerpc/mm/nohash/ |
H A D | 44x.c | 179 ppc47x_pin_tlb(addr + PAGE_OFFSET, addr); 181 ppc44x_pin_tlb(addr + PAGE_OFFSET, addr); 237 ppc47x_pin_tlb(addr + PAGE_OFFSET, addr); 239 ppc44x_pin_tlb(addr + PAGE_OFFSET, addr);
|
/linux-master/arch/mips/mm/ |
H A D | physaddr.c | 25 return x >= PAGE_OFFSET && (KSEGX(x) < KSEG2 ||
|
/linux-master/drivers/pci/controller/ |
H A D | pci-versatile.c | 94 writel(__pa(PAGE_OFFSET) >> 28, PCI_SMAP(mem)); 131 writel(__pa(PAGE_OFFSET), local_pci_cfg_base + PCI_BASE_ADDRESS_0); 132 writel(__pa(PAGE_OFFSET), local_pci_cfg_base + PCI_BASE_ADDRESS_1); 133 writel(__pa(PAGE_OFFSET), local_pci_cfg_base + PCI_BASE_ADDRESS_2);
|
/linux-master/arch/m68k/include/asm/ |
H A D | sun3_pgalloc.h | 48 memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT));
|