Home
last modified time | relevance | path

Searched refs:temp_start (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/
H A Dkexec_file.c475 unsigned long temp_start, temp_end; in locate_mem_hole_top_down() local
478 temp_start = temp_end - kbuf->memsz + 1; in locate_mem_hole_top_down()
479 kexec_random_range_start(temp_start, temp_end, kbuf, &temp_start); in locate_mem_hole_top_down()
483 temp_start = ALIGN_DOWN(temp_start, kbuf->buf_align); in locate_mem_hole_top_down()
485 if (temp_start < start || temp_start < kbuf->buf_min) in locate_mem_hole_top_down()
488 temp_end = temp_start + kbuf->memsz - 1; in locate_mem_hole_top_down()
494 if (kimage_is_destination_range(image, temp_start, temp_end)) { in locate_mem_hole_top_down()
495 temp_start = temp_start - PAGE_SIZE; in locate_mem_hole_top_down()
500 if (arch_check_excluded_range(image, temp_start, temp_end)) { in locate_mem_hole_top_down()
501 temp_start = temp_start - PAGE_SIZE; in locate_mem_hole_top_down()
[all …]
/linux/include/linux/
H A Dkexec.h206 unsigned long *temp_start) in kexec_random_range_start() argument
212 *temp_start = start + (end - start) / USHRT_MAX * i; in kexec_random_range_start()
219 unsigned long *temp_start) in kexec_random_range_start() argument