Lines Matching refs:heaps
288 extent_heap_new(&extents->heaps[i]); in extents_init()
316 if (extent_heap_empty(&extents->heaps[pind])) { in extents_insert_locked()
320 extent_heap_insert(&extents->heaps[pind], extent); in extents_insert_locked()
342 extent_heap_remove(&extents->heaps[pind], extent); in extents_remove_locked()
343 if (extent_heap_empty(&extents->heaps[pind])) { in extents_remove_locked()
375 assert(!extent_heap_empty(&extents->heaps[i])); in extents_fit_alignment()
376 extent_t *extent = extent_heap_first(&extents->heaps[i]); in extents_fit_alignment()
418 assert(!extent_heap_empty(&extents->heaps[i]));
419 extent_t *extent = extent_heap_first(&extents->heaps[i]);
442 assert(!extent_heap_empty(&extents->heaps[i])); in extents_first_fit_locked()
443 extent_t *extent = extent_heap_first(&extents->heaps[i]); in extents_first_fit_locked()