Lines Matching refs:scrub_block

36 struct scrub_block;
63 struct scrub_block *sblock;
101 struct scrub_block { struct
211 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check);
212 static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
213 struct scrub_block *sblocks_for_recheck);
215 struct scrub_block *sblock,
217 static void scrub_recheck_block_checksum(struct scrub_block *sblock);
218 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad,
219 struct scrub_block *sblock_good);
220 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad,
221 struct scrub_block *sblock_good,
223 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock);
224 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock,
226 static int scrub_checksum_data(struct scrub_block *sblock);
227 static int scrub_checksum_tree_block(struct scrub_block *sblock);
228 static int scrub_checksum_super(struct scrub_block *sblock);
229 static void scrub_block_get(struct scrub_block *sblock);
230 static void scrub_block_put(struct scrub_block *sblock);
243 static void scrub_block_complete(struct scrub_block *sblock);
729 static void scrub_print_warning(const char *errstr, struct scrub_block *sblock) in scrub_print_warning()
822 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check) in scrub_handle_errored_block()
831 struct scrub_block *sblocks_for_recheck; /* holds one for each mirror */ in scrub_handle_errored_block()
832 struct scrub_block *sblock_bad; in scrub_handle_errored_block()
1020 struct scrub_block *sblock_other; in scrub_handle_errored_block()
1097 struct scrub_block *sblock_other = NULL; in scrub_handle_errored_block()
1199 struct scrub_block *sblock = sblocks_for_recheck + in scrub_handle_errored_block()
1266 static int scrub_setup_recheck_block(struct scrub_block *original_sblock, in scrub_setup_recheck_block()
1267 struct scrub_block *sblocks_for_recheck) in scrub_setup_recheck_block()
1328 struct scrub_block *sblock; in scrub_setup_recheck_block()
1420 struct scrub_block *sblock) in scrub_recheck_block_on_raid56()
1466 struct scrub_block *sblock, in scrub_recheck_block()
1517 static void scrub_recheck_block_checksum(struct scrub_block *sblock) in scrub_recheck_block_checksum()
1529 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_block_from_good_copy()
1530 struct scrub_block *sblock_good) in scrub_repair_block_from_good_copy()
1548 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_page_from_good_copy()
1549 struct scrub_block *sblock_good, in scrub_repair_page_from_good_copy()
1593 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock) in scrub_write_block_to_dev_replace()
1614 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock, in scrub_write_page_to_dev_replace()
1755 static int scrub_checksum(struct scrub_block *sblock) in scrub_checksum()
1789 static int scrub_checksum_data(struct scrub_block *sblock) in scrub_checksum_data()
1836 static int scrub_checksum_tree_block(struct scrub_block *sblock) in scrub_checksum_tree_block()
1908 static int scrub_checksum_super(struct scrub_block *sblock) in scrub_checksum_super()
1988 static void scrub_block_get(struct scrub_block *sblock) in scrub_block_get()
1993 static void scrub_block_put(struct scrub_block *sblock) in scrub_block_put()
2037 struct scrub_block *sblock = spage->sblock; in scrub_add_page_to_rd_bio()
2109 struct scrub_block *sblock = bio->bi_private; in scrub_missing_raid56_end_io()
2122 struct scrub_block *sblock = container_of(work, struct scrub_block, work); in scrub_missing_raid56_worker()
2163 static void scrub_missing_raid56_pages(struct scrub_block *sblock) in scrub_missing_raid56_pages()
2229 struct scrub_block *sblock; in scrub_pages()
2344 struct scrub_block *sblock = spage->sblock; in scrub_bio_end_io_worker()
2410 static void scrub_block_complete(struct scrub_block *sblock) in scrub_block_complete()
2534 struct scrub_block *sblock; in scrub_pages_for_parity()