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);
735 static void scrub_print_warning(const char *errstr, struct scrub_block *sblock) in scrub_print_warning()
828 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check) in scrub_handle_errored_block()
837 struct scrub_block *sblocks_for_recheck; /* holds one for each mirror */ in scrub_handle_errored_block()
838 struct scrub_block *sblock_bad; in scrub_handle_errored_block()
1014 struct scrub_block *sblock_other; in scrub_handle_errored_block()
1091 struct scrub_block *sblock_other = NULL; in scrub_handle_errored_block()
1193 struct scrub_block *sblock = sblocks_for_recheck + in scrub_handle_errored_block()
1259 static int scrub_setup_recheck_block(struct scrub_block *original_sblock, in scrub_setup_recheck_block()
1260 struct scrub_block *sblocks_for_recheck) in scrub_setup_recheck_block()
1321 struct scrub_block *sblock; in scrub_setup_recheck_block()
1413 struct scrub_block *sblock) in scrub_recheck_block_on_raid56()
1459 struct scrub_block *sblock, in scrub_recheck_block()
1510 static void scrub_recheck_block_checksum(struct scrub_block *sblock) in scrub_recheck_block_checksum()
1522 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_block_from_good_copy()
1523 struct scrub_block *sblock_good) in scrub_repair_block_from_good_copy()
1541 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_page_from_good_copy()
1542 struct scrub_block *sblock_good, in scrub_repair_page_from_good_copy()
1587 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock) in scrub_write_block_to_dev_replace()
1609 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock, in scrub_write_page_to_dev_replace()
1762 static int scrub_checksum(struct scrub_block *sblock) in scrub_checksum()
1796 static int scrub_checksum_data(struct scrub_block *sblock) in scrub_checksum_data()
1839 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()
1984 static void scrub_block_get(struct scrub_block *sblock) in scrub_block_get()
1989 static void scrub_block_put(struct scrub_block *sblock) in scrub_block_put()
2033 struct scrub_block *sblock = spage->sblock; in scrub_add_page_to_rd_bio()
2105 struct scrub_block *sblock = bio->bi_private; in scrub_missing_raid56_end_io()
2118 struct scrub_block *sblock = container_of(work, struct scrub_block, work); in scrub_missing_raid56_worker()
2158 static void scrub_missing_raid56_pages(struct scrub_block *sblock) in scrub_missing_raid56_pages()
2224 struct scrub_block *sblock; in scrub_pages()
2339 struct scrub_block *sblock = spage->sblock; in scrub_bio_end_io_worker()
2405 static void scrub_block_complete(struct scrub_block *sblock) in scrub_block_complete()
2529 struct scrub_block *sblock; in scrub_pages_for_parity()