Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dvma.c126 struct util_vma_hole *high_hole = calloc(1, sizeof(*hole)); in util_vma_hole_alloc() local
127 high_hole->offset = offset + size; in util_vma_hole_alloc()
128 high_hole->size = waste; in util_vma_hole_alloc()
138 list_addtail(&high_hole->link, &hole->link); in util_vma_hole_alloc()
261 struct util_vma_hole *high_hole = NULL, *low_hole = NULL; in util_vma_heap_free() local
267 high_hole = hole; in util_vma_heap_free()
270 if (high_hole) in util_vma_heap_free()
271 assert(offset + size <= high_hole->offset); in util_vma_heap_free()
272 bool high_adjacent = high_hole && offset + size == high_hole->offset; in util_vma_heap_free()
282 low_hole->size += size + high_hole->size; in util_vma_heap_free()
[all …]