Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/bcache/
Dmovinggc.c188 static bool bucket_cmp(struct bucket *l, struct bucket *r) in bucket_cmp() function
226 heap_add(&ca->heap, b, bucket_cmp); in bch_moving_gc()
227 } else if (bucket_cmp(b, heap_peek(&ca->heap))) { in bch_moving_gc()
232 heap_sift(&ca->heap, 0, bucket_cmp); in bch_moving_gc()
237 heap_pop(&ca->heap, b, bucket_cmp); in bch_moving_gc()
241 while (heap_pop(&ca->heap, b, bucket_cmp)) in bch_moving_gc()