Home
last modified time | relevance | path

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

/linux/kernel/
H A Dkexec_file.c476 unsigned long temp_start, temp_end; in locate_mem_hole_top_down() local
479 temp_start = temp_end - kbuf->memsz + 1; in locate_mem_hole_top_down()
480 kexec_random_range_start(temp_start, temp_end, kbuf, &temp_start); in locate_mem_hole_top_down()
484 temp_start = ALIGN_DOWN(temp_start, kbuf->buf_align); in locate_mem_hole_top_down()
486 if (temp_start < start || temp_start < kbuf->buf_min) in locate_mem_hole_top_down()
489 temp_end = temp_start + kbuf->memsz - 1; in locate_mem_hole_top_down()
495 if (kimage_is_destination_range(image, temp_start, temp_end)) { in locate_mem_hole_top_down()
496 temp_start = temp_start - PAGE_SIZE; in locate_mem_hole_top_down()
501 if (arch_check_excluded_range(image, temp_start, temp_end)) { in locate_mem_hole_top_down()
502 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