Searched refs:STRIPE_SECTORS (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/md/
H A Draid5.c80 #define STRIPE_SECTORS (STRIPE_SIZE>>9) macro
141 if (bio->bi_iter.bi_sector + sectors < sector + STRIPE_SECTORS) r5_next_bio()
770 head_sector = sh->sector - STRIPE_SECTORS; stripe_add_to_batch_list()
958 int bad = is_badblock(rdev, sh->sector, STRIPE_SECTORS, ops_run_io()
990 md_sync_acct(rdev->bdev, STRIPE_SECTORS); ops_run_io()
1042 md_sync_acct(rrdev->bdev, STRIPE_SECTORS); ops_run_io()
1191 dev->sector + STRIPE_SECTORS) { ops_complete_biofill()
1228 dev->sector + STRIPE_SECTORS) { ops_run_biofill()
1621 dev->sector + STRIPE_SECTORS) { ops_run_biodrain()
2099 new_sectors / STRIPE_SECTORS, for_each_present_cpu()
2332 mdname(conf->mddev), STRIPE_SECTORS, raid5_end_read_request()
2335 atomic_add(STRIPE_SECTORS, &rdev->corrected_errors); raid5_end_read_request()
2399 rdev, sh->sector, STRIPE_SECTORS, 0))) raid5_end_read_request()
2450 STRIPE_SECTORS, raid5_end_write_request()
2462 STRIPE_SECTORS, raid5_end_write_request()
3003 sector < sh->dev[dd_idx].sector + STRIPE_SECTORS && add_stripe_bio()
3009 if (sector >= sh->dev[dd_idx].sector + STRIPE_SECTORS) add_stripe_bio()
3034 STRIPE_SECTORS, 0); add_stripe_bio()
3096 STRIPE_SECTORS, 0)) handle_failed_stripe()
3114 sh->dev[i].sector + STRIPE_SECTORS) { handle_failed_stripe()
3126 STRIPE_SECTORS, 0, 0); handle_failed_stripe()
3138 sh->dev[i].sector + STRIPE_SECTORS) { handle_failed_stripe()
3162 sh->dev[i].sector + STRIPE_SECTORS) { handle_failed_stripe()
3175 STRIPE_SECTORS, 0, 0); handle_failed_stripe()
3217 STRIPE_SECTORS, 0)) handle_failed_sync()
3224 STRIPE_SECTORS, 0)) handle_failed_sync()
3231 md_done_sync(conf->mddev, STRIPE_SECTORS, !abort); handle_failed_sync()
3478 dev->sector + STRIPE_SECTORS) { handle_stripe_clean_event()
3488 STRIPE_SECTORS, handle_stripe_clean_event()
3743 atomic64_add(STRIPE_SECTORS, &conf->mddev->resync_mismatches); handle_parity_checks5()
3895 atomic64_add(STRIPE_SECTORS, &conf->mddev->resync_mismatches); handle_parity_checks6()
4067 rdev->recovery_offset >= sh->sector + STRIPE_SECTORS && analyse_stripe()
4068 !is_badblock(rdev, sh->sector, STRIPE_SECTORS, analyse_stripe()
4080 is_bad = is_badblock(rdev, sh->sector, STRIPE_SECTORS, analyse_stripe()
4107 else if (sh->sector + STRIPE_SECTORS <= rdev->recovery_offset) analyse_stripe()
4481 md_done_sync(conf->mddev, STRIPE_SECTORS, 1); handle_stripe()
4549 md_done_sync(conf->mddev, STRIPE_SECTORS, 1); handle_stripe()
4579 STRIPE_SECTORS, 0)) handle_stripe()
4586 STRIPE_SECTORS, 0); handle_stripe()
4595 STRIPE_SECTORS, 0); handle_stripe()
5068 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)STRIPE_SECTORS-1); make_discard_request()
5084 logical_sector += STRIPE_SECTORS) { make_discard_request()
5128 STRIPE_SECTORS, make_discard_request()
5182 logical_sector = bi->bi_iter.bi_sector & ~((sector_t)STRIPE_SECTORS-1); make_request()
5188 for (;logical_sector < last_sector; logical_sector += STRIPE_SECTORS) { make_request()
5469 for (i = 0; i < reshape_sectors; i += STRIPE_SECTORS) { reshape_request()
5525 first_sector += STRIPE_SECTORS; reshape_request()
5619 sync_blocks >= STRIPE_SECTORS) { sync_request()
5621 sync_blocks /= STRIPE_SECTORS; sync_request()
5623 return sync_blocks * STRIPE_SECTORS; /* keep things rounded to whole stripes */ sync_request()
5656 return STRIPE_SECTORS; sync_request()
5679 ~((sector_t)STRIPE_SECTORS-1); retry_aligned_read()
5685 logical_sector += STRIPE_SECTORS, retry_aligned_read()
5686 sector += STRIPE_SECTORS, retry_aligned_read()
6283 / STRIPE_SECTORS, alloc_scratch_buffer()

Completed in 96 milliseconds