Home
last modified time | relevance | path

Searched refs:RAID5_STRIPE_SECTORS (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/md/
H A Draid5.h702 #define RAID5_STRIPE_SECTORS(conf) STRIPE_SECTORS macro
706 #define RAID5_STRIPE_SECTORS(conf) ((conf)->stripe_sectors) macro
720 if (bio_end_sector(bio) < sector + RAID5_STRIPE_SECTORS(conf)) in r5_next_bio()
H A Draid5.c925 head_sector = sh->sector - RAID5_STRIPE_SECTORS(conf); in stripe_add_to_batch_list()
1222 int bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in ops_run_io()
1254 md_sync_acct(rdev->bdev, RAID5_STRIPE_SECTORS(conf)); in ops_run_io()
1317 md_sync_acct(rrdev->bdev, RAID5_STRIPE_SECTORS(conf)); in ops_run_io()
1472 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in ops_complete_biofill()
1505 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in ops_run_biofill()
1968 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in ops_run_biodrain()
2517 new_sectors / RAID5_STRIPE_SECTORS(conf)); in resize_chunks()
2797 mdname(conf->mddev), RAID5_STRIPE_SECTORS(conf), in raid5_end_read_request()
2800 atomic_add(RAID5_STRIPE_SECTORS(conf), &rdev->corrected_errors); in raid5_end_read_request()
[all …]
H A Draid5-ppl.c328 if ((sh->sector == sh_last->sector + RAID5_STRIPE_SECTORS(conf)) && in ppl_log_stripe()
837 (r_sector_first & (RAID5_STRIPE_SECTORS(conf) - 1)) == 0 && in ppl_recover_entry()
838 (r_sector_last & (RAID5_STRIPE_SECTORS(conf) - 1)) == 0) in ppl_recover_entry()
1270 RAID5_STRIPE_SECTORS((struct r5conf *)rdev->mddev->private)); in ppl_validate_rdev()
H A Draid5-cache.c299 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in r5c_return_dev_pending_writes()
317 RAID5_STRIPE_SECTORS(conf), in r5c_handle_cached_data_endio()