Lines Matching refs:data_disks
549 unsigned int data_disks, unsigned int * dd_idx, in raid5_compute_sector() argument
569 stripe = chunk_number / data_disks; in raid5_compute_sector()
574 *dd_idx = chunk_number % data_disks; in raid5_compute_sector()
580 *pd_idx = data_disks; in raid5_compute_sector()
583 *pd_idx = data_disks - stripe % raid_disks; in raid5_compute_sector()
593 *pd_idx = data_disks - stripe % raid_disks; in raid5_compute_sector()
615 int raid_disks = conf->raid_disks, data_disks = raid_disks - 1;
639 chunk_number = stripe * data_disks + i;
643 check = raid5_compute_sector (r_sector, raid_disks, data_disks, &dummy1, &dummy2, conf);
1207 const unsigned int data_disks = raid_disks - 1; in raid5_make_request() local
1220 raid_disks, data_disks, &dd_idx, &pd_idx, conf); in raid5_make_request()
1264 int data_disks = raid_disks-1; in raid5_sync_request() local
1271 first_sector = raid5_compute_sector(stripe*data_disks*sectors_per_chunk in raid5_sync_request()
1272 + chunk_offset, raid_disks, data_disks, &dd_idx, &pd_idx, conf); in raid5_sync_request()