Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dscrub.c192 int cur_stripe; member
1738 const int nr_stripes = sctx->cur_stripe; in flush_scrub_stripes()
1793 sctx->cur_stripe = 0; in flush_scrub_stripes()
1814 ASSERT(sctx->cur_stripe < SCRUB_TOTAL_STRIPES); in queue_scrub_stripe()
1819 stripe = &sctx->stripes[sctx->cur_stripe]; in queue_scrub_stripe()
1828 sctx->cur_stripe++; in queue_scrub_stripe()
1831 if (sctx->cur_stripe % SCRUB_STRIPES_PER_GROUP == 0) { in queue_scrub_stripe()
1832 const int first_slot = sctx->cur_stripe - SCRUB_STRIPES_PER_GROUP; in queue_scrub_stripe()
1838 if (sctx->cur_stripe == SCRUB_TOTAL_STRIPES) in queue_scrub_stripe()