| H A D | scrub.c | 51 * How many groups we have for each sctx. 130 struct scrub_ctx *sctx; member 342 stripe->sctx = NULL; in release_scrub_stripe() 383 static void scrub_put_ctx(struct scrub_ctx *sctx); 417 static noinline_for_stack void scrub_free_ctx(struct scrub_ctx *sctx) in scrub_free_ctx() argument 421 if (!sctx) in scrub_free_ctx() 425 release_scrub_stripe(&sctx->stripes[i]); in scrub_free_ctx() 427 kvfree(sctx); in scrub_free_ctx() 430 static void scrub_put_ctx(struct scrub_ctx *sctx) in scrub_put_ctx() argument 432 if (refcount_dec_and_test(&sctx in scrub_put_ctx() 439 struct scrub_ctx *sctx; scrub_setup_ctx() local 649 fill_writer_pointer_gap(struct scrub_ctx * sctx,u64 physical) fill_writer_pointer_gap() argument 976 scrub_stripe_report_errors(struct scrub_ctx * sctx,struct scrub_stripe * stripe,const struct scrub_error_records * errors) scrub_stripe_report_errors() argument 1143 struct scrub_ctx *sctx = stripe->sctx; scrub_stripe_read_repair_worker() local 1268 scrub_submit_write_bio(struct scrub_ctx * sctx,struct scrub_stripe * stripe,struct btrfs_bio * bbio,bool dev_replace) scrub_submit_write_bio() argument 1310 scrub_write_sectors(struct scrub_ctx * sctx,struct scrub_stripe * stripe,unsigned long write_bitmap,bool dev_replace) scrub_write_sectors() argument 1340 scrub_throttle_dev_io(struct scrub_ctx * sctx,struct btrfs_device * device,unsigned int bio_size) scrub_throttle_dev_io() argument 1565 sync_write_pointer_for_zoned(struct scrub_ctx * sctx,u64 logical,u64 physical,u64 physical_end) sync_write_pointer_for_zoned() argument 1842 scrub_submit_initial_read(struct scrub_ctx * sctx,struct scrub_stripe * stripe) scrub_submit_initial_read() argument 1901 submit_initial_group_read(struct scrub_ctx * sctx,unsigned int first_slot,unsigned int nr_stripes) submit_initial_group_read() argument 1923 flush_scrub_stripes(struct scrub_ctx * sctx) flush_scrub_stripes() argument 1997 queue_scrub_stripe(struct scrub_ctx * sctx,struct btrfs_block_group * bg,struct btrfs_device * dev,int mirror_num,u64 logical,u32 length,u64 physical,u64 * found_logical_ret) queue_scrub_stripe() argument 2045 should_cancel_scrub(const struct scrub_ctx * sctx) should_cancel_scrub() argument 2077 scrub_raid56_cached_parity(struct scrub_ctx * sctx,struct btrfs_device * scrub_dev,struct btrfs_chunk_map * map,u64 full_stripe_start,unsigned long * extent_bitmap) scrub_raid56_cached_parity() argument 2127 scrub_raid56_parity_stripe(struct scrub_ctx * sctx,struct btrfs_device * scrub_dev,struct btrfs_block_group * bg,struct btrfs_chunk_map * map,u64 full_stripe_start) scrub_raid56_parity_stripe() argument 2270 scrub_simple_mirror(struct scrub_ctx * sctx,struct btrfs_block_group * bg,u64 logical_start,u64 logical_length,struct btrfs_device * device,u64 physical,int mirror_num) scrub_simple_mirror() argument 2365 scrub_simple_stripe(struct scrub_ctx * sctx,struct btrfs_block_group * bg,struct btrfs_chunk_map * map,struct btrfs_device * device,int stripe_index) scrub_simple_stripe() argument 2399 scrub_stripe(struct scrub_ctx * sctx,struct btrfs_block_group * bg,struct btrfs_chunk_map * map,struct btrfs_device * scrub_dev,int stripe_index) scrub_stripe() argument 2561 scrub_chunk(struct scrub_ctx * sctx,struct btrfs_block_group * bg,struct btrfs_device * scrub_dev,u64 dev_offset,u64 dev_extent_len) scrub_chunk() argument 2620 scrub_enumerate_chunks(struct scrub_ctx * sctx,struct btrfs_device * scrub_dev,u64 start,u64 end) scrub_enumerate_chunks() argument 2913 scrub_one_super(struct scrub_ctx * sctx,struct btrfs_device * dev,struct page * page,u64 physical,u64 generation) scrub_one_super() argument 2942 scrub_supers(struct scrub_ctx * sctx,struct btrfs_device * scrub_dev) scrub_supers() argument 3052 struct scrub_ctx *sctx; btrfs_scrub_dev() local 3261 struct scrub_ctx *sctx; btrfs_scrub_cancel_dev() local 3286 struct scrub_ctx *sctx = NULL; btrfs_scrub_progress() local [all...] |