Searched refs:MEM_PAGE_SIZE (Results 1 – 1 of 1) sorted by relevance
51 static const uint64_t MEM_PAGE_SIZE = 4096; variable73 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()