Lines Matching refs:temp_start
426 unsigned long temp_start, temp_end; in locate_mem_hole_top_down() local
429 temp_start = temp_end - kbuf->memsz; in locate_mem_hole_top_down()
433 temp_start = temp_start & (~(kbuf->buf_align - 1)); in locate_mem_hole_top_down()
435 if (temp_start < start || temp_start < kbuf->buf_min) in locate_mem_hole_top_down()
438 temp_end = temp_start + kbuf->memsz - 1; in locate_mem_hole_top_down()
444 if (kimage_is_destination_range(image, temp_start, temp_end)) { in locate_mem_hole_top_down()
445 temp_start = temp_start - PAGE_SIZE; in locate_mem_hole_top_down()
454 kbuf->mem = temp_start; in locate_mem_hole_top_down()
464 unsigned long temp_start, temp_end; in locate_mem_hole_bottom_up() local
466 temp_start = max(start, kbuf->buf_min); in locate_mem_hole_bottom_up()
469 temp_start = ALIGN(temp_start, kbuf->buf_align); in locate_mem_hole_bottom_up()
470 temp_end = temp_start + kbuf->memsz - 1; in locate_mem_hole_bottom_up()
478 if (kimage_is_destination_range(image, temp_start, temp_end)) { in locate_mem_hole_bottom_up()
479 temp_start = temp_start + PAGE_SIZE; in locate_mem_hole_bottom_up()
488 kbuf->mem = temp_start; in locate_mem_hole_bottom_up()