Home
last modified time | relevance | path

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

/mm/
Dmemtest.c69 phys_addr_t this_start, this_end; in do_one_pass() local
72 &this_end, NULL) { in do_one_pass()
74 this_end = clamp(this_end, start, end); in do_one_pass()
75 if (this_start < this_end) { in do_one_pass()
77 &this_start, &this_end, cpu_to_be64(pattern)); in do_one_pass()
78 memtest(pattern, this_start, this_end - this_start); in do_one_pass()
Dhighmem.c383 unsigned this_end = min_t(unsigned, end1, PAGE_SIZE); in zero_user_segments() local
387 memset(kaddr + start1, 0, this_end - start1); in zero_user_segments()
389 end1 -= this_end; in zero_user_segments()
397 unsigned this_end = min_t(unsigned, end2, PAGE_SIZE); in zero_user_segments() local
402 memset(kaddr + start2, 0, this_end - start2); in zero_user_segments()
404 end2 -= this_end; in zero_user_segments()
Dmemblock.c214 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up() local
217 for_each_free_mem_range(i, nid, flags, &this_start, &this_end, NULL) { in __memblock_find_range_bottom_up()
219 this_end = clamp(this_end, start, end); in __memblock_find_range_bottom_up()
222 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
249 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down() local
252 for_each_free_mem_range_reverse(i, nid, flags, &this_start, &this_end, in __memblock_find_range_top_down()
255 this_end = clamp(this_end, start, end); in __memblock_find_range_top_down()
257 if (this_end < size) in __memblock_find_range_top_down()
260 cand = round_down(this_end - size, align); in __memblock_find_range_top_down()