Home
last modified time | relevance | path

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

/mm/
Dmemblock.c214 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up() local
221 cand = round_up(this_start, align); in __memblock_find_range_bottom_up()
222 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
223 return cand; in __memblock_find_range_bottom_up()
249 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down() local
260 cand = round_down(this_end - size, align); in __memblock_find_range_top_down()
261 if (cand >= this_start) in __memblock_find_range_top_down()
262 return cand; in __memblock_find_range_top_down()