Lines Matching defs:limit
1429 * The @min_addr limit is dropped if it can not be satisfied and the allocation
1458 /* retry allocation without lower limit */
1632 static phys_addr_t __init_memblock __find_max_addr(phys_addr_t limit)
1638 * translate the memory @limit size into the max address within one of
1639 * the memory memblock regions, if the @limit exceeds the total size
1643 if (limit <= r->size) {
1644 max_addr = r->base + limit;
1647 limit -= r->size;
1653 void __init memblock_enforce_memory_limit(phys_addr_t limit)
1657 if (!limit)
1660 max_addr = __find_max_addr(limit);
1662 /* @limit exceeds the total size of the memory, do nothing */
1701 void __init memblock_mem_limit_remove_map(phys_addr_t limit)
1705 if (!limit)
1708 max_addr = __find_max_addr(limit);
1710 /* @limit exceeds the total size of the memory, do nothing */
1831 void __init_memblock memblock_set_current_limit(phys_addr_t limit)
1833 memblock.current_limit = limit;