Searched refs:max_addr (Results 1 – 1 of 1) sorted by relevance
367 u64 __init lmb_alloc_base(u64 size, u64 align, u64 max_addr) in lmb_alloc_base() argument371 alloc = __lmb_alloc_base(size, align, max_addr); in lmb_alloc_base()375 (unsigned long long) size, (unsigned long long) max_addr); in lmb_alloc_base()380 u64 __init __lmb_alloc_base(u64 size, u64 align, u64 max_addr) in __lmb_alloc_base() argument392 if (max_addr == LMB_ALLOC_ANYWHERE) in __lmb_alloc_base()393 max_addr = LMB_REAL_LIMIT; in __lmb_alloc_base()401 if (max_addr == LMB_ALLOC_ANYWHERE) in __lmb_alloc_base()403 else if (lmbbase < max_addr) { in __lmb_alloc_base()404 base = min(lmbbase + lmbsize, max_addr); in __lmb_alloc_base()