Lines Matching defs:temp_start
476 unsigned long temp_start, temp_end;
479 temp_start = temp_end - kbuf->memsz + 1;
480 kexec_random_range_start(temp_start, temp_end, kbuf, &temp_start);
484 temp_start = ALIGN_DOWN(temp_start, kbuf->buf_align);
486 if (temp_start < start || temp_start < kbuf->buf_min)
489 temp_end = temp_start + kbuf->memsz - 1;
495 if (kimage_is_destination_range(image, temp_start, temp_end)) {
496 temp_start = temp_start - PAGE_SIZE;
501 if (arch_check_excluded_range(image, temp_start, temp_end)) {
502 temp_start = temp_start - PAGE_SIZE;
511 kbuf->mem = temp_start;
521 unsigned long temp_start, temp_end;
523 temp_start = max(start, kbuf->buf_min);
525 kexec_random_range_start(temp_start, end, kbuf, &temp_start);
528 temp_start = ALIGN(temp_start, kbuf->buf_align);
529 temp_end = temp_start + kbuf->memsz - 1;
537 if (kimage_is_destination_range(image, temp_start, temp_end)) {
538 temp_start = temp_start + PAGE_SIZE;
543 if (arch_check_excluded_range(image, temp_start, temp_end)) {
544 temp_start = temp_start + PAGE_SIZE;
553 kbuf->mem = temp_start;