Lines Matching refs:end

197  * @end: end of candidate range, can be %MEMBLOCK_ALLOC_ANYWHERE or
210 __memblock_find_range_bottom_up(phys_addr_t start, phys_addr_t end,
218 this_start = clamp(this_start, start, end);
219 this_end = clamp(this_end, start, end);
232 * @end: end of candidate range, can be %MEMBLOCK_ALLOC_ANYWHERE or
245 __memblock_find_range_top_down(phys_addr_t start, phys_addr_t end,
254 this_start = clamp(this_start, start, end);
255 this_end = clamp(this_end, start, end);
273 * @end: end of candidate range, can be %MEMBLOCK_ALLOC_ANYWHERE or
285 phys_addr_t end, int nid,
288 /* pump up @end */
289 if (end == MEMBLOCK_ALLOC_ACCESSIBLE ||
290 end == MEMBLOCK_ALLOC_KASAN)
291 end = memblock.current_limit;
295 end = max(start, end);
298 return __memblock_find_range_bottom_up(start, end, size, align,
301 return __memblock_find_range_top_down(start, end, size, align,
308 * @end: end of candidate range, can be %MEMBLOCK_ALLOC_ANYWHERE or
319 phys_addr_t end, phys_addr_t size,
326 ret = memblock_find_in_range_node(size, align, start, end,
579 phys_addr_t end = base + memblock_cap_size(base, &size);
609 if (rbase >= end)
629 base = min(rend, end);
633 if (base < end) {
636 memblock_insert_region(type, idx, base, end - base,
690 phys_addr_t end = base + size - 1;
693 &base, &end, (void *)_RET_IP_);
704 * @end_rgn: out parameter for the end of isolated region
709 * region inside the range is returned in *@start_rgn and end in *@end_rgn.
718 phys_addr_t end = base + memblock_cap_size(base, &size);
736 if (rbase >= end)
752 } else if (rend > end) {
757 rgn->base = end;
758 rgn->size -= end - rbase;
759 type->total_size -= end - rbase;
760 memblock_insert_region(type, idx--, rbase, end - rbase,
791 phys_addr_t end = base + size - 1;
794 &base, &end, (void *)_RET_IP_);
809 phys_addr_t end = base + size - 1;
812 &base, &end, (void *)_RET_IP_);
820 phys_addr_t end = base + size - 1;
823 &base, &end, (void *)_RET_IP_);
831 phys_addr_t end = base + size - 1;
834 &base, &end, (void *)_RET_IP_);
974 * @out_end: ptr to phys_addr_t for end address of the range, can be %NULL
1066 /* signal end of iteration */
1079 * @out_end: ptr to phys_addr_t for end address of the range, can be %NULL
1164 /* signal end of iteration */
1240 * @out_epfn: ptr to ulong for end pfn of the range, can be %NULL
1266 * Verify the end is at least past the start of the zone and
1289 /* signal end of iteration */
1303 * @end: the upper bound of the memory region to allocate (phys address)
1308 * memblock.current_limit if @end == %MEMBLOCK_ALLOC_ACCESSIBLE.
1325 phys_addr_t end, int nid,
1341 found = memblock_find_in_range_node(size, align, start, end, nid,
1348 end, NUMA_NO_NODE,
1365 if (end != MEMBLOCK_ALLOC_KASAN)
1382 * @end: the upper bound of the memory region to allocate (physical address)
1384 * Allocate @size bytes in the between @start and @end.
1392 phys_addr_t end)
1394 return memblock_alloc_range_nid(size, align, start, end, NUMA_NO_NODE,
1590 phys_addr_t cursor, end;
1592 end = base + size - 1;
1594 __func__, &base, &end, (void *)_RET_IP_);
1597 end = PFN_DOWN(base + size);
1599 for (; cursor < end; cursor++) {
1782 phys_addr_t end = base + memblock_cap_size(base, &size);
1787 memblock.memory.regions[idx].size) >= end;
1808 phys_addr_t start, end, orig_start, orig_end;
1815 end = round_down(orig_end, align);
1817 if (start == orig_start && end == orig_end)
1820 if (start < end) {
1822 r->size = end - start;
1843 phys_addr_t base, end, size;
1855 end = base + size - 1;
1863 type->name, idx, &base, &end, &size, nid_buf, flags);
1900 static void __init __free_pages_memory(unsigned long start, unsigned long end)
1904 while (start < end) {
1907 while (start + (1UL << order) > end)
1917 phys_addr_t end)
1921 PFN_DOWN(end), max_low_pfn);
1934 phys_addr_t start, end;
1939 for_each_reserved_mem_range(i, &start, &end)
1940 reserve_bootmem_region(start, end);
1947 for_each_free_mem_range(i, NUMA_NO_NODE, MEMBLOCK_NONE, &start, &end,
1949 count += __free_memory_core(start, end);
2001 phys_addr_t end;
2005 end = reg->base + reg->size - 1;
2008 seq_printf(m, "%pa..%pa\n", &reg->base, &end);