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()796 int data_disks; in ppl_recover_entry() local814 data_disks = data_size / pp_size; in ppl_recover_entry()817 data_disks = conf->raid_disks - conf->max_degraded; in ppl_recover_entry()[all …]
2973 int data_disks = raid_disks - conf->max_degraded; in raid5_compute_sector() local2987 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()2995 pd_idx = data_disks; in raid5_compute_sector()3000 pd_idx = data_disks - sector_div(stripe2, raid_disks); in raid5_compute_sector()3010 pd_idx = data_disks - sector_div(stripe2, raid_disks); in raid5_compute_sector()3022 pd_idx = data_disks; in raid5_compute_sector()3066 pd_idx = data_disks; in raid5_compute_sector()3067 qd_idx = data_disks + 1; in raid5_compute_sector()3110 pd_idx = data_disks - sector_div(stripe2, raid_disks-1); in raid5_compute_sector()3124 pd_idx = data_disks - sector_div(stripe2, raid_disks-1); in raid5_compute_sector()[all …]