Home
last modified time | relevance | path

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

/external/mesa3d/src/util/tests/vma/
Dvma_random_test.cpp76 : heap_holes{allocation{MEM_START_PAGE, MEM_PAGES}}, rand{seed} in random_test()
113 for (const auto& hole : heap_holes) { in alloc()
123 auto i = heap_holes.find(a); in alloc()
124 assert(i != end(heap_holes)); in alloc()
130 heap_holes.erase(i); in alloc()
132 heap_holes.emplace(allocation{hole.start_page, in alloc()
136 heap_holes.emplace(allocation{allocation_end_page(a), in alloc()
160 assert(heap_holes.find(a) == end(heap_holes)); in dealloc()
161 auto next = heap_holes.upper_bound(a); in dealloc()
162 if (next != end(heap_holes)) { in dealloc()
[all …]