Searched refs:kernel_size (Results 1 – 12 of 12) sorted by relevance
/linux/arch/s390/boot/ |
A D | kaslr.c | 128 static unsigned long count_valid_kernel_positions(unsigned long kernel_size, in count_valid_kernel_positions() argument 142 if (end - start < kernel_size) in count_valid_kernel_positions() 144 pos += (end - start - kernel_size) / THREAD_SIZE + 1; in count_valid_kernel_positions() 163 if (end - start < kernel_size) in position_to_address() 165 if ((end - start - kernel_size) / THREAD_SIZE + 1 >= pos) in position_to_address() 167 pos -= (end - start - kernel_size) / THREAD_SIZE + 1; in position_to_address() 176 unsigned long base_pos, max_pos, kernel_size; in get_random_base() local 195 kernel_size = vmlinux.image_size + vmlinux.bss_size; in get_random_base() 196 if (safe_addr + kernel_size > memory_limit) in get_random_base() 199 max_pos = count_valid_kernel_positions(kernel_size, safe_addr, memory_limit); in get_random_base() [all …]
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
A D | ia_css_xnr3.host.c | 139 int kernel_size = XNR_FILTER_SIZE; in ia_css_xnr3_encode() local 142 int adjust_factor = ceil_pow2(kernel_size); in ia_css_xnr3_encode() 152 s32 alpha_ydiff = (alpha_y1 - alpha_y0) * adjust_factor / kernel_size; in ia_css_xnr3_encode() 153 s32 alpha_udiff = (alpha_u1 - alpha_u0) * adjust_factor / kernel_size; in ia_css_xnr3_encode() 154 s32 alpha_vdiff = (alpha_v1 - alpha_v0) * adjust_factor / kernel_size; in ia_css_xnr3_encode() 160 s32 coring_udiff = (coring_u1 - coring_u0) * adjust_factor / kernel_size; in ia_css_xnr3_encode() 161 s32 coring_vdiff = (coring_v1 - coring_v0) * adjust_factor / kernel_size; in ia_css_xnr3_encode()
|
/linux/drivers/firmware/efi/libstub/ |
A D | riscv-stub.c | 82 unsigned long kernel_size = 0; in handle_kernel_image() local 86 kernel_size = _edata - _start; in handle_kernel_image() 88 *image_size = kernel_size + (_end - _edata); in handle_kernel_image() 101 status = efi_relocate_kernel(image_addr, kernel_size, *image_size, in handle_kernel_image()
|
A D | arm64-stub.c | 89 unsigned long kernel_size, kernel_memsize = 0; in handle_kernel_image() local 126 kernel_size = _edata - _text; in handle_kernel_image() 127 kernel_memsize = kernel_size + (_end - _edata); in handle_kernel_image() 167 memcpy((void *)*image_addr, _text, kernel_size); in handle_kernel_image()
|
/linux/arch/x86/kernel/fpu/ |
A D | xstate.c | 681 static bool __init paranoid_xstate_size_valid(unsigned int kernel_size) in paranoid_xstate_size_valid() argument 700 XSTATE_WARN_ON(size != kernel_size); in paranoid_xstate_size_valid() 701 return size == kernel_size; in paranoid_xstate_size_valid() 785 unsigned int user_size, kernel_size, kernel_default_size; in init_xstate_size() local 799 kernel_size = get_xsaves_size_no_independent(); in init_xstate_size() 801 kernel_size = user_size; in init_xstate_size() 810 if (!paranoid_xstate_size_valid(kernel_size)) in init_xstate_size() 813 fpu_kernel_cfg.max_size = kernel_size; in init_xstate_size()
|
/linux/arch/powerpc/mm/nohash/ |
A D | kaslr_booke.c | 27 unsigned long kernel_size; member 234 pa_end = pa + regions.kernel_size; in get_usable_address() 335 regions.kernel_size = kernel_sz; in kaslr_choose_location()
|
/linux/arch/arm64/kernel/ |
A D | machine_kexec_file.c | 83 unsigned long kernel_size, in load_other_segments() argument 95 kbuf.buf_min = kernel_load_addr + kernel_size; in load_other_segments()
|
A D | efi-entry.S | 30 ldr w1, =kernel_size
|
/linux/arch/arm64/include/asm/ |
A D | kexec.h | 120 unsigned long kernel_load_addr, unsigned long kernel_size,
|
/linux/drivers/video/fbdev/ |
A D | amba-clcd.c | 773 unsigned long off, user_size, kernel_size; in clcdfb_of_vram_mmap() local 778 kernel_size = fb->fb.fix.smem_len; in clcdfb_of_vram_mmap() 780 if (off >= kernel_size || user_size > (kernel_size - off)) in clcdfb_of_vram_mmap()
|
/linux/arch/alpha/kernel/ |
A D | setup.c | 308 unsigned long kernel_size; in setup_memory() local 364 kernel_size = virt_to_phys(kernel_end) - KERNEL_START_PHYS; in setup_memory() 365 memblock_reserve(KERNEL_START_PHYS, kernel_size); in setup_memory()
|
/linux/include/linux/ |
A D | kexec.h | 121 typedef int (kexec_probe_t)(const char *kernel_buf, unsigned long kernel_size);
|
Completed in 21 milliseconds