Home
last modified time | relevance | path

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

/linux-6.15/drivers/md/bcache/
H A Dmovinggc.c197 return (b = min_heap_peek(&ca->heap)[0]) ? GC_SECTORS_USED(b) : 0; in bucket_heap_top()
231 } else if (!new_bucket_cmp(&b, min_heap_peek(&ca->heap), ca)) { in bch_moving_gc()
242 b = min_heap_peek(&ca->heap)[0]; in bch_moving_gc()
249 b = min_heap_peek(&ca->heap)[0]; in bch_moving_gc()
H A Dalloc.c212 else if (!new_bucket_max_cmp(&b, min_heap_peek(&ca->heap), ca)) { in invalidate_buckets_lru()
230 b = min_heap_peek(&ca->heap)[0]; in invalidate_buckets_lru()
H A Dbset.c1168 b = min_heap_peek(&iter->heap)[0]; in __bch_btree_iter_next()
/linux-6.15/Documentation/core-api/
H A Dmin_heap.rst112 element = min_heap_peek(heap);
289 int *top = min_heap_peek(&my_heap);
294 top = min_heap_peek(&my_heap);
300 top = min_heap_peek(&my_heap);
/linux-6.15/fs/bcachefs/
H A Dbtree_node_scan.c336 while ((r = min_heap_peek(nodes_heap)) && in handle_overwrites()
444 ret = darray_push(&f->nodes, *min_heap_peek(&nodes_heap)); in bch2_scan_for_btree_nodes()
459 ret = darray_push(&f->nodes, *min_heap_peek(&nodes_heap)); in bch2_scan_for_btree_nodes()
H A Dclock.c135 ret = *min_heap_peek(&clock->timers); in get_expired_timer()
/linux-6.15/include/linux/
H A Dmin_heap.h451 #define min_heap_peek(_heap) \ macro