Lines Matching refs:scrub_ctx

38 struct scrub_ctx;
86 struct scrub_ctx *sctx;
107 struct scrub_ctx *sctx;
124 struct scrub_ctx *sctx;
155 struct scrub_ctx {
210 static void scrub_pending_bio_inc(struct scrub_ctx *sctx);
211 static void scrub_pending_bio_dec(struct scrub_ctx *sctx);
236 static int scrub_add_page_to_rd_bio(struct scrub_ctx *sctx,
238 static int scrub_pages(struct scrub_ctx *sctx, u64 logical, u64 len,
250 static int scrub_add_page_to_wr_bio(struct scrub_ctx *sctx,
252 static void scrub_wr_submit(struct scrub_ctx *sctx);
257 static void scrub_put_ctx(struct scrub_ctx *sctx);
265 static void scrub_pending_bio_inc(struct scrub_ctx *sctx)
271 static void scrub_pending_bio_dec(struct scrub_ctx *sctx)
527 static void scrub_free_csums(struct scrub_ctx *sctx)
538 static noinline_for_stack void scrub_free_ctx(struct scrub_ctx *sctx)
569 static void scrub_put_ctx(struct scrub_ctx *sctx)
575 static noinline_for_stack struct scrub_ctx *scrub_setup_ctx(
578 struct scrub_ctx *sctx;
823 struct scrub_ctx *sctx = sblock_to_check->sctx;
1268 struct scrub_ctx *sctx = original_sblock->sctx;
1625 static int scrub_add_page_to_wr_bio(struct scrub_ctx *sctx,
1692 static void scrub_wr_submit(struct scrub_ctx *sctx)
1725 struct scrub_ctx *sctx = sbio->sctx;
1785 struct scrub_ctx *sctx = sblock->sctx;
1811 struct scrub_ctx *sctx = sblock->sctx;
1868 struct scrub_ctx *sctx = sblock->sctx;
1952 static void scrub_submit(struct scrub_ctx *sctx)
1965 static int scrub_add_page_to_rd_bio(struct scrub_ctx *sctx,
2054 struct scrub_ctx *sctx = sblock->sctx;
2095 struct scrub_ctx *sctx = sblock->sctx;
2153 static int scrub_pages(struct scrub_ctx *sctx, u64 logical, u64 len,
2257 struct scrub_ctx *sctx = sbio->sctx;
2367 static int scrub_find_csum(struct scrub_ctx *sctx, u64 logical, u8 *csum)
2402 static int scrub_extent(struct scrub_ctx *sctx, struct map_lookup *map,
2462 struct scrub_ctx *sctx = sparity->sctx;
2546 struct scrub_ctx *sctx = sparity->sctx;
2634 struct scrub_ctx *sctx = sparity->sctx;
2658 struct scrub_ctx *sctx = sparity->sctx;
2682 struct scrub_ctx *sctx = sparity->sctx;
2750 static noinline_for_stack int scrub_raid56_parity(struct scrub_ctx *sctx,
2975 static noinline_for_stack int scrub_stripe(struct scrub_ctx *sctx,
3364 static noinline_for_stack int scrub_chunk(struct scrub_ctx *sctx,
3417 int scrub_enumerate_chunks(struct scrub_ctx *sctx,
3698 static noinline_for_stack int scrub_supers(struct scrub_ctx *sctx,
3817 struct scrub_ctx *sctx;
3901 if (dev->scrub_ctx ||
3913 dev->scrub_ctx = sctx;
3979 dev->scrub_ctx = NULL;
4058 struct scrub_ctx *sctx;
4061 sctx = dev->scrub_ctx;
4067 while (dev->scrub_ctx) {
4070 dev->scrub_ctx == NULL);
4082 struct scrub_ctx *sctx = NULL;
4087 sctx = dev->scrub_ctx;