Lines Matching defs:scrub_block

37 struct scrub_block;
64 struct scrub_block *sblock;
102 struct scrub_block {
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)
821 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check)
830 struct scrub_block *sblocks_for_recheck; /* holds one for each mirror */
831 struct scrub_block *sblock_bad;
1019 struct scrub_block *sblock_other;
1096 struct scrub_block *sblock_other = NULL;
1198 struct scrub_block *sblock = sblocks_for_recheck +
1265 static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
1266 struct scrub_block *sblocks_for_recheck)
1327 struct scrub_block *sblock;
1419 struct scrub_block *sblock)
1465 struct scrub_block *sblock,
1516 static void scrub_recheck_block_checksum(struct scrub_block *sblock)
1528 static int scrub_repair_block_from_good_copy(struct scrub_block *sblock_bad,
1529 struct scrub_block *sblock_good)
1547 static int scrub_repair_page_from_good_copy(struct scrub_block *sblock_bad,
1548 struct scrub_block *sblock_good,
1592 static void scrub_write_block_to_dev_replace(struct scrub_block *sblock)
1613 static int scrub_write_page_to_dev_replace(struct scrub_block *sblock,
1749 static int scrub_checksum(struct scrub_block *sblock)
1783 static int scrub_checksum_data(struct scrub_block *sblock)
1809 static int scrub_checksum_tree_block(struct scrub_block *sblock)
1865 static int scrub_checksum_super(struct scrub_block *sblock)
1919 static void scrub_block_get(struct scrub_block *sblock)
1924 static void scrub_block_put(struct scrub_block *sblock)
1968 struct scrub_block *sblock = spage->sblock;
2040 struct scrub_block *sblock = bio->bi_private;
2053 struct scrub_block *sblock = container_of(work, struct scrub_block, work);
2093 static void scrub_missing_raid56_pages(struct scrub_block *sblock)
2158 struct scrub_block *sblock;
2270 /* now complete the scrub_block items that have all pages completed */
2273 struct scrub_block *sblock = spage->sblock;
2339 static void scrub_block_complete(struct scrub_block *sblock)
2463 struct scrub_block *sblock;
3852 * struct scrub_block