Home
last modified time | relevance | path

Searched refs:MODULES_VADDR (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.3-rc2/arch/powerpc/kernel/
A Dmodule.c110 #ifdef MODULES_VADDR in module_alloc()
114 BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); in module_alloc()
117 if (MODULES_VADDR < PAGE_OFFSET && MODULES_END > limit) in module_alloc()
121 ptr = __module_alloc(size, MODULES_VADDR, MODULES_END, false); in module_alloc()
/linux-6.3-rc2/arch/arm/include/asm/
A Dmemory.h55 #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-6.3-rc2/arch/arm/mm/
A Dpgd.c57 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 Dpageattr.c66 if (!in_range(start, size, MODULES_VADDR, MODULES_END) && in change_memory_common()
A Dinit.c294 BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init()
295 BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init()
/linux-6.3-rc2/arch/x86/include/asm/
A Dpgtable_32_areas.h47 #define MODULES_VADDR VMALLOC_START macro
49 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
A Dpgtable_64_types.h190 #define MODULES_VADDR (__START_KERNEL_map + KERNEL_IMAGE_SIZE) macro
197 #define MODULES_LEN (MODULES_END - MODULES_VADDR)
/linux-6.3-rc2/arch/powerpc/mm/ptdump/
A Dptdump.c77 #ifdef MODULES_VADDR
265 #ifdef MODULES_VADDR in populate_markers()
266 address_markers[i++].start_address = MODULES_VADDR; in populate_markers()
/linux-6.3-rc2/arch/s390/boot/
A Dstartup.c29 unsigned long __bootdata_preserved(MODULES_VADDR);
211 MODULES_VADDR = MODULES_END - MODULES_LEN; in setup_kernel_memory_layout()
212 VMALLOC_END = MODULES_VADDR; in setup_kernel_memory_layout()
/linux-6.3-rc2/arch/x86/kernel/
A Dhead64.c480 BUILD_BUG_ON(MODULES_VADDR < __START_KERNEL_map); in x86_64_start_kernel()
481 BUILD_BUG_ON(MODULES_VADDR - __START_KERNEL_map < KERNEL_IMAGE_SIZE); in x86_64_start_kernel()
484 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); in x86_64_start_kernel()
485 BUILD_BUG_ON(!(MODULES_VADDR > __START_KERNEL)); in x86_64_start_kernel()
/linux-6.3-rc2/Documentation/arm/
A Dmemory.rst76 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-6.3-rc2/arch/riscv/kernel/
A Dcrash_core.c17 vmcoreinfo_append_str("NUMBER(MODULES_VADDR)=0x%lx\n", MODULES_VADDR); in arch_crash_save_vmcoreinfo()
/linux-6.3-rc2/arch/powerpc/mm/kasan/
A Dinit_32.c118 #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()
/linux-6.3-rc2/arch/arm64/kernel/
A Dcrash_core.c23 vmcoreinfo_append_str("NUMBER(MODULES_VADDR)=0x%lx\n", MODULES_VADDR); in arch_crash_save_vmcoreinfo()
A Dkaslr.c73 module_alloc_base = max((u64)_end - SZ_2G, (u64)MODULES_VADDR); in kaslr_init()
/linux-6.3-rc2/fs/proc/
A Dkcore.c651 #if defined(CONFIG_MODULES) && defined(MODULES_VADDR)
658 if (MODULES_VADDR != VMALLOC_START && MODULES_END != VMALLOC_END) { in add_modules_range()
659 kclist_add(&kcore_modules, (void *)MODULES_VADDR, in add_modules_range()
660 MODULES_END - MODULES_VADDR, KCORE_VMALLOC); in add_modules_range()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dmemory.h47 #define MODULES_END (MODULES_VADDR + MODULES_VSIZE)
48 #define MODULES_VADDR (_PAGE_END(VA_BITS_MIN)) macro
/linux-6.3-rc2/arch/arm/kernel/
A Dmodule.c32 #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-6.3-rc2/arch/powerpc/mm/
A Dmem.c336 #ifdef MODULES_VADDR in mem_init()
338 MODULES_VADDR, MODULES_END); in mem_init()
/linux-6.3-rc2/arch/um/include/asm/
A Dpgtable.h52 #define MODULES_VADDR VMALLOC_START macro
54 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
/linux-6.3-rc2/arch/powerpc/include/asm/nohash/32/
A Dmmu-8xx.h173 #define MODULES_VADDR (PAGE_OFFSET - SZ_256M) macro
/linux-6.3-rc2/mm/kmsan/
A Dkmsan.h203 return ((u64)vaddr >= MODULES_VADDR) && ((u64)vaddr < MODULES_END); in kmsan_internal_is_module_addr()
/linux-6.3-rc2/arch/riscv/mm/
A Dkasan_init.c463 kasan_populate(kasan_mem_to_shadow((const void *)MODULES_VADDR), in kasan_init()
464 kasan_mem_to_shadow((const void *)MODULES_VADDR + SZ_2G)); in kasan_init()
/linux-6.3-rc2/arch/sparc/kernel/
A Dmodule.c32 return __vmalloc_node_range(size, 1, MODULES_VADDR, MODULES_END, in module_map()
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dpgtable.h85 #define MODULES_VADDR (vm_map_base + PCI_IOSIZE + (2 * PAGE_SIZE)) macro
86 #define MODULES_END (MODULES_VADDR + SZ_256M)

Completed in 31 milliseconds

123