Home
last modified time | relevance | path

Searched refs:disk_idx (Results 1 – 4 of 4) sorted by relevance

/drivers/md/
Dmultipath.c408 int disk_idx; in multipath_run() local
444 disk_idx = rdev->raid_disk; in multipath_run()
445 if (disk_idx < 0 || in multipath_run()
446 disk_idx >= mddev->raid_disks) in multipath_run()
449 disk = conf->multipaths + disk_idx; in multipath_run()
Draid1.c1925 int i, j, disk_idx; in run() local
1973 disk_idx = rdev->raid_disk; in run()
1974 if (disk_idx >= mddev->raid_disks in run()
1975 || disk_idx < 0) in run()
1977 disk = conf->mirrors + disk_idx; in run()
Draid10.c2026 int i, disk_idx; in run() local
2112 disk_idx = rdev->raid_disk; in run()
2113 if (disk_idx >= mddev->raid_disks in run()
2114 || disk_idx < 0) in run()
2116 disk = conf->mirrors + disk_idx; in run()
Draid5.c1915 int disk_idx, int disks) in fetch_block5() argument
1917 struct r5dev *dev = &sh->dev[disk_idx]; in fetch_block5()
1934 (s->failed && disk_idx == s->failed_num)) { in fetch_block5()
1938 sh->ops.target = disk_idx; in fetch_block5()
1952 pr_debug("Reading block %d (sync=%d)\n", disk_idx, in fetch_block5()