Lines Matching refs:scrub_block

34 struct scrub_block;
61 struct scrub_block *sblock;
99 struct scrub_block { struct
209 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check);
210 static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
211 struct scrub_block *sblocks_for_recheck);
213 struct scrub_block *sblock,
215 static void scrub_recheck_block_checksum(struct scrub_block *sblock);
216 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad,
217 struct scrub_block *sblock_good);
218 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad,
219 struct scrub_block *sblock_good,
221 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock);
222 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock,
224 static int scrub_checksum_data(struct scrub_block *sblock);
225 static int scrub_checksum_tree_block(struct scrub_block *sblock);
226 static int scrub_checksum_super(struct scrub_block *sblock);
227 static void scrub_block_get(struct scrub_block *sblock);
228 static void scrub_block_put(struct scrub_block *sblock);
241 static void scrub_block_complete(struct scrub_block *sblock);
726 static void scrub_print_warning(const char *errstr, struct scrub_block *sblock) in scrub_print_warning()
819 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check) in scrub_handle_errored_block()
828 struct scrub_block *sblocks_for_recheck; /* holds one for each mirror */ in scrub_handle_errored_block()
829 struct scrub_block *sblock_bad; in scrub_handle_errored_block()
1005 struct scrub_block *sblock_other; in scrub_handle_errored_block()
1082 struct scrub_block *sblock_other = NULL; in scrub_handle_errored_block()
1184 struct scrub_block *sblock = sblocks_for_recheck + in scrub_handle_errored_block()
1250 static int scrub_setup_recheck_block(struct scrub_block *original_sblock, in scrub_setup_recheck_block()
1251 struct scrub_block *sblocks_for_recheck) in scrub_setup_recheck_block()
1312 struct scrub_block *sblock; in scrub_setup_recheck_block()
1404 struct scrub_block *sblock) in scrub_recheck_block_on_raid56()
1450 struct scrub_block *sblock, in scrub_recheck_block()
1501 static void scrub_recheck_block_checksum(struct scrub_block *sblock) in scrub_recheck_block_checksum()
1513 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_block_from_good_copy()
1514 struct scrub_block *sblock_good) in scrub_repair_block_from_good_copy()
1532 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_page_from_good_copy()
1533 struct scrub_block *sblock_good, in scrub_repair_page_from_good_copy()
1578 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock) in scrub_write_block_to_dev_replace()
1600 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock, in scrub_write_page_to_dev_replace()
1742 static int scrub_checksum(struct scrub_block *sblock) in scrub_checksum()
1776 static int scrub_checksum_data(struct scrub_block *sblock) in scrub_checksum_data()
1819 static int scrub_checksum_tree_block(struct scrub_block *sblock) in scrub_checksum_tree_block()
1888 static int scrub_checksum_super(struct scrub_block *sblock) in scrub_checksum_super()
1964 static void scrub_block_get(struct scrub_block *sblock) in scrub_block_get()
1969 static void scrub_block_put(struct scrub_block *sblock) in scrub_block_put()
2013 struct scrub_block *sblock = spage->sblock; in scrub_add_page_to_rd_bio()
2085 struct scrub_block *sblock = bio->bi_private; in scrub_missing_raid56_end_io()
2098 struct scrub_block *sblock = container_of(work, struct scrub_block, work); in scrub_missing_raid56_worker()
2139 static void scrub_missing_raid56_pages(struct scrub_block *sblock) in scrub_missing_raid56_pages()
2205 struct scrub_block *sblock; in scrub_pages()
2320 struct scrub_block *sblock = spage->sblock; in scrub_bio_end_io_worker()
2386 static void scrub_block_complete(struct scrub_block *sblock) in scrub_block_complete()
2510 struct scrub_block *sblock; in scrub_pages_for_parity()