/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | memory.h | 49 #define MODULES_VADDR (PAGE_OFFSET - SZ_16M) macro 52 #define MODULES_VADDR (PAGE_OFFSET - SZ_8M) macro 55 #if TASK_SIZE > MODULES_VADDR 73 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff)) 116 #define MODULES_VADDR PAGE_OFFSET macro
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | module.c | 90 #ifdef MODULES_VADDR 93 BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); in module_alloc() 95 return __vmalloc_node_range(size, 1, MODULES_VADDR, MODULES_END, GFP_KERNEL, in module_alloc()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
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()
|
D | pageattr.c | 49 if (!in_range(start, size, MODULES_VADDR, MODULES_END) && in change_memory_common()
|
D | init.c | 421 BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init() 422 BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init()
|
D | kasan_init.c | 272 create_mapping((void *)MODULES_VADDR, (void *)(PKMAP_BASE + PMD_SIZE)); in kasan_init()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | pgtable_32_areas.h | 47 #define MODULES_VADDR VMALLOC_START macro 49 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
|
D | pgtable_64_types.h | 144 #define MODULES_VADDR (__START_KERNEL_map + KERNEL_IMAGE_SIZE) macro 147 #define MODULES_LEN (MODULES_END - MODULES_VADDR)
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | memory.h | 41 #define MODULES_VADDR (MODULES_END - SZ_32M) macro 43 #if TASK_SIZE > MODULES_VADDR
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | head64.c | 469 BUILD_BUG_ON(MODULES_VADDR < __START_KERNEL_map); in x86_64_start_kernel() 470 BUILD_BUG_ON(MODULES_VADDR - __START_KERNEL_map < KERNEL_IMAGE_SIZE); in x86_64_start_kernel() 473 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); in x86_64_start_kernel() 474 BUILD_BUG_ON(!(MODULES_VADDR > __START_KERNEL)); in x86_64_start_kernel()
|
/kernel/linux/linux-5.10/Documentation/arm/ |
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
|
/kernel/linux/linux-5.10/arch/powerpc/mm/kasan/ |
D | kasan_init_32.c | 118 #ifdef MODULES_VADDR in kasan_unmap_early_shadow_vmalloc() 119 k_start = (unsigned long)kasan_mem_to_shadow((void *)MODULES_VADDR); in kasan_unmap_early_shadow_vmalloc()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | kcore.c | 619 #if defined(CONFIG_MODULES) && defined(MODULES_VADDR) 626 if (MODULES_VADDR != VMALLOC_START && MODULES_END != VMALLOC_END) { in add_modules_range() 627 kclist_add(&kcore_modules, (void *)MODULES_VADDR, in add_modules_range() 628 MODULES_END - MODULES_VADDR, KCORE_VMALLOC); in add_modules_range()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/ |
D | ptdump.c | 76 #ifdef MODULES_VADDR 362 #ifdef MODULES_VADDR in populate_markers() 363 address_markers[i++].start_address = MODULES_VADDR; in populate_markers()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
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()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | memory.h | 50 #define MODULES_END (MODULES_VADDR + MODULES_VSIZE) 51 #define MODULES_VADDR (BPF_JIT_REGION_END) macro
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
D | pgtable.h | 49 #define MODULES_VADDR VMALLOC_START macro 51 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | kaslr.c | 176 (u64)MODULES_VADDR); in kaslr_early_init()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s32/ |
D | mmu.c | 185 #ifdef MODULES_VADDR in is_module_segment() 186 if (addr < ALIGN_DOWN(MODULES_VADDR, SZ_256M)) in is_module_segment()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | setup.c | 123 unsigned long MODULES_VADDR; variable 578 MODULES_VADDR = MODULES_END - MODULES_LEN; in setup_memory_end() 579 VMALLOC_END = MODULES_VADDR; in setup_memory_end()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | module.c | 32 return __vmalloc_node_range(size, 1, MODULES_VADDR, MODULES_END, in module_map()
|
D | ktlb.S | 221 sethi %hi(MODULES_VADDR), %g5
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | dump_pagetables.c | 259 address_markers[MODULES_NR].start_address = MODULES_VADDR; in pt_dump_init()
|
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
D | module.c | 12 return __vmalloc_node_range(size, 1, MODULES_VADDR, MODULES_END, in module_alloc()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | pgtable.h | 96 extern unsigned long MODULES_VADDR; 98 #define MODULES_VADDR MODULES_VADDR macro 105 if (addr < (void *)MODULES_VADDR) in is_module_addr()
|