Searched refs:data_disks (Results 1 – 2 of 2) sorted by relevance
274 int data_disks = 0; in ppl_log_stripe() local303 if (!data_disks || dev->sector < data_sector) in ppl_log_stripe()305 data_disks++; in ppl_log_stripe()308 BUG_ON(!data_disks); in ppl_log_stripe()331 ((data_sector - data_sector_last) * data_disks == in ppl_log_stripe()798 int data_disks; in ppl_recover_entry() local816 data_disks = data_size / pp_size; in ppl_recover_entry()820 strip_sectors = (data_size >> 9) / data_disks; in ppl_recover_entry()823 (data_disks - 1) * conf->chunk_sectors + in ppl_recover_entry()826 data_disks = conf->raid_disks - conf->max_degraded; in ppl_recover_entry()[all …]
3015 int data_disks = raid_disks - conf->max_degraded; in raid5_compute_sector() local3029 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()3037 pd_idx = data_disks; in raid5_compute_sector()3064 pd_idx = data_disks; in raid5_compute_sector()3108 pd_idx = data_disks; in raid5_compute_sector()3109 qd_idx = data_disks + 1; in raid5_compute_sector()3295 i += data_disks + 1; in raid5_compute_blocknr()3307 chunk_number = stripe * data_disks + i; in raid5_compute_blocknr()6325 sector_div(readpos, data_disks); in reshape_request()6327 sector_div(safepos, data_disks); in reshape_request()[all …]