Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/bcache/
H A Dmovinggc.c201 unsigned long sectors_to_move, reserve_sectors; in bch_moving_gc() local
208 sectors_to_move = 0; in bch_moving_gc()
222 sectors_to_move += GC_SECTORS_USED(b); in bch_moving_gc()
225 sectors_to_move -= bucket_heap_top(ca); in bch_moving_gc()
226 sectors_to_move += GC_SECTORS_USED(b); in bch_moving_gc()
233 while (sectors_to_move > reserve_sectors) { in bch_moving_gc()
235 sectors_to_move -= GC_SECTORS_USED(b); in bch_moving_gc()