Home
last modified time | relevance | path

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

/third_party/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);
105 uint64_t align = align_pages * MEM_PAGE_SIZE; in alloc()
110 uint64_t size = size_pages * MEM_PAGE_SIZE; in alloc()
126 uint64_t addr_page = addr / MEM_PAGE_SIZE; in alloc()
162 util_vma_heap_free(&heap, a.start_page * MEM_PAGE_SIZE, in dealloc()
163 a.num_pages * MEM_PAGE_SIZE); in dealloc()