Home
last modified time | relevance | path

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

12345678910>>...18

/kernel/linux/linux-5.10/arch/alpha/include/uapi/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)
/kernel/linux/linux-6.6/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))
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dpage.h52 * 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) macro
115 #define MEMORY_START (PHYSICAL_START + PAGE_OFFSET - KERNELBASE)
137 _addr >= PAGE_OFFSET
[all...]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
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...]
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dmemory.h23 /* PAGE_OFFSET - the virtual address of the start of the kernel image */
24 #define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) macro
46 * and PAGE_OFFSET - it must be within 32MB of the kernel text.
49 #define MODULES_VADDR (PAGE_OFFSET - SZ_16M)
52 #define MODULES_VADDR (PAGE_OFFSET - SZ_8M)
63 #define MODULES_END (PAGE_OFFSET - PMD_SIZE)
65 #define MODULES_END (PAGE_OFFSET)
116 #define MODULES_VADDR PAGE_OFFSET
161 (((v_data) - PAGE_OFFSET + PLAT_PHYS_OFFSET) - \
296 return (phys_addr_t)x - PAGE_OFFSET in __virt_to_phys_nodebug()
[all...]
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dmemory.h29 * 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 in __virt_to_phys_nodebug()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s32/
H A Dhash_low.S51 lis r8, (mmu_hash_lock - PAGE_OFFSET)@h
52 ori r8, r8, (mmu_hash_lock - PAGE_OFFSET)@l
71 lis r5, (swapper_pg_dir - PAGE_OFFSET)@ha /* if kernel address, use */
72 addi r5 ,r5 ,(swapper_pg_dir - PAGE_OFFSET)@l /* kernel page table */
143 lis r8, (mmu_hash_lock - PAGE_OFFSET)@ha
145 stw r0, (mmu_hash_lock - PAGE_OFFSET)@l(r8)
162 lis r8, (mmu_hash_lock - PAGE_OFFSET)@ha
164 stw r0, (mmu_hash_lock - PAGE_OFFSET)@l(r8)
209 lis r6, (mmu_hash_lock - PAGE_OFFSET)@ha
210 addi r6, r6, (mmu_hash_lock - PAGE_OFFSET)
[all...]
/kernel/linux/linux-5.10/arch/x86/mm/
H A Dphysaddr.c25 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __phys_addr()
27 /* carry flag will be set if starting x was >= PAGE_OFFSET */ in __phys_addr()
58 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __virt_addr_valid()
60 /* carry flag will be set if starting x was >= PAGE_OFFSET */ in __virt_addr_valid()
74 unsigned long phys_addr = x - PAGE_OFFSET; in __phys_addr()
76 VIRTUAL_BUG_ON(x < PAGE_OFFSET); in __phys_addr()
90 if (x < PAGE_OFFSET) in __virt_addr_valid()
96 return pfn_valid((x - PAGE_OFFSET) >> PAGE_SHIFT); in __virt_addr_valid()
/kernel/linux/linux-5.10/arch/alpha/include/asm/
H A Dpage.h69 #define PAGE_OFFSET 0xffff800000000000UL macro
71 #define PAGE_OFFSET 0xfffffc0000000000UL macro
77 #define PAGE_OFFSET 0xffff800000000000 macro
79 #define PAGE_OFFSET 0xfffffc0000000000 macro
84 #define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
85 #define __va(x) ((void *)((unsigned long) (x) + PAGE_OFFSET))
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dphysaddr.c25 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __phys_addr()
27 /* carry flag will be set if starting x was >= PAGE_OFFSET */ in __phys_addr()
58 x = y + (__START_KERNEL_map - PAGE_OFFSET); in __virt_addr_valid()
60 /* carry flag will be set if starting x was >= PAGE_OFFSET */ in __virt_addr_valid()
74 unsigned long phys_addr = x - PAGE_OFFSET; in __phys_addr()
76 VIRTUAL_BUG_ON(x < PAGE_OFFSET); in __phys_addr()
90 if (x < PAGE_OFFSET) in __virt_addr_valid()
96 return pfn_valid((x - PAGE_OFFSET) >> PAGE_SHIFT); in __virt_addr_valid()
/kernel/linux/linux-6.6/arch/sh/include/asm/
H A Dpage.h120 * PAGE_OFFSET is the virtual address of the start of kernel address
123 #define PAGE_OFFSET CONFIG_PAGE_OFFSET macro
135 #define ___pa(x) ((x)-PAGE_OFFSET+__MEMORY_START)
136 #define ___va(x) ((x)+PAGE_OFFSET-__MEMORY_START)
138 #define ___pa(x) ((x)-PAGE_OFFSET)
139 #define ___va(x) ((x)+PAGE_OFFSET)
152 #define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + uncached_start)
153 #define CAC_ADDR(addr) ((addr) - uncached_start + PAGE_OFFSET)
/kernel/linux/linux-5.10/arch/nds32/include/asm/
H A Dmemory.h24 #define PAGE_OFFSET (CONFIG_PAGE_OFFSET) macro
32 #define __virt_to_phys(x) ((x) - PAGE_OFFSET + PHYS_OFFSET)
33 #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET)
38 * and PAGE_OFFSET - it must be within 32MB of the kernel text.
40 #define MODULES_END (PAGE_OFFSET)
85 #define virt_addr_valid(kaddr) ((unsigned long)(kaddr) >= PAGE_OFFSET && (unsigned long)(kaddr) < (unsigned long)high_memory)
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s32/
H A Dhash_low.S52 lis r8, (mmu_hash_lock - PAGE_OFFSET)@h
53 ori r8, r8, (mmu_hash_lock - PAGE_OFFSET)@l
149 lis r8, (mmu_hash_lock - PAGE_OFFSET)@ha
151 stw r0, (mmu_hash_lock - PAGE_OFFSET)@l(r8)
158 lis r8, (mmu_hash_lock - PAGE_OFFSET)@ha
160 stw r0, (mmu_hash_lock - PAGE_OFFSET)@l(r8)
199 lis r6, (mmu_hash_lock - PAGE_OFFSET)@ha
200 addi r6, r6, (mmu_hash_lock - PAGE_OFFSET)@l
251 lis r6, (mmu_hash_lock - PAGE_OFFSET)@ha
252 addi r6, r6, (mmu_hash_lock - PAGE_OFFSET)
[all...]
H A Dmmu.c151 setbat(idx, PAGE_OFFSET + base, base, size, PAGE_KERNEL_X); in __mmu_mapin_ram()
161 unsigned long border = (unsigned long)__srwx_boundary - PAGE_OFFSET; in mmu_mapin_ram()
164 size = roundup_pow_of_two((unsigned long)_einittext - PAGE_OFFSET); in mmu_mapin_ram()
165 setibat(0, PAGE_OFFSET, 0, size, PAGE_KERNEL_X); in mmu_mapin_ram()
200 unsigned long base = (unsigned long)_stext - PAGE_OFFSET; in mmu_mark_initmem_nx()
201 unsigned long top = ALIGN((unsigned long)_etext - PAGE_OFFSET, SZ_128K); in mmu_mark_initmem_nx()
202 unsigned long border = (unsigned long)__init_begin - PAGE_OFFSET; in mmu_mark_initmem_nx()
207 setibat(i++, PAGE_OFFSET + base, base, size, PAGE_KERNEL_TEXT); in mmu_mark_initmem_nx()
218 setibat(i++, PAGE_OFFSET + base, base, size, PAGE_KERNEL_TEXT); in mmu_mark_initmem_nx()
394 unsigned int hash = (unsigned int)Hash - PAGE_OFFSET; in MMU_init_hw_patch()
[all...]
/kernel/linux/linux-5.10/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)
79 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
/kernel/linux/linux-6.6/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)
86 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
/kernel/linux/linux-5.10/arch/sh/include/asm/
H A Dpage.h120 * PAGE_OFFSET is the virtual address of the start of kernel address
123 #define PAGE_OFFSET CONFIG_PAGE_OFFSET macro
135 #define ___pa(x) ((x)-PAGE_OFFSET+__MEMORY_START)
136 #define ___va(x) ((x)+PAGE_OFFSET-__MEMORY_START)
138 #define ___pa(x) ((x)-PAGE_OFFSET)
139 #define ___va(x) ((x)+PAGE_OFFSET)
152 #define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + uncached_start)
153 #define CAC_ADDR(addr) ((addr) - uncached_start + PAGE_OFFSET)
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dpage.h25 * 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)); \
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dmemory.h29 * 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_SIZE ((_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
242 * lives in the [PAGE_OFFSET, PAGE_END) interval at the bottom of the
245 #define __is_lm_address(addr) (((u64)(addr) ^ PAGE_OFFSET) < (PAGE_END - PAGE_OFFSET))
247 #define __lm_to_phys(addr) (((addr) & ~PAGE_OFFSET) + PHYS_OFFSET)
265 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET)
[all...]
/kernel/linux/linux-5.10/arch/csky/include/asm/
H A Dpage.h27 #define PAGE_OFFSET 0x80000000 macro
40 #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && \
79 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + va_pa_offset)
80 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - va_pa_offset))
84 #define MAP_NR(x) PFN_DOWN((unsigned long)(x) - PAGE_OFFSET - \
/kernel/linux/linux-6.6/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))
90 #define MAP_NR(x) PFN_DOWN((unsigned long)(x) - PAGE_OFFSET - \
/kernel/linux/linux-6.6/arch/xtensa/include/asm/
H A Dpage.h30 #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; in ___pa()
190 ((unsigned long) (x) - PAGE_OFFSET + PHYS_OFFSET)
193 ((void *)((unsigned long) (x) - PHYS_OFFSET + PAGE_OFFSET))
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dhead_8xx.S41 cmpli cr0, \scratch, PAGE_OFFSET@h
221 oris r10, r10, (swapper_pg_dir - PAGE_OFFSET)@ha
225 lwz r11, (swapper_pg_dir-PAGE_OFFSET)@l(r10) /* Get level 1 entry */
251 0: lwz r10, (itlb_miss_counter - PAGE_OFFSET)@l(0)
253 stw r10, (itlb_miss_counter - PAGE_OFFSET)@l(0)
273 oris r10, r10, (swapper_pg_dir - PAGE_OFFSET)@ha
276 lwz r11, (swapper_pg_dir-PAGE_OFFSET)@l(r10) /* Get level 1 entry */
311 0: lwz r10, (dtlb_miss_counter - PAGE_OFFSET)@l(0)
313 stw r10, (dtlb_miss_counter - PAGE_OFFSET)@l(0)
390 cmplwi cr1, r11, (.Ldtlbie - PAGE_OFFSET)
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dhead_8xx.S49 cmpli cr0, \scratch, PAGE_OFFSET@h
210 oris r10, r10, (swapper_pg_dir - PAGE_OFFSET)@ha
214 lwz r11, (swapper_pg_dir-PAGE_OFFSET)@l(r10) /* Get level 1 entry */
240 0: lwz r10, (itlb_miss_counter - PAGE_OFFSET)@l(0)
242 stw r10, (itlb_miss_counter - PAGE_OFFSET)@l(0)
261 oris r10, r10, (swapper_pg_dir - PAGE_OFFSET)@ha
264 lwz r11, (swapper_pg_dir-PAGE_OFFSET)@l(r10) /* Get level 1 entry */
299 0: lwz r10, (dtlb_miss_counter - PAGE_OFFSET)@l(0)
301 stw r10, (dtlb_miss_counter - PAGE_OFFSET)@l(0)
359 cmplwi cr1, r11, (.Ldtlbie - PAGE_OFFSET)
[all...]

Completed in 9 milliseconds

12345678910>>...18