/openbmc/linux/arch/alpha/mm/ |
H A D | init.c | 144 callback_init(void * kernel_end) in callback_init() argument 183 (((unsigned long)kernel_end + ~PAGE_MASK) & PAGE_MASK); in callback_init() 184 kernel_end = two_pages + 2*PAGE_SIZE; in callback_init() 221 memset(kernel_end, 0, PAGE_SIZE); in callback_init() 223 pmd_set(pmd, (pte_t *)kernel_end); in callback_init() 224 kernel_end += PAGE_SIZE; in callback_init() 235 return kernel_end; in callback_init()
|
/openbmc/linux/arch/arm/boot/bootp/ |
H A D | kernel.S | 5 .globl kernel_end 6 kernel_end: label
|
/openbmc/qemu/hw/core/ |
H A D | loader-fit.c | 180 hwaddr kernel_end, Error **errp) in fit_load_fdt() argument 205 load_addr = ROUND_UP(kernel_end, 64 * KiB) + (10 * MiB); in fit_load_fdt() 270 hwaddr kernel_end = 0; in load_fit() local 320 ret = fit_load_kernel(ldr, itb, cfg_off, opaque, &kernel_end, &err); in load_fit() 326 ret = fit_load_fdt(ldr, itb, cfg_off, opaque, match_data, kernel_end, in load_fit()
|
/openbmc/linux/arch/mips/ar7/ |
H A D | memory.c | 24 u32 *kernel_end = (u32 *)KSEG1ADDR(CPHYSADDR((u32)&_end)); in memsize() local 27 while (tmpaddr > kernel_end) { in memsize()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | physaddr.c | 25 unsigned long kernel_end = kernel_start + kernel_map.size; in __phys_addr_symbol() local 31 VIRTUAL_BUG_ON(x < kernel_start || x > kernel_end); in __phys_addr_symbol()
|
/openbmc/linux/arch/x86/mm/ |
H A D | mem_encrypt_identity.c | 292 unsigned long kernel_start, kernel_end, kernel_len; in sme_encrypt_kernel() local 324 kernel_end = ALIGN((unsigned long)RIP_REL_REF(_end), PMD_SIZE); in sme_encrypt_kernel() 325 kernel_len = kernel_end - kernel_start; in sme_encrypt_kernel() 426 ppd.vaddr_end = kernel_end; in sme_encrypt_kernel() 432 ppd.vaddr_end = kernel_end + decrypted_base; in sme_encrypt_kernel() 476 ppd.vaddr_end = kernel_end + decrypted_base; in sme_encrypt_kernel()
|
H A D | init.c | 775 unsigned long kernel_end = __pa_symbol(_end); in init_mem_mapping() local 784 memory_map_bottom_up(kernel_end, end); in init_mem_mapping() 785 memory_map_bottom_up(ISA_END_ADDRESS, kernel_end); in init_mem_mapping()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | module.c | 71 u64 kernel_end = (u64)_end; in module_init_limits() local 73 u64 kernel_size = kernel_end - kernel_start; in module_init_limits() 84 module_direct_base = kernel_end - SZ_128M; in module_init_limits() 86 module_plt_base = kernel_end - SZ_2G; in module_init_limits() 89 u64 max = kernel_end; in module_init_limits()
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | core.c | 205 static phys_addr_t kernel_end; variable 213 .value = &kernel_end, 272 kernel_end = cpu_to_be_ulong(__pa(_end)); in kexec_setup()
|
/openbmc/linux/arch/parisc/mm/ |
H A D | init.c | 356 unsigned long kernel_start, kernel_end; in map_pages() local 361 kernel_end = __pa((unsigned long)&_end); in map_pages() 403 } else if (address < kernel_start || address >= kernel_end) { in map_pages() 457 unsigned long kernel_end = (unsigned long)&_end; in free_initmem() local 461 map_pages(init_end, __pa(init_end), kernel_end - init_end, in free_initmem() 478 __flush_tlb_range(0, init_begin, kernel_end); in free_initmem()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | setup.c | 306 setup_memory(void *kernel_end) in setup_memory() argument 366 kernel_size = virt_to_phys(kernel_end) - KERNEL_START_PHYS; in setup_memory() 447 void *kernel_end = _end; /* end of kernel */ in setup_arch() local 486 kernel_end = callback_init(kernel_end); in setup_arch() 635 setup_memory(kernel_end); in setup_arch()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | mmu.c | 570 phys_addr_t kernel_end = __pa_symbol(__init_begin); in map_mem() local 596 memblock_mark_nomap(kernel_start, kernel_end - kernel_start); in map_mem() 621 __map_memblock(pgdp, kernel_start, kernel_end, in map_mem() 623 memblock_clear_nomap(kernel_start, kernel_end - kernel_start); in map_mem()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | head.S | 1302 movel %pc@(L(kernel_end)),%a0 2559 lea %pc@(L(kernel_end)),%a0 3811 L(kernel_end):
|
/openbmc/linux/arch/x86/xen/ |
H A D | mmu_pv.c | 1015 unsigned long kernel_end = roundup((unsigned long)_brk_end, PMD_SIZE) - 1; in xen_cleanhighmap() local 1024 if (vaddr < (unsigned long) _text || vaddr > kernel_end) in xen_cleanhighmap()
|