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
1742 const int nr_stripes = sctx->cur_stripe; in flush_scrub_stripes()
1797 sctx->cur_stripe = 0; in flush_scrub_stripes()
1818 ASSERT(sctx->cur_stripe < SCRUB_TOTAL_STRIPES); in queue_scrub_stripe()
1823 stripe = &sctx->stripes[sctx->cur_stripe]; in queue_scrub_stripe()
1832 sctx->cur_stripe++; in queue_scrub_stripe()
1835 if (sctx->cur_stripe % SCRUB_STRIPES_PER_GROUP == 0) { in queue_scrub_stripe()
1836 const int first_slot = sctx->cur_stripe - SCRUB_STRIPES_PER_GROUP; in queue_scrub_stripe()
1842 if (sctx->cur_stripe == SCRUB_TOTAL_STRIPES) in queue_scrub_stripe()