Home
last modified time | relevance | path

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

/mm/
Dmemtest.c68 phys_addr_t this_start, this_end; in do_one_pass() local
71 &this_end, NULL) { in do_one_pass()
73 this_end = clamp(this_end, start, end); in do_one_pass()
74 if (this_start < this_end) { in do_one_pass()
76 &this_start, &this_end, cpu_to_be64(pattern)); in do_one_pass()
77 memtest(pattern, this_start, this_end - this_start); in do_one_pass()
Dmemblock.c125 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up() local
128 for_each_free_mem_range(i, nid, flags, &this_start, &this_end, NULL) { in __memblock_find_range_bottom_up()
130 this_end = clamp(this_end, start, end); in __memblock_find_range_bottom_up()
133 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
159 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down() local
162 for_each_free_mem_range_reverse(i, nid, flags, &this_start, &this_end, in __memblock_find_range_top_down()
165 this_end = clamp(this_end, start, end); in __memblock_find_range_top_down()
167 if (this_end < size) in __memblock_find_range_top_down()
170 cand = round_down(this_end - size, align); in __memblock_find_range_top_down()