Lines Matching refs:alloc_size
291 const phys_addr_t alloc_size, const ulong align) in test_noreserved() argument
298 const phys_addr_t alloc_size_aligned = (alloc_size + align - 1) & in test_noreserved()
311 a = lmb_alloc(&lmb, alloc_size, align); in test_noreserved()
314 alloc_size, 0, 0, 0, 0); in test_noreserved()
316 b = lmb_alloc(&lmb, alloc_size, align); in test_noreserved()
318 if (alloc_size == alloc_size_aligned) { in test_noreserved()
320 (alloc_size_aligned * 2), alloc_size * 2, 0, 0, 0, in test_noreserved()
324 (alloc_size_aligned * 2), alloc_size, ram + ram_size in test_noreserved()
325 - alloc_size_aligned, alloc_size, 0, 0); in test_noreserved()
328 ret = lmb_free(&lmb, b, alloc_size); in test_noreserved()
331 alloc_size, 0, 0, 0, 0); in test_noreserved()
332 ret = lmb_free(&lmb, a, alloc_size); in test_noreserved()
337 b = lmb_alloc_base(&lmb, alloc_size, align, ram_end); in test_noreserved()
340 alloc_size, 0, 0, 0, 0); in test_noreserved()
342 ret = lmb_free(&lmb, b, alloc_size); in test_noreserved()