Lines Matching refs:scrub_block

46 struct scrub_block;
73 struct scrub_block *sblock;
111 struct scrub_block { struct
247 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check);
248 static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
249 struct scrub_block *sblocks_for_recheck);
251 struct scrub_block *sblock,
253 static void scrub_recheck_block_checksum(struct scrub_block *sblock);
254 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad,
255 struct scrub_block *sblock_good);
256 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad,
257 struct scrub_block *sblock_good,
259 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock);
260 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock,
262 static int scrub_checksum_data(struct scrub_block *sblock);
263 static int scrub_checksum_tree_block(struct scrub_block *sblock);
264 static int scrub_checksum_super(struct scrub_block *sblock);
265 static void scrub_block_get(struct scrub_block *sblock);
266 static void scrub_block_put(struct scrub_block *sblock);
279 static void scrub_block_complete(struct scrub_block *sblock);
600 static void scrub_print_warning(const char *errstr, struct scrub_block *sblock) in scrub_print_warning()
880 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check) in scrub_handle_errored_block()
890 struct scrub_block *sblocks_for_recheck; /* holds one for each mirror */ in scrub_handle_errored_block()
891 struct scrub_block *sblock_bad; in scrub_handle_errored_block()
1087 struct scrub_block *sblock_other; in scrub_handle_errored_block()
1142 struct scrub_block *sblock_other = NULL; in scrub_handle_errored_block()
1237 struct scrub_block *sblock = sblocks_for_recheck + in scrub_handle_errored_block()
1300 static int scrub_setup_recheck_block(struct scrub_block *original_sblock, in scrub_setup_recheck_block()
1301 struct scrub_block *sblocks_for_recheck) in scrub_setup_recheck_block()
1359 struct scrub_block *sblock; in scrub_setup_recheck_block()
1475 struct scrub_block *sblock, in scrub_recheck_block()
1531 static void scrub_recheck_block_checksum(struct scrub_block *sblock) in scrub_recheck_block_checksum()
1543 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_block_from_good_copy()
1544 struct scrub_block *sblock_good) in scrub_repair_block_from_good_copy()
1562 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_page_from_good_copy()
1563 struct scrub_block *sblock_good, in scrub_repair_page_from_good_copy()
1610 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock) in scrub_write_block_to_dev_replace()
1632 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock, in scrub_write_page_to_dev_replace()
1779 static int scrub_checksum(struct scrub_block *sblock) in scrub_checksum()
1813 static int scrub_checksum_data(struct scrub_block *sblock) in scrub_checksum_data()
1856 static int scrub_checksum_tree_block(struct scrub_block *sblock) in scrub_checksum_tree_block()
1926 static int scrub_checksum_super(struct scrub_block *sblock) in scrub_checksum_super()
2002 static void scrub_block_get(struct scrub_block *sblock) in scrub_block_get()
2007 static void scrub_block_put(struct scrub_block *sblock) in scrub_block_put()
2051 struct scrub_block *sblock = spage->sblock; in scrub_add_page_to_rd_bio()
2124 struct scrub_block *sblock = bio->bi_private; in scrub_missing_raid56_end_io()
2135 struct scrub_block *sblock = container_of(work, struct scrub_block, work); in scrub_missing_raid56_worker()
2176 static void scrub_missing_raid56_pages(struct scrub_block *sblock) in scrub_missing_raid56_pages()
2243 struct scrub_block *sblock; in scrub_pages()
2358 struct scrub_block *sblock = spage->sblock; in scrub_bio_end_io_worker()
2421 static void scrub_block_complete(struct scrub_block *sblock) in scrub_block_complete()
2543 struct scrub_block *sblock; in scrub_pages_for_parity()