Lines Matching refs:temp_start
475 unsigned long temp_start, temp_end;
478 temp_start = temp_end - kbuf->memsz + 1;
479 kexec_random_range_start(temp_start, temp_end, kbuf, &temp_start);
483 temp_start = ALIGN_DOWN(temp_start, kbuf->buf_align);
485 if (temp_start < start || temp_start < kbuf->buf_min)
488 temp_end = temp_start + kbuf->memsz - 1;
494 if (kimage_is_destination_range(image, temp_start, temp_end)) {
495 temp_start = temp_start - PAGE_SIZE;
500 if (arch_check_excluded_range(image, temp_start, temp_end)) {
501 temp_start = temp_start - PAGE_SIZE;
510 kbuf->mem = temp_start;
520 unsigned long temp_start, temp_end;
522 temp_start = max(start, kbuf->buf_min);
524 kexec_random_range_start(temp_start, end, kbuf, &temp_start);
527 temp_start = ALIGN(temp_start, kbuf->buf_align);
528 temp_end = temp_start + kbuf->memsz - 1;
536 if (kimage_is_destination_range(image, temp_start, temp_end)) {
537 temp_start = temp_start + PAGE_SIZE;
542 if (arch_check_excluded_range(image, temp_start, temp_end)) {
543 temp_start = temp_start + PAGE_SIZE;
552 kbuf->mem = temp_start;