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()311 io->seq, (unsigned long long)data_sector, data_disks); in ppl_log_stripe()331 ((data_sector - data_sector_last) * data_disks == in ppl_log_stripe()343 le32_add_cpu(&e->data_size, data_disks << PAGE_SHIFT); in ppl_log_stripe()798 int data_disks; in ppl_recover_entry() local816 data_disks = data_size / pp_size; in ppl_recover_entry()819 data_disks = conf->raid_disks - conf->max_degraded; in ppl_recover_entry()[all …]
3009 int data_disks = raid_disks - conf->max_degraded; in raid5_compute_sector() local3023 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()3031 pd_idx = data_disks; in raid5_compute_sector()3036 pd_idx = data_disks - sector_div(stripe2, raid_disks); in raid5_compute_sector()3046 pd_idx = data_disks - sector_div(stripe2, raid_disks); in raid5_compute_sector()3058 pd_idx = data_disks; in raid5_compute_sector()3102 pd_idx = data_disks; in raid5_compute_sector()3103 qd_idx = data_disks + 1; in raid5_compute_sector()3146 pd_idx = data_disks - sector_div(stripe2, raid_disks-1); in raid5_compute_sector()3160 pd_idx = data_disks - sector_div(stripe2, raid_disks-1); in raid5_compute_sector()[all …]