Home
last modified time | relevance | path

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

/external/mesa3d/src/util/tests/vma/
Dvma_random_test.cpp51 static const uint64_t MEM_PAGE_SIZE = 4096; variable
73 static const uint64_t MEM_PAGES = MEM_SIZE / MEM_PAGE_SIZE;
78 util_vma_heap_init(&heap, MEM_START_PAGE * MEM_PAGE_SIZE, MEM_SIZE);
100 uint64_t align = align_pages * MEM_PAGE_SIZE; in alloc()
105 uint64_t size = size_pages * MEM_PAGE_SIZE; in alloc()
121 uint64_t addr_page = addr / MEM_PAGE_SIZE; in alloc()
157 util_vma_heap_free(&heap, a.start_page * MEM_PAGE_SIZE, in dealloc()
158 a.num_pages * MEM_PAGE_SIZE); in dealloc()