Lines Matching refs:scrub_block
37 struct scrub_block;
64 struct scrub_block *sblock;
102 struct scrub_block { struct
212 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check);
213 static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
214 struct scrub_block *sblocks_for_recheck);
216 struct scrub_block *sblock,
218 static void scrub_recheck_block_checksum(struct scrub_block *sblock);
219 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad,
220 struct scrub_block *sblock_good);
221 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad,
222 struct scrub_block *sblock_good,
224 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock);
225 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock,
227 static int scrub_checksum_data(struct scrub_block *sblock);
228 static int scrub_checksum_tree_block(struct scrub_block *sblock);
229 static int scrub_checksum_super(struct scrub_block *sblock);
230 static void scrub_block_get(struct scrub_block *sblock);
231 static void scrub_block_put(struct scrub_block *sblock);
244 static void scrub_block_complete(struct scrub_block *sblock);
728 static void scrub_print_warning(const char *errstr, struct scrub_block *sblock) in scrub_print_warning()
821 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check) in scrub_handle_errored_block()
830 struct scrub_block *sblocks_for_recheck; /* holds one for each mirror */ in scrub_handle_errored_block()
831 struct scrub_block *sblock_bad; in scrub_handle_errored_block()
1019 struct scrub_block *sblock_other; in scrub_handle_errored_block()
1096 struct scrub_block *sblock_other = NULL; in scrub_handle_errored_block()
1198 struct scrub_block *sblock = sblocks_for_recheck + in scrub_handle_errored_block()
1265 static int scrub_setup_recheck_block(struct scrub_block *original_sblock, in scrub_setup_recheck_block()
1266 struct scrub_block *sblocks_for_recheck) in scrub_setup_recheck_block()
1327 struct scrub_block *sblock; in scrub_setup_recheck_block()
1419 struct scrub_block *sblock) in scrub_recheck_block_on_raid56()
1465 struct scrub_block *sblock, in scrub_recheck_block()
1516 static void scrub_recheck_block_checksum(struct scrub_block *sblock) in scrub_recheck_block_checksum()
1528 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_block_from_good_copy()
1529 struct scrub_block *sblock_good) in scrub_repair_block_from_good_copy()
1547 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_page_from_good_copy()
1548 struct scrub_block *sblock_good, in scrub_repair_page_from_good_copy()
1592 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock) in scrub_write_block_to_dev_replace()
1613 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock, in scrub_write_page_to_dev_replace()
1749 static int scrub_checksum(struct scrub_block *sblock) in scrub_checksum()
1783 static int scrub_checksum_data(struct scrub_block *sblock) in scrub_checksum_data()
1809 static int scrub_checksum_tree_block(struct scrub_block *sblock) in scrub_checksum_tree_block()
1865 static int scrub_checksum_super(struct scrub_block *sblock) in scrub_checksum_super()
1919 static void scrub_block_get(struct scrub_block *sblock) in scrub_block_get()
1924 static void scrub_block_put(struct scrub_block *sblock) in scrub_block_put()
1968 struct scrub_block *sblock = spage->sblock; in scrub_add_page_to_rd_bio()
2040 struct scrub_block *sblock = bio->bi_private; in scrub_missing_raid56_end_io()
2053 struct scrub_block *sblock = container_of(work, struct scrub_block, work); in scrub_missing_raid56_worker()
2093 static void scrub_missing_raid56_pages(struct scrub_block *sblock) in scrub_missing_raid56_pages()
2158 struct scrub_block *sblock; in scrub_pages()
2273 struct scrub_block *sblock = spage->sblock; in scrub_bio_end_io_worker()
2339 static void scrub_block_complete(struct scrub_block *sblock) in scrub_block_complete()
2463 struct scrub_block *sblock; in scrub_pages_for_parity()