Lines Matching refs:data_disks
274 int data_disks = 0; in ppl_log_stripe() local
303 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() local
816 data_disks = data_size / pp_size; in ppl_recover_entry()
819 data_disks = conf->raid_disks - conf->max_degraded; 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()
856 for (disk = 0; disk < data_disks; disk++) { in ppl_recover_entry()