Lines Matching defs:sctx
86 struct scrub_ctx *sctx; member
107 struct scrub_ctx *sctx; member
124 struct scrub_ctx *sctx; member
265 static void scrub_pending_bio_inc(struct scrub_ctx *sctx) in scrub_pending_bio_inc()
271 static void scrub_pending_bio_dec(struct scrub_ctx *sctx) in scrub_pending_bio_dec()
527 static void scrub_free_csums(struct scrub_ctx *sctx) in scrub_free_csums()
538 static noinline_for_stack void scrub_free_ctx(struct scrub_ctx *sctx) in scrub_free_ctx()
569 static void scrub_put_ctx(struct scrub_ctx *sctx) in scrub_put_ctx()
578 struct scrub_ctx *sctx; in scrub_setup_ctx() local
823 struct scrub_ctx *sctx = sblock_to_check->sctx; in scrub_handle_errored_block() local
1268 struct scrub_ctx *sctx = original_sblock->sctx; in scrub_setup_recheck_block() local
1625 static int scrub_add_page_to_wr_bio(struct scrub_ctx *sctx, in scrub_add_page_to_wr_bio()
1692 static void scrub_wr_submit(struct scrub_ctx *sctx) in scrub_wr_submit()
1725 struct scrub_ctx *sctx = sbio->sctx; in scrub_wr_bio_end_io_worker() local
1785 struct scrub_ctx *sctx = sblock->sctx; in scrub_checksum_data() local
1811 struct scrub_ctx *sctx = sblock->sctx; in scrub_checksum_tree_block() local
1868 struct scrub_ctx *sctx = sblock->sctx; in scrub_checksum_super() local
1952 static void scrub_submit(struct scrub_ctx *sctx) in scrub_submit()
1965 static int scrub_add_page_to_rd_bio(struct scrub_ctx *sctx, in scrub_add_page_to_rd_bio()
2054 struct scrub_ctx *sctx = sblock->sctx; in scrub_missing_raid56_worker() local
2095 struct scrub_ctx *sctx = sblock->sctx; in scrub_missing_raid56_pages() local
2153 static int scrub_pages(struct scrub_ctx *sctx, u64 logical, u64 len, in scrub_pages()
2257 struct scrub_ctx *sctx = sbio->sctx; in scrub_bio_end_io_worker() local
2367 static int scrub_find_csum(struct scrub_ctx *sctx, u64 logical, u8 *csum) in scrub_find_csum()
2402 static int scrub_extent(struct scrub_ctx *sctx, struct map_lookup *map, in scrub_extent()
2462 struct scrub_ctx *sctx = sparity->sctx; in scrub_pages_for_parity() local
2546 struct scrub_ctx *sctx = sparity->sctx; in scrub_extent_for_parity() local
2634 struct scrub_ctx *sctx = sparity->sctx; in scrub_free_parity() local
2658 struct scrub_ctx *sctx = sparity->sctx; in scrub_parity_bio_endio_worker() local
2682 struct scrub_ctx *sctx = sparity->sctx; in scrub_parity_check_and_repair() local
2750 static noinline_for_stack int scrub_raid56_parity(struct scrub_ctx *sctx, in scrub_raid56_parity()
2975 static noinline_for_stack int scrub_stripe(struct scrub_ctx *sctx, in scrub_stripe()
3364 static noinline_for_stack int scrub_chunk(struct scrub_ctx *sctx, in scrub_chunk()
3417 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()
3810 struct scrub_ctx *sctx; in btrfs_scrub_dev() local
4051 struct scrub_ctx *sctx; in btrfs_scrub_cancel_dev() local
4075 struct scrub_ctx *sctx = NULL; in btrfs_scrub_progress() local