Lines Matching defs:sctx
95 struct scrub_ctx *sctx; member
116 struct scrub_ctx *sctx; member
132 struct scrub_ctx *sctx; member
208 struct scrub_ctx *sctx; member
224 struct scrub_ctx *sctx; member
312 static void scrub_pending_bio_inc(struct scrub_ctx *sctx) in scrub_pending_bio_inc()
318 static void scrub_pending_bio_dec(struct scrub_ctx *sctx) in scrub_pending_bio_dec()
352 static void scrub_pending_trans_workers_inc(struct scrub_ctx *sctx) in scrub_pending_trans_workers_inc()
384 static void scrub_pending_trans_workers_dec(struct scrub_ctx *sctx) in scrub_pending_trans_workers_dec()
402 static void scrub_free_csums(struct scrub_ctx *sctx) in scrub_free_csums()
413 static noinline_for_stack void scrub_free_ctx(struct scrub_ctx *sctx) in scrub_free_ctx()
445 static void scrub_put_ctx(struct scrub_ctx *sctx) in scrub_put_ctx()
454 struct scrub_ctx *sctx; in scrub_setup_ctx() local
801 struct scrub_ctx *sctx; in scrub_fixup_nodatasum() local
890 struct scrub_ctx *sctx = sblock_to_check->sctx; in scrub_handle_errored_block() local
1320 struct scrub_ctx *sctx = original_sblock->sctx; in scrub_setup_recheck_block() local
1703 static int scrub_add_page_to_wr_bio(struct scrub_ctx *sctx, in scrub_add_page_to_wr_bio()
1774 static void scrub_wr_submit(struct scrub_ctx *sctx) in scrub_wr_submit()
1809 struct scrub_ctx *sctx = sbio->sctx; in scrub_wr_bio_end_io_worker() local
1858 struct scrub_ctx *sctx = sblock->sctx; in scrub_checksum_data() local
1902 struct scrub_ctx *sctx = sblock->sctx; in scrub_checksum_tree_block() local
1974 struct scrub_ctx *sctx = sblock->sctx; in scrub_checksum_super() local
2080 static void scrub_submit(struct scrub_ctx *sctx) in scrub_submit()
2107 static int scrub_add_page_to_rd_bio(struct scrub_ctx *sctx, in scrub_add_page_to_rd_bio()
2181 static int scrub_pages(struct scrub_ctx *sctx, u64 logical, u64 len, in scrub_pages()
2277 struct scrub_ctx *sctx = sbio->sctx; in scrub_bio_end_io_worker() local
2384 static int scrub_find_csum(struct scrub_ctx *sctx, u64 logical, u64 len, in scrub_find_csum()
2418 static int scrub_extent(struct scrub_ctx *sctx, u64 logical, u64 len, in scrub_extent()
2478 struct scrub_ctx *sctx = sparity->sctx; in scrub_pages_for_parity() local
2562 struct scrub_ctx *sctx = sparity->sctx; in scrub_extent_for_parity() local
2645 struct scrub_ctx *sctx = sparity->sctx; in scrub_free_parity() local
2668 struct scrub_ctx *sctx = sparity->sctx; in scrub_parity_bio_endio() local
2681 struct scrub_ctx *sctx = sparity->sctx; in scrub_parity_check_and_repair() local
2754 static noinline_for_stack int scrub_raid56_parity(struct scrub_ctx *sctx, in scrub_raid56_parity()
2957 static noinline_for_stack int scrub_stripe(struct scrub_ctx *sctx, in scrub_stripe()
3322 static noinline_for_stack int scrub_chunk(struct scrub_ctx *sctx, in scrub_chunk()
3366 int scrub_enumerate_chunks(struct scrub_ctx *sctx, in scrub_enumerate_chunks()
3521 static noinline_for_stack int scrub_supers(struct scrub_ctx *sctx, in scrub_supers()
3612 struct scrub_ctx *sctx; in btrfs_scrub_dev() local
3802 struct scrub_ctx *sctx; in btrfs_scrub_cancel_dev() local
3826 struct scrub_ctx *sctx = NULL; in btrfs_scrub_progress() local
3864 static int scrub_setup_wr_ctx(struct scrub_ctx *sctx, in scrub_setup_wr_ctx()
3893 static int copy_nocow_pages(struct scrub_ctx *sctx, u64 logical, u64 len, in copy_nocow_pages()
3944 struct scrub_ctx *sctx = nocow_ctx->sctx; in copy_nocow_pages_worker() local
4190 static int write_page_nocow(struct scrub_ctx *sctx, in write_page_nocow()