Lines Matching refs:page_num
223 int page_num, int force_write);
226 int page_num);
834 int page_num; in scrub_handle_errored_block() local
1093 for (page_num = 0; page_num < sblock_bad->page_count; in scrub_handle_errored_block()
1094 page_num++) { in scrub_handle_errored_block()
1095 struct scrub_page *page_bad = sblock_bad->pagev[page_num]; in scrub_handle_errored_block()
1118 pagev[page_num]->io_error) { in scrub_handle_errored_block()
1140 page_num) != 0) { in scrub_handle_errored_block()
1148 page_num, 0); in scrub_handle_errored_block()
1423 int page_num; in scrub_recheck_block_on_raid56() local
1433 for (page_num = 0; page_num < sblock->page_count; page_num++) { in scrub_recheck_block_on_raid56()
1434 struct scrub_page *page = sblock->pagev[page_num]; in scrub_recheck_block_on_raid56()
1451 for (page_num = 0; page_num < sblock->page_count; page_num++) in scrub_recheck_block_on_raid56()
1452 sblock->pagev[page_num]->io_error = 1; in scrub_recheck_block_on_raid56()
1468 int page_num; in scrub_recheck_block() local
1476 for (page_num = 0; page_num < sblock->page_count; page_num++) { in scrub_recheck_block()
1478 struct scrub_page *page = sblock->pagev[page_num]; in scrub_recheck_block()
1531 int page_num; in scrub_repair_block_from_good_copy() local
1534 for (page_num = 0; page_num < sblock_bad->page_count; page_num++) { in scrub_repair_block_from_good_copy()
1539 page_num, 1); in scrub_repair_block_from_good_copy()
1549 int page_num, int force_write) in scrub_repair_page_from_good_copy() argument
1551 struct scrub_page *page_bad = sblock_bad->pagev[page_num]; in scrub_repair_page_from_good_copy()
1552 struct scrub_page *page_good = sblock_good->pagev[page_num]; in scrub_repair_page_from_good_copy()
1595 int page_num; in scrub_write_block_to_dev_replace() local
1604 for (page_num = 0; page_num < sblock->page_count; page_num++) { in scrub_write_block_to_dev_replace()
1607 ret = scrub_write_page_to_dev_replace(sblock, page_num); in scrub_write_block_to_dev_replace()
1614 int page_num) in scrub_write_page_to_dev_replace() argument
1616 struct scrub_page *spage = sblock->pagev[page_num]; in scrub_write_page_to_dev_replace()