Lines Matching refs:scrub_stripe

74 		 * sector csum inside scrub_stripe::csums.
108 struct scrub_stripe {
186 struct scrub_stripe stripes[SCRUB_TOTAL_STRIPES];
187 struct scrub_stripe *raid56_data_stripes;
232 static void release_scrub_stripe(struct scrub_stripe *stripe)
251 struct scrub_stripe *stripe)
285 static void wait_scrub_stripe_io(struct scrub_stripe *stripe)
583 static struct page *scrub_stripe_get_page(struct scrub_stripe *stripe, int sector_nr)
591 static unsigned int scrub_stripe_get_page_offset(struct scrub_stripe *stripe,
599 static void scrub_verify_one_metadata(struct scrub_stripe *stripe, int sector_nr)
690 static void scrub_verify_one_sector(struct scrub_stripe *stripe, int sector_nr)
752 static void scrub_verify_one_stripe(struct scrub_stripe *stripe, unsigned long bitmap)
765 static int calc_sector_number(struct scrub_stripe *stripe, struct bio_vec *first_bvec)
786 struct scrub_stripe *stripe = bbio->private;
818 static void scrub_stripe_submit_repair_read(struct scrub_stripe *stripe,
868 struct scrub_stripe *stripe)
887 * Although our scrub_stripe infrastucture is mostly based on btrfs_submit_bio()
993 static void scrub_write_sectors(struct scrub_ctx *sctx, struct scrub_stripe *stripe,
1011 struct scrub_stripe *stripe = container_of(work, struct scrub_stripe, work);
1101 struct scrub_stripe *stripe = bbio->private;
1129 struct scrub_stripe *stripe = bbio->private;
1154 struct scrub_stripe *stripe,
1195 static void scrub_write_sectors(struct scrub_ctx *sctx, struct scrub_stripe *stripe,
1480 struct scrub_stripe *stripe,
1501 static void scrub_stripe_reset_bitmaps(struct scrub_stripe *stripe)
1527 struct scrub_stripe *stripe)
1633 static void scrub_reset_stripe(struct scrub_stripe *stripe)
1649 struct scrub_stripe *stripe)
1694 static bool stripe_has_metadata_error(struct scrub_stripe *stripe)
1725 struct scrub_stripe *stripe = &sctx->stripes[first_slot + i];
1737 struct scrub_stripe *stripe;
1807 struct scrub_stripe *stripe;
1856 struct scrub_stripe *stripe;
2145 static noinline_for_stack int scrub_stripe(struct scrub_ctx *sctx,
2186 sizeof(struct scrub_stripe),
2352 ret = scrub_stripe(sctx, bg, em, scrub_dev, i);
2901 * is paused (done at specific points at scrub_stripe() or right above