Lines Matching defs:limit
1512 * The @min_addr limit is dropped if it can not be satisfied and the allocation
1541 /* retry allocation without lower limit */
1703 static phys_addr_t __init_memblock __find_max_addr(phys_addr_t limit)
1709 * translate the memory @limit size into the max address within one of
1710 * the memory memblock regions, if the @limit exceeds the total size
1714 if (limit <= r->size) {
1715 max_addr = r->base + limit;
1718 limit -= r->size;
1724 void __init memblock_enforce_memory_limit(phys_addr_t limit)
1728 if (!limit)
1731 max_addr = __find_max_addr(limit);
1733 /* @limit exceeds the total size of the memory, do nothing */
1777 void __init memblock_mem_limit_remove_map(phys_addr_t limit)
1781 if (!limit)
1784 max_addr = __find_max_addr(limit);
1786 /* @limit exceeds the total size of the memory, do nothing */
1907 void __init_memblock memblock_set_current_limit(phys_addr_t limit)
1909 memblock.current_limit = limit;