Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/tests/vma/
Dvma_random_test.cpp76 : heap_holes{allocation{MEM_START_PAGE, MEM_PAGES}}, rand{seed} in random_test()
118 for (const auto& hole : heap_holes) { in alloc()
128 auto i = heap_holes.find(a); in alloc()
129 assert(i != end(heap_holes)); in alloc()
135 heap_holes.erase(i); in alloc()
137 heap_holes.emplace(allocation{hole.start_page, in alloc()
141 heap_holes.emplace(allocation{allocation_end_page(a), in alloc()
165 assert(heap_holes.find(a) == end(heap_holes)); in dealloc()
166 auto next = heap_holes.upper_bound(a); in dealloc()
167 if (next != end(heap_holes)) { in dealloc()
[all …]