Lines Matching refs:end
104 * 3.2. memory reserved at the end for kasan initialization.
110 * 2. mem_detect memory region start is THREAD_SIZE aligned / end is PAGE_SIZE
122 * (end - start - kernel_size) / THREAD_SIZE + 1
131 unsigned long start, end, pos = 0;
134 for_each_mem_detect_block(i, &start, &end) {
135 if (_min >= end)
140 end = min(_max, end);
141 if (end - start < kernel_size)
143 pos += (end - start - kernel_size) / THREAD_SIZE + 1;
152 unsigned long start, end;
155 for_each_mem_detect_block(i, &start, &end) {
156 if (_min >= end)
161 end = min(_max, end);
162 if (end - start < kernel_size)
164 if ((end - start - kernel_size) / THREAD_SIZE + 1 >= pos)
166 pos -= (end - start - kernel_size) / THREAD_SIZE + 1;
191 * at the very end of available physical memory. To estimate