Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
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()
Draid5.c919 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()
[all …]
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()
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()