Lines Matching refs:max_addr
1522 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_internal() argument
1535 if (max_addr > memblock.current_limit) in memblock_alloc_internal()
1536 max_addr = memblock.current_limit; in memblock_alloc_internal()
1538 alloc = memblock_alloc_range_nid(size, align, min_addr, max_addr, nid, in memblock_alloc_internal()
1543 alloc = memblock_alloc_range_nid(size, align, 0, max_addr, nid, in memblock_alloc_internal()
1572 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_exact_nid_raw() argument
1577 &max_addr, (void *)_RET_IP_); in memblock_alloc_exact_nid_raw()
1579 return memblock_alloc_internal(size, align, min_addr, max_addr, nid, in memblock_alloc_exact_nid_raw()
1604 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_try_nid_raw() argument
1609 &max_addr, (void *)_RET_IP_); in memblock_alloc_try_nid_raw()
1611 return memblock_alloc_internal(size, align, min_addr, max_addr, nid, in memblock_alloc_try_nid_raw()
1634 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_try_nid() argument
1641 &max_addr, (void *)_RET_IP_); in memblock_alloc_try_nid()
1643 min_addr, max_addr, nid, false); in memblock_alloc_try_nid()
1705 phys_addr_t max_addr = PHYS_ADDR_MAX; in __find_max_addr() local
1715 max_addr = r->base + limit; in __find_max_addr()
1721 return max_addr; in __find_max_addr()
1726 phys_addr_t max_addr; in memblock_enforce_memory_limit() local
1731 max_addr = __find_max_addr(limit); in memblock_enforce_memory_limit()
1734 if (max_addr == PHYS_ADDR_MAX) in memblock_enforce_memory_limit()
1738 memblock_remove_range(&memblock.memory, max_addr, in memblock_enforce_memory_limit()
1740 memblock_remove_range(&memblock.reserved, max_addr, in memblock_enforce_memory_limit()
1779 phys_addr_t max_addr; in memblock_mem_limit_remove_map() local
1784 max_addr = __find_max_addr(limit); in memblock_mem_limit_remove_map()
1787 if (max_addr == PHYS_ADDR_MAX) in memblock_mem_limit_remove_map()
1790 memblock_cap_memory_range(0, max_addr); in memblock_mem_limit_remove_map()