Home
last modified time | relevance | path

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

/mm/
Dmemblock.c120 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up() local
123 for_each_free_mem_range(i, nid, &this_start, &this_end, NULL) { in __memblock_find_range_bottom_up()
125 this_end = clamp(this_end, start, end); in __memblock_find_range_bottom_up()
128 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
152 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down() local
155 for_each_free_mem_range_reverse(i, nid, &this_start, &this_end, NULL) { in __memblock_find_range_top_down()
157 this_end = clamp(this_end, start, end); in __memblock_find_range_top_down()
159 if (this_end < size) in __memblock_find_range_top_down()
162 cand = round_down(this_end - size, align); in __memblock_find_range_top_down()