Lines Matching refs:RAID5_STRIPE_SECTORS

919 	head_sector = sh->sector - RAID5_STRIPE_SECTORS(conf);  in stripe_add_to_batch_list()
1216 int bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in ops_run_io()
1248 md_sync_acct(rdev->bdev, RAID5_STRIPE_SECTORS(conf)); in ops_run_io()
1311 md_sync_acct(rrdev->bdev, RAID5_STRIPE_SECTORS(conf)); in ops_run_io()
1466 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in ops_complete_biofill()
1499 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in ops_run_biofill()
1962 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in ops_run_biodrain()
2511 new_sectors / RAID5_STRIPE_SECTORS(conf)); in resize_chunks()
2791 mdname(conf->mddev), RAID5_STRIPE_SECTORS(conf), in raid5_end_read_request()
2794 atomic_add(RAID5_STRIPE_SECTORS(conf), &rdev->corrected_errors); in raid5_end_read_request()
2866 rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), 0))) in raid5_end_read_request()
2917 RAID5_STRIPE_SECTORS(conf), in raid5_end_write_request()
2929 RAID5_STRIPE_SECTORS(conf), in raid5_end_write_request()
3572 sector < sh->dev[dd_idx].sector + RAID5_STRIPE_SECTORS(conf) && in __add_stripe_bio()
3578 if (sector >= sh->dev[dd_idx].sector + RAID5_STRIPE_SECTORS(conf)) in __add_stripe_bio()
3603 RAID5_STRIPE_SECTORS(conf), 0); in __add_stripe_bio()
3676 RAID5_STRIPE_SECTORS(conf), 0)) in handle_failed_stripe()
3696 sh->dev[i].sector + RAID5_STRIPE_SECTORS(conf)) { in handle_failed_stripe()
3705 RAID5_STRIPE_SECTORS(conf), 0, 0); in handle_failed_stripe()
3717 sh->dev[i].sector + RAID5_STRIPE_SECTORS(conf)) { in handle_failed_stripe()
3741 sh->dev[i].sector + RAID5_STRIPE_SECTORS(conf)) { in handle_failed_stripe()
3751 RAID5_STRIPE_SECTORS(conf), 0, 0); in handle_failed_stripe()
3796 RAID5_STRIPE_SECTORS(conf), 0)) in handle_failed_sync()
3803 RAID5_STRIPE_SECTORS(conf), 0)) in handle_failed_sync()
3811 md_done_sync(conf->mddev, RAID5_STRIPE_SECTORS(conf), !abort); in handle_failed_sync()
4096 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in handle_stripe_clean_event()
4103 RAID5_STRIPE_SECTORS(conf), in handle_stripe_clean_event()
4406 atomic64_add(RAID5_STRIPE_SECTORS(conf), &conf->mddev->resync_mismatches); in handle_parity_checks5()
4414 RAID5_STRIPE_SECTORS(conf)); in handle_parity_checks5()
4571 atomic64_add(RAID5_STRIPE_SECTORS(conf), &conf->mddev->resync_mismatches); in handle_parity_checks6()
4579 RAID5_STRIPE_SECTORS(conf)); in handle_parity_checks6()
4751 rdev->recovery_offset >= sh->sector + RAID5_STRIPE_SECTORS(conf) && in analyse_stripe()
4752 !is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in analyse_stripe()
4766 is_bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in analyse_stripe()
4793 else if (sh->sector + RAID5_STRIPE_SECTORS(conf) <= rdev->recovery_offset) in analyse_stripe()
5241 md_done_sync(conf->mddev, RAID5_STRIPE_SECTORS(conf), 1); in handle_stripe()
5308 md_done_sync(conf->mddev, RAID5_STRIPE_SECTORS(conf), 1); in handle_stripe()
5338 RAID5_STRIPE_SECTORS(conf), 0)) in handle_stripe()
5345 RAID5_STRIPE_SECTORS(conf), 0); in handle_stripe()
5354 RAID5_STRIPE_SECTORS(conf), 0); in handle_stripe()
5803 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)RAID5_STRIPE_SECTORS(conf)-1); in make_discard_request()
5818 logical_sector += RAID5_STRIPE_SECTORS(conf)) { in make_discard_request()
5863 RAID5_STRIPE_SECTORS(conf), in make_discard_request()
6129 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)RAID5_STRIPE_SECTORS(conf)-1); in raid5_make_request()
6135 RAID5_STRIPE_SECTORS(conf)); in raid5_make_request()
6361 for (i = 0; i < reshape_sectors; i += RAID5_STRIPE_SECTORS(conf)) { in reshape_request()
6419 first_sector += RAID5_STRIPE_SECTORS(conf); in reshape_request()
6525 sync_blocks >= RAID5_STRIPE_SECTORS(conf)) { in raid5_sync_request()
6527 do_div(sync_blocks, RAID5_STRIPE_SECTORS(conf)); in raid5_sync_request()
6530 return sync_blocks * RAID5_STRIPE_SECTORS(conf); in raid5_sync_request()
6564 return RAID5_STRIPE_SECTORS(conf); in raid5_sync_request()
6587 ~((sector_t)RAID5_STRIPE_SECTORS(conf)-1); in retry_aligned_read()
6593 logical_sector += RAID5_STRIPE_SECTORS(conf), in retry_aligned_read()
6594 sector += RAID5_STRIPE_SECTORS(conf), in retry_aligned_read()
7319 / RAID5_STRIPE_SECTORS(conf))) { in alloc_scratch_buffer()