Lines Matching refs:scrub_block
46 struct scrub_block;
73 struct scrub_block *sblock;
111 struct scrub_block { struct
246 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check);
247 static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
248 struct scrub_block *sblocks_for_recheck);
250 struct scrub_block *sblock, int is_metadata,
254 struct scrub_block *sblock,
258 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad,
259 struct scrub_block *sblock_good);
260 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad,
261 struct scrub_block *sblock_good,
263 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock);
264 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock,
266 static int scrub_checksum_data(struct scrub_block *sblock);
267 static int scrub_checksum_tree_block(struct scrub_block *sblock);
268 static int scrub_checksum_super(struct scrub_block *sblock);
269 static void scrub_block_get(struct scrub_block *sblock);
270 static void scrub_block_put(struct scrub_block *sblock);
283 static void scrub_block_complete(struct scrub_block *sblock);
608 static void scrub_print_warning(const char *errstr, struct scrub_block *sblock) in scrub_print_warning()
888 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check) in scrub_handle_errored_block()
900 struct scrub_block *sblocks_for_recheck; /* holds one for each mirror */ in scrub_handle_errored_block()
901 struct scrub_block *sblock_bad; in scrub_handle_errored_block()
1100 struct scrub_block *sblock_other; in scrub_handle_errored_block()
1157 struct scrub_block *sblock_other = NULL; in scrub_handle_errored_block()
1254 struct scrub_block *sblock = sblocks_for_recheck + in scrub_handle_errored_block()
1317 static int scrub_setup_recheck_block(struct scrub_block *original_sblock, in scrub_setup_recheck_block()
1318 struct scrub_block *sblocks_for_recheck) in scrub_setup_recheck_block()
1373 struct scrub_block *sblock; in scrub_setup_recheck_block()
1480 struct scrub_block *sblock, int is_metadata, in scrub_recheck_block()
1542 struct scrub_block *sblock, in scrub_recheck_block_checksum()
1598 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_block_from_good_copy()
1599 struct scrub_block *sblock_good) in scrub_repair_block_from_good_copy()
1617 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad, in scrub_repair_page_from_good_copy()
1618 struct scrub_block *sblock_good, in scrub_repair_page_from_good_copy()
1665 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock) in scrub_write_block_to_dev_replace()
1687 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock, in scrub_write_page_to_dev_replace()
1834 static int scrub_checksum(struct scrub_block *sblock) in scrub_checksum()
1856 static int scrub_checksum_data(struct scrub_block *sblock) in scrub_checksum_data()
1900 static int scrub_checksum_tree_block(struct scrub_block *sblock) in scrub_checksum_tree_block()
1971 static int scrub_checksum_super(struct scrub_block *sblock) in scrub_checksum_super()
2047 static void scrub_block_get(struct scrub_block *sblock) in scrub_block_get()
2052 static void scrub_block_put(struct scrub_block *sblock) in scrub_block_put()
2110 struct scrub_block *sblock = spage->sblock; in scrub_add_page_to_rd_bio()
2186 struct scrub_block *sblock; in scrub_pages()
2293 struct scrub_block *sblock = spage->sblock; in scrub_bio_end_io_worker()
2356 static void scrub_block_complete(struct scrub_block *sblock) in scrub_block_complete()
2479 struct scrub_block *sblock; in scrub_pages_for_parity()