Searched refs:bucket_cmp (Results 1 – 1 of 1) sorted by relevance
/drivers/md/bcache/ |
D | movinggc.c | 185 static bool bucket_cmp(struct bucket *l, struct bucket *r) in bucket_cmp() function 223 heap_add(&ca->heap, b, bucket_cmp); in bch_moving_gc() 224 } else if (bucket_cmp(b, heap_peek(&ca->heap))) { in bch_moving_gc() 229 heap_sift(&ca->heap, 0, bucket_cmp); in bch_moving_gc() 234 heap_pop(&ca->heap, b, bucket_cmp); in bch_moving_gc() 238 while (heap_pop(&ca->heap, b, bucket_cmp)) in bch_moving_gc()
|