Lines Matching refs:alloc_addr_c
467 const phys_size_t alloc_addr_c = ram + 0x8000000 * 3; in test_alloc_addr() local
485 ret = lmb_reserve(&lmb, alloc_addr_c, 0x10000); in test_alloc_addr()
488 alloc_addr_b, 0x10000, alloc_addr_c, 0x10000); in test_alloc_addr()
494 alloc_addr_b, 0x10000, alloc_addr_c, 0x10000); in test_alloc_addr()
499 alloc_addr_c, 0x10000, 0, 0); in test_alloc_addr()
501 alloc_addr_c - alloc_addr_b - 0x10000); in test_alloc_addr()
505 d = lmb_alloc_addr(&lmb, alloc_addr_c + 0x10000, in test_alloc_addr()
506 ram_end - alloc_addr_c - 0x10000); in test_alloc_addr()
507 ut_asserteq(d, alloc_addr_c + 0x10000); in test_alloc_addr()
517 ret = lmb_free(&lmb, d, ram_end - alloc_addr_c - 0x10000); in test_alloc_addr()
540 d = lmb_alloc_addr(&lmb, alloc_addr_c + 0x10000, 4); in test_alloc_addr()
541 ut_asserteq(d, alloc_addr_c + 0x10000); in test_alloc_addr()
595 const phys_size_t alloc_addr_c = ram + 0x8000000 * 3; in test_get_unreserved_size() local
613 ret = lmb_reserve(&lmb, alloc_addr_c, 0x10000); in test_get_unreserved_size()
616 alloc_addr_b, 0x10000, alloc_addr_c, 0x10000); in test_get_unreserved_size()
633 s = lmb_get_free_size(&lmb, alloc_addr_c + 0x10000); in test_get_unreserved_size()
634 ut_asserteq(s, ram_end - alloc_addr_c - 0x10000); in test_get_unreserved_size()
635 s = lmb_get_free_size(&lmb, alloc_addr_c + 0x20000); in test_get_unreserved_size()
636 ut_asserteq(s, ram_end - alloc_addr_c - 0x20000); in test_get_unreserved_size()