Lines Matching refs:temp_start
452 unsigned long temp_start, temp_end; in locate_mem_hole_top_down() local
455 temp_start = temp_end - kbuf->memsz; in locate_mem_hole_top_down()
459 temp_start = temp_start & (~(kbuf->buf_align - 1)); in locate_mem_hole_top_down()
461 if (temp_start < start || temp_start < kbuf->buf_min) in locate_mem_hole_top_down()
464 temp_end = temp_start + kbuf->memsz - 1; in locate_mem_hole_top_down()
470 if (kimage_is_destination_range(image, temp_start, temp_end)) { in locate_mem_hole_top_down()
471 temp_start = temp_start - PAGE_SIZE; in locate_mem_hole_top_down()
480 kbuf->mem = temp_start; in locate_mem_hole_top_down()
490 unsigned long temp_start, temp_end; in locate_mem_hole_bottom_up() local
492 temp_start = max(start, kbuf->buf_min); in locate_mem_hole_bottom_up()
495 temp_start = ALIGN(temp_start, kbuf->buf_align); in locate_mem_hole_bottom_up()
496 temp_end = temp_start + kbuf->memsz - 1; in locate_mem_hole_bottom_up()
504 if (kimage_is_destination_range(image, temp_start, temp_end)) { in locate_mem_hole_bottom_up()
505 temp_start = temp_start + PAGE_SIZE; in locate_mem_hole_bottom_up()
514 kbuf->mem = temp_start; in locate_mem_hole_bottom_up()