Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/
Draid5.h697 #define RAID5_STRIPE_SECTORS(conf) STRIPE_SECTORS macro
701 #define RAID5_STRIPE_SECTORS(conf) ((conf)->stripe_sectors) macro
715 if (bio_end_sector(bio) < sector + RAID5_STRIPE_SECTORS(conf)) in r5_next_bio()
Draid5.c829 head_sector = sh->sector - RAID5_STRIPE_SECTORS(conf); in stripe_add_to_batch_list()
1139 int bad = is_badblock(rdev, sh->sector, RAID5_STRIPE_SECTORS(conf), in ops_run_io()
1171 md_sync_acct(rdev->bdev, RAID5_STRIPE_SECTORS(conf)); in ops_run_io()
1238 md_sync_acct(rrdev->bdev, RAID5_STRIPE_SECTORS(conf)); in ops_run_io()
1396 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in ops_complete_biofill()
1429 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in ops_run_biofill()
1892 dev->sector + RAID5_STRIPE_SECTORS(conf)) { in ops_run_biodrain()
2448 new_sectors / RAID5_STRIPE_SECTORS(conf)); in resize_chunks()
2708 mdname(conf->mddev), RAID5_STRIPE_SECTORS(conf), in raid5_end_read_request()
2711 atomic_add(RAID5_STRIPE_SECTORS(conf), &rdev->corrected_errors); in raid5_end_read_request()
[all …]
Draid5-ppl.c327 if ((sh->sector == sh_last->sector + RAID5_STRIPE_SECTORS(conf)) && in ppl_log_stripe()
847 (r_sector_first & (RAID5_STRIPE_SECTORS(conf) - 1)) == 0 && in ppl_recover_entry()
848 (r_sector_last & (RAID5_STRIPE_SECTORS(conf) - 1)) == 0) in ppl_recover_entry()
1278 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()