Lines Matching refs:disk_idx
2327 int disk_idx, int disks) in fetch_block5() argument
2329 struct r5dev *dev = &sh->dev[disk_idx]; in fetch_block5()
2346 (s->failed && disk_idx == s->failed_num)) { in fetch_block5()
2350 sh->ops.target = disk_idx; in fetch_block5()
2365 pr_debug("Reading block %d (sync=%d)\n", disk_idx, in fetch_block5()
2400 struct r6_state *r6s, int disk_idx, int disks) in fetch_block6() argument
2402 struct r5dev *dev = &sh->dev[disk_idx]; in fetch_block6()
2421 (s->failed && (disk_idx == r6s->failed_num[0] || in fetch_block6()
2422 disk_idx == r6s->failed_num[1]))) { in fetch_block6()
2427 (unsigned long long)sh->sector, disk_idx); in fetch_block6()
2431 sh->ops.target = disk_idx; in fetch_block6()
2442 if (other == disk_idx) in fetch_block6()
2451 disk_idx, other); in fetch_block6()
2454 set_bit(R5_Wantcompute, &sh->dev[disk_idx].flags); in fetch_block6()
2456 sh->ops.target = disk_idx; in fetch_block6()
2466 disk_idx, s->syncing); in fetch_block6()