/linux/arch/powerpc/kernel/ |
A D | module.c | 109 #ifdef MODULES_VADDR in module_alloc() 113 BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); in module_alloc() 116 if (MODULES_VADDR < PAGE_OFFSET && MODULES_END > limit) in module_alloc() 120 ptr = __module_alloc(size, MODULES_VADDR, MODULES_END); in module_alloc()
|
/linux/arch/arm/include/asm/ |
A D | memory.h | 55 #define MODULES_VADDR (PAGE_OFFSET - SZ_16M) macro 58 #define MODULES_VADDR (PAGE_OFFSET - SZ_8M) macro 61 #if TASK_SIZE > MODULES_VADDR 79 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) 122 #define MODULES_VADDR PAGE_OFFSET macro
|
/linux/arch/arm/mm/ |
A D | pgd.c | 57 new_p4d = p4d_alloc(mm, new_pgd + pgd_index(MODULES_VADDR), in pgd_alloc() 58 MODULES_VADDR); in pgd_alloc() 62 new_pud = pud_alloc(mm, new_p4d, MODULES_VADDR); in pgd_alloc() 79 (pmd_index(MODULES_VADDR) - pmd_index(TASK_SIZE)) in pgd_alloc()
|
A D | pageattr.c | 49 if (!in_range(start, size, MODULES_VADDR, MODULES_END) && in change_memory_common()
|
A D | init.c | 339 BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init() 340 BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init()
|
A D | kasan_init.c | 272 create_mapping((void *)MODULES_VADDR, (void *)(PKMAP_BASE + PMD_SIZE)); in kasan_init()
|
/linux/arch/x86/include/asm/ |
A D | pgtable_32_areas.h | 47 #define MODULES_VADDR VMALLOC_START macro 49 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
|
A D | pgtable_64_types.h | 144 #define MODULES_VADDR (__START_KERNEL_map + KERNEL_IMAGE_SIZE) macro 151 #define MODULES_LEN (MODULES_END - MODULES_VADDR)
|
/linux/arch/nds32/include/asm/ |
A D | memory.h | 41 #define MODULES_VADDR (MODULES_END - SZ_32M) macro 43 #if TASK_SIZE > MODULES_VADDR
|
/linux/arch/s390/boot/ |
A D | startup.c | 23 unsigned long __bootdata_preserved(MODULES_VADDR); 182 MODULES_VADDR = MODULES_END - MODULES_LEN; in setup_kernel_memory_layout() 183 VMALLOC_END = MODULES_VADDR; in setup_kernel_memory_layout()
|
/linux/arch/x86/kernel/ |
A D | head64.c | 471 BUILD_BUG_ON(MODULES_VADDR < __START_KERNEL_map); in x86_64_start_kernel() 472 BUILD_BUG_ON(MODULES_VADDR - __START_KERNEL_map < KERNEL_IMAGE_SIZE); in x86_64_start_kernel() 475 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); in x86_64_start_kernel() 476 BUILD_BUG_ON(!(MODULES_VADDR > __START_KERNEL)); in x86_64_start_kernel()
|
/linux/arch/powerpc/mm/ptdump/ |
A D | ptdump.c | 76 #ifdef MODULES_VADDR 264 #ifdef MODULES_VADDR in populate_markers() 265 address_markers[i++].start_address = MODULES_VADDR; in populate_markers()
|
/linux/Documentation/arm/ |
A D | memory.rst | 76 MODULES_VADDR MODULES_END-1 Kernel module space 80 TASK_SIZE MODULES_VADDR-1 KASAn shadow memory when KASan is in use. 81 The range from MODULES_VADDR to the top
|
/linux/arch/powerpc/mm/kasan/ |
A D | kasan_init_32.c | 119 #ifdef MODULES_VADDR in kasan_unmap_early_shadow_vmalloc() 120 k_start = (unsigned long)kasan_mem_to_shadow((void *)MODULES_VADDR); in kasan_unmap_early_shadow_vmalloc()
|
/linux/arch/riscv/mm/ |
A D | kasan_init.c | 195 kasan_populate(kasan_mem_to_shadow((const void *)MODULES_VADDR), in kasan_init() 196 kasan_mem_to_shadow((const void *)MODULES_VADDR + SZ_2G)); in kasan_init()
|
/linux/arch/arm/kernel/ |
A D | module.c | 32 #undef MODULES_VADDR 33 #define MODULES_VADDR (((unsigned long)_exiprom + ~PMD_MASK) & PMD_MASK) macro 46 p = __vmalloc_node_range(size, 1, MODULES_VADDR, MODULES_END, in module_alloc()
|
/linux/fs/proc/ |
A D | kcore.c | 660 #if defined(CONFIG_MODULES) && defined(MODULES_VADDR) 667 if (MODULES_VADDR != VMALLOC_START && MODULES_END != VMALLOC_END) { in add_modules_range() 668 kclist_add(&kcore_modules, (void *)MODULES_VADDR, in add_modules_range() 669 MODULES_END - MODULES_VADDR, KCORE_VMALLOC); in add_modules_range()
|
/linux/arch/powerpc/mm/ |
A D | mem.c | 304 #ifdef MODULES_VADDR in mem_init() 306 MODULES_VADDR, MODULES_END); in mem_init()
|
/linux/arch/arm64/include/asm/ |
A D | memory.h | 50 #define MODULES_END (MODULES_VADDR + MODULES_VSIZE) 51 #define MODULES_VADDR (BPF_JIT_REGION_END) macro
|
/linux/arch/um/include/asm/ |
A D | pgtable.h | 49 #define MODULES_VADDR VMALLOC_START macro 51 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
|
/linux/arch/arm64/kernel/ |
A D | kaslr.c | 158 (u64)MODULES_VADDR); in kaslr_early_init()
|
/linux/arch/powerpc/include/asm/nohash/32/ |
A D | mmu-8xx.h | 175 #define MODULES_VADDR (PAGE_OFFSET - SZ_256M) macro
|
/linux/arch/sparc/kernel/ |
A D | module.c | 32 return __vmalloc_node_range(size, 1, MODULES_VADDR, MODULES_END, in module_map()
|
/linux/arch/s390/include/asm/ |
A D | pgtable.h | 96 extern unsigned long __bootdata_preserved(MODULES_VADDR); 98 #define MODULES_VADDR MODULES_VADDR macro 105 if (addr < (void *)MODULES_VADDR) in is_module_addr()
|
/linux/arch/nds32/kernel/ |
A D | module.c | 12 return __vmalloc_node_range(size, 1, MODULES_VADDR, MODULES_END, in module_alloc()
|