Lines Matching refs:total_sector_nr

1013 		int total_sector_nr = stripe_nr * rbio->stripe_nsectors + sector_nr;  in get_rbio_veritical_errors()  local
1015 if (test_bit(total_sector_nr, rbio->error_bitmap)) { in get_rbio_veritical_errors()
1230 int total_sector_nr; in rmw_assemble_write_bios() local
1250 for (total_sector_nr = 0; total_sector_nr < rbio->nr_sectors; in rmw_assemble_write_bios()
1251 total_sector_nr++) { in rmw_assemble_write_bios()
1254 stripe = total_sector_nr / rbio->stripe_nsectors; in rmw_assemble_write_bios()
1255 sectornr = total_sector_nr % rbio->stripe_nsectors; in rmw_assemble_write_bios()
1285 for (total_sector_nr = 0; total_sector_nr < rbio->nr_sectors; in rmw_assemble_write_bios()
1286 total_sector_nr++) { in rmw_assemble_write_bios()
1289 stripe = total_sector_nr / rbio->stripe_nsectors; in rmw_assemble_write_bios()
1290 sectornr = total_sector_nr % rbio->stripe_nsectors; in rmw_assemble_write_bios()
1303 total_sector_nr += rbio->stripe_nsectors - 1; in rmw_assemble_write_bios()
1432 int total_sector_nr = get_bio_sector_nr(rbio, bio); in rbio_update_error_bitmap() local
1446 for (i = total_sector_nr; i < total_sector_nr + in rbio_update_error_bitmap()
1456 int total_sector_nr = get_bio_sector_nr(rbio, bio); in verify_bio_data_sectors() local
1465 if (total_sector_nr >= rbio->nr_data * rbio->stripe_nsectors) in verify_bio_data_sectors()
1473 bv_offset += fs_info->sectorsize, total_sector_nr++) { in verify_bio_data_sectors()
1476 total_sector_nr * fs_info->csum_size; in verify_bio_data_sectors()
1480 if (!test_bit(total_sector_nr, rbio->csum_bitmap)) in verify_bio_data_sectors()
1486 set_bit(total_sector_nr, rbio->error_bitmap); in verify_bio_data_sectors()
1917 int total_sector_nr; in recover_rbio() local
1941 for (total_sector_nr = 0; total_sector_nr < rbio->nr_sectors; in recover_rbio()
1942 total_sector_nr++) { in recover_rbio()
1943 int stripe = total_sector_nr / rbio->stripe_nsectors; in recover_rbio()
1944 int sectornr = total_sector_nr % rbio->stripe_nsectors; in recover_rbio()
1953 test_bit(total_sector_nr, rbio->error_bitmap)) { in recover_rbio()
1958 set_bit(total_sector_nr, rbio->error_bitmap); in recover_rbio()
2135 int total_sector_nr; in rmw_read_wait_recover() local
2150 for (total_sector_nr = 0; total_sector_nr < rbio->nr_sectors; in rmw_read_wait_recover()
2151 total_sector_nr++) { in rmw_read_wait_recover()
2153 int stripe = total_sector_nr / rbio->stripe_nsectors; in rmw_read_wait_recover()
2154 int sectornr = total_sector_nr % rbio->stripe_nsectors; in rmw_read_wait_recover()
2379 int total_sector_nr; in alloc_rbio_essential_pages() local
2381 for (total_sector_nr = 0; total_sector_nr < rbio->nr_sectors; in alloc_rbio_essential_pages()
2382 total_sector_nr++) { in alloc_rbio_essential_pages()
2384 int sectornr = total_sector_nr % rbio->stripe_nsectors; in alloc_rbio_essential_pages()
2385 int index = (total_sector_nr * sectorsize) >> PAGE_SHIFT; in alloc_rbio_essential_pages()
2646 int total_sector_nr; in scrub_assemble_read_bios() local
2650 for (total_sector_nr = 0; total_sector_nr < rbio->nr_sectors; in scrub_assemble_read_bios()
2651 total_sector_nr++) { in scrub_assemble_read_bios()
2652 int sectornr = total_sector_nr % rbio->stripe_nsectors; in scrub_assemble_read_bios()
2653 int stripe = total_sector_nr / rbio->stripe_nsectors; in scrub_assemble_read_bios()