Lines Matching refs:scrub_ctx
41 struct scrub_ctx;
109 struct scrub_ctx *sctx;
185 struct scrub_ctx {
290 static void scrub_put_ctx(struct scrub_ctx *sctx);
324 static noinline_for_stack void scrub_free_ctx(struct scrub_ctx *sctx)
337 static void scrub_put_ctx(struct scrub_ctx *sctx)
343 static noinline_for_stack struct scrub_ctx *scrub_setup_ctx(
346 struct scrub_ctx *sctx;
561 static int fill_writer_pointer_gap(struct scrub_ctx *sctx, u64 physical)
867 static void scrub_stripe_report_errors(struct scrub_ctx *sctx,
993 static void scrub_write_sectors(struct scrub_ctx *sctx, struct scrub_stripe *stripe,
1012 struct scrub_ctx *sctx = stripe->sctx;
1153 static void scrub_submit_write_bio(struct scrub_ctx *sctx,
1195 static void scrub_write_sectors(struct scrub_ctx *sctx, struct scrub_stripe *stripe,
1233 static void scrub_throttle_dev_io(struct scrub_ctx *sctx, struct btrfs_device *device,
1455 static int sync_write_pointer_for_zoned(struct scrub_ctx *sctx, u64 logical,
1648 static void scrub_submit_initial_read(struct scrub_ctx *sctx,
1712 static void submit_initial_group_read(struct scrub_ctx *sctx,
1734 static int flush_scrub_stripes(struct scrub_ctx *sctx)
1802 static int queue_scrub_stripe(struct scrub_ctx *sctx, struct btrfs_block_group *bg,
1843 static int scrub_raid56_parity_stripe(struct scrub_ctx *sctx,
2013 static int scrub_simple_mirror(struct scrub_ctx *sctx,
2112 static int scrub_simple_stripe(struct scrub_ctx *sctx,
2145 static noinline_for_stack int scrub_stripe(struct scrub_ctx *sctx,
2314 static noinline_for_stack int scrub_chunk(struct scrub_ctx *sctx,
2383 int scrub_enumerate_chunks(struct scrub_ctx *sctx,
2679 static int scrub_one_super(struct scrub_ctx *sctx, struct btrfs_device *dev,
2714 static noinline_for_stack int scrub_supers(struct scrub_ctx *sctx,
2814 struct scrub_ctx *sctx;
2872 if (dev->scrub_ctx ||
2884 dev->scrub_ctx = sctx;
2947 dev->scrub_ctx = NULL;
3026 struct scrub_ctx *sctx;
3029 sctx = dev->scrub_ctx;
3035 while (dev->scrub_ctx) {
3038 dev->scrub_ctx == NULL);
3051 struct scrub_ctx *sctx = NULL;
3056 sctx = dev->scrub_ctx;