Home
last modified time | relevance | path

Searched refs:alloc_addr_a (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/test/lib/
H A Dlmb.c465 const phys_size_t alloc_addr_a = ram + 0x8000000; in test_alloc_addr() local
481 ret = lmb_reserve(&lmb, alloc_addr_a, 0x10000); in test_alloc_addr()
495 b = lmb_alloc_addr(&lmb, alloc_addr_a + 0x10000, in test_alloc_addr()
496 alloc_addr_b - alloc_addr_a - 0x10000); in test_alloc_addr()
497 ut_asserteq(b, alloc_addr_a + 0x10000); in test_alloc_addr()
550 ret = lmb_free(&lmb, a, alloc_addr_a - ram); in test_alloc_addr()
593 const phys_size_t alloc_addr_a = ram + 0x8000000; in test_get_unreserved_size() local
609 ret = lmb_reserve(&lmb, alloc_addr_a, 0x10000); in test_get_unreserved_size()
620 ut_asserteq(s, alloc_addr_a - ram); in test_get_unreserved_size()
622 ut_asserteq(s, alloc_addr_a - ram - 0x10000); in test_get_unreserved_size()
[all …]