Searched refs:lmb_align_down (Results 1 – 1 of 1) sorted by relevance
280 static u64 lmb_align_down(u64 addr, u64 size) in lmb_align_down() function296 base = lmb_align_down((end - size), align); in lmb_alloc_nid_unreserved()308 base = lmb_align_down(res_base - size, align); in lmb_alloc_nid_unreserved()402 base = lmb_align_down(lmbbase + lmbsize - size, align); in __lmb_alloc_base()405 base = lmb_align_down(base - size, align); in __lmb_alloc_base()420 base = lmb_align_down(res_base - size, align); in __lmb_alloc_base()