Home
last modified time | relevance | path

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

/mm/
Dmemblock.c196 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up() local
203 cand = round_up(this_start, align); in __memblock_find_range_bottom_up()
204 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
205 return cand; in __memblock_find_range_bottom_up()
231 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down() local
242 cand = round_down(this_end - size, align); in __memblock_find_range_top_down()
243 if (cand >= this_start) in __memblock_find_range_top_down()
244 return cand; in __memblock_find_range_top_down()