Lines Matching defs:sctx

95 	struct scrub_ctx	*sctx;  member
116 struct scrub_ctx *sctx; member
133 struct scrub_ctx *sctx; member
209 struct scrub_ctx *sctx; member
225 struct scrub_ctx *sctx; member
308 static void scrub_pending_bio_inc(struct scrub_ctx *sctx) in scrub_pending_bio_inc()
314 static void scrub_pending_bio_dec(struct scrub_ctx *sctx) in scrub_pending_bio_dec()
357 static void scrub_pending_trans_workers_inc(struct scrub_ctx *sctx) in scrub_pending_trans_workers_inc()
389 static void scrub_pending_trans_workers_dec(struct scrub_ctx *sctx) in scrub_pending_trans_workers_dec()
407 static void scrub_free_csums(struct scrub_ctx *sctx) in scrub_free_csums()
418 static noinline_for_stack void scrub_free_ctx(struct scrub_ctx *sctx) in scrub_free_ctx()
450 static void scrub_put_ctx(struct scrub_ctx *sctx) in scrub_put_ctx()
459 struct scrub_ctx *sctx; in scrub_setup_ctx() local
793 struct scrub_ctx *sctx; in scrub_fixup_nodatasum() local
882 struct scrub_ctx *sctx = sblock_to_check->sctx; in scrub_handle_errored_block() local
1303 struct scrub_ctx *sctx = original_sblock->sctx; in scrub_setup_recheck_block() local
1648 static int scrub_add_page_to_wr_bio(struct scrub_ctx *sctx, in scrub_add_page_to_wr_bio()
1719 static void scrub_wr_submit(struct scrub_ctx *sctx) in scrub_wr_submit()
1754 struct scrub_ctx *sctx = sbio->sctx; in scrub_wr_bio_end_io_worker() local
1815 struct scrub_ctx *sctx = sblock->sctx; in scrub_checksum_data() local
1858 struct scrub_ctx *sctx = sblock->sctx; in scrub_checksum_tree_block() local
1929 struct scrub_ctx *sctx = sblock->sctx; in scrub_checksum_super() local
2035 static void scrub_submit(struct scrub_ctx *sctx) in scrub_submit()
2048 static int scrub_add_page_to_rd_bio(struct scrub_ctx *sctx, in scrub_add_page_to_rd_bio()
2136 struct scrub_ctx *sctx = sblock->sctx; in scrub_missing_raid56_worker() local
2178 struct scrub_ctx *sctx = sblock->sctx; in scrub_missing_raid56_pages() local
2238 static int scrub_pages(struct scrub_ctx *sctx, u64 logical, u64 len, in scrub_pages()
2342 struct scrub_ctx *sctx = sbio->sctx; in scrub_bio_end_io_worker() local
2449 static int scrub_find_csum(struct scrub_ctx *sctx, u64 logical, u8 *csum) in scrub_find_csum()
2482 static int scrub_extent(struct scrub_ctx *sctx, u64 logical, u64 len, in scrub_extent()
2542 struct scrub_ctx *sctx = sparity->sctx; in scrub_pages_for_parity() local
2626 struct scrub_ctx *sctx = sparity->sctx; in scrub_extent_for_parity() local
2714 struct scrub_ctx *sctx = sparity->sctx; in scrub_free_parity() local
2738 struct scrub_ctx *sctx = sparity->sctx; in scrub_parity_bio_endio_worker() local
2762 struct scrub_ctx *sctx = sparity->sctx; in scrub_parity_check_and_repair() local
2834 static noinline_for_stack int scrub_raid56_parity(struct scrub_ctx *sctx, in scrub_raid56_parity()
3056 static noinline_for_stack int scrub_stripe(struct scrub_ctx *sctx, in scrub_stripe()
3432 static noinline_for_stack int scrub_chunk(struct scrub_ctx *sctx, in scrub_chunk()
3487 int scrub_enumerate_chunks(struct scrub_ctx *sctx, in scrub_enumerate_chunks()
3691 static noinline_for_stack int scrub_supers(struct scrub_ctx *sctx, in scrub_supers()
3791 struct scrub_ctx *sctx; in btrfs_scrub_dev() local
3981 struct scrub_ctx *sctx; in btrfs_scrub_cancel_dev() local
4005 struct scrub_ctx *sctx = NULL; in btrfs_scrub_progress() local
4043 static int scrub_setup_wr_ctx(struct scrub_ctx *sctx, in scrub_setup_wr_ctx()
4071 static int copy_nocow_pages(struct scrub_ctx *sctx, u64 logical, u64 len, in copy_nocow_pages()
4122 struct scrub_ctx *sctx = nocow_ctx->sctx; in copy_nocow_pages_worker() local
4368 static int write_page_nocow(struct scrub_ctx *sctx, in write_page_nocow()