Home
last modified time | relevance | path

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

12

/arch/powerpc/kernel/
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()
/arch/arm/include/asm/
Dmemory.h60 #define MODULES_VADDR (PAGE_OFFSET - SZ_16M) macro
63 #define MODULES_VADDR (PAGE_OFFSET - SZ_8M) macro
66 #if TASK_SIZE > MODULES_VADDR
84 #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff))
127 #define MODULES_VADDR PAGE_OFFSET macro
/arch/x86/include/asm/
Dpgtable_32_areas.h47 #define MODULES_VADDR VMALLOC_START macro
49 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
Dpgtable_64_types.h190 #define MODULES_VADDR (__START_KERNEL_map + KERNEL_IMAGE_SIZE) macro
197 #define MODULES_LEN (MODULES_END - MODULES_VADDR)
/arch/arm/mm/
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()
Dpageattr.c66 if (!range_in_range(start, size, MODULES_VADDR, MODULES_END) && in change_memory_common()
Dinit.c294 BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init()
295 BUG_ON(TASK_SIZE > MODULES_VADDR); in mem_init()
Dkasan_init.c279 create_mapping((void *)MODULES_VADDR, (void *)(MODULES_END)); in kasan_init()
/arch/loongarch/include/asm/
Dkasan.h45 #define XKVRANGE_VC_START MODULES_VADDR
46 #define XKVRANGE_VC_SIZE round_up(KFENCE_AREA_END - MODULES_VADDR + 1, PGDIR_SIZE)
Dpgtable.h82 #define MODULES_VADDR (vm_map_base + PCI_IOSIZE + (2 * PAGE_SIZE)) macro
83 #define MODULES_END (MODULES_VADDR + SZ_256M)
/arch/riscv/kernel/
Dcrash_core.c18 vmcoreinfo_append_str("NUMBER(MODULES_VADDR)=0x%lx\n", MODULES_VADDR); in arch_crash_save_vmcoreinfo()
/arch/arm64/kernel/
Dcrash_core.c24 vmcoreinfo_append_str("NUMBER(MODULES_VADDR)=0x%lx\n", MODULES_VADDR); in arch_crash_save_vmcoreinfo()
/arch/powerpc/mm/ptdump/
Dptdump.c77 #ifdef MODULES_VADDR
265 #ifdef MODULES_VADDR in populate_markers()
266 address_markers[i++].start_address = MODULES_VADDR; in populate_markers()
/arch/powerpc/mm/kasan/
Dinit_32.c119 #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()
/arch/x86/kernel/
Dhead64.c479 BUILD_BUG_ON(MODULES_VADDR < __START_KERNEL_map); in x86_64_start_kernel()
480 BUILD_BUG_ON(MODULES_VADDR - __START_KERNEL_map < KERNEL_IMAGE_SIZE); in x86_64_start_kernel()
483 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); in x86_64_start_kernel()
484 BUILD_BUG_ON(!(MODULES_VADDR > __START_KERNEL)); in x86_64_start_kernel()
/arch/s390/boot/
Dstartup.c28 unsigned long __bootdata_preserved(MODULES_VADDR);
210 MODULES_VADDR = MODULES_END - MODULES_LEN; in setup_kernel_memory_layout()
211 VMALLOC_END = MODULES_VADDR; in setup_kernel_memory_layout()
/arch/arm/kernel/
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()
/arch/arm64/include/asm/
Dmemory.h47 #define MODULES_END (MODULES_VADDR + MODULES_VSIZE)
48 #define MODULES_VADDR (_PAGE_END(VA_BITS_MIN)) macro
/arch/powerpc/mm/
Dmem.c335 #ifdef MODULES_VADDR in mem_init()
337 MODULES_VADDR, MODULES_END); in mem_init()
/arch/um/include/asm/
Dpgtable.h52 #define MODULES_VADDR VMALLOC_START macro
54 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
/arch/powerpc/include/asm/nohash/32/
Dmmu-8xx.h173 #define MODULES_VADDR (PAGE_OFFSET - SZ_256M) macro
/arch/sparc/kernel/
Dmodule.c32 return __vmalloc_node_range(size, 1, MODULES_VADDR, MODULES_END, in module_map()
Dktlb.S221 sethi %hi(MODULES_VADDR), %g5
/arch/riscv/mm/
Dkasan_init.c492 (void *)kasan_mem_to_shadow((void *)MODULES_VADDR), in kasan_init()
512 kasan_mem_to_shadow((const void *)MODULES_VADDR + SZ_2G)); in kasan_init()
/arch/s390/mm/
Ddump_pagetables.c295 address_markers[MODULES_NR].start_address = MODULES_VADDR; in pt_dump_init()

12