Searched refs:removed_disk (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/md/ |
D | multipath.c | 423 int i, failed_disk=-1, spare_disk=-1, removed_disk=-1, added_disk=-1; in multipath_diskop() local 493 removed_disk = i; in multipath_diskop() 497 if (removed_disk == -1) { in multipath_diskop() 625 rdisk = conf->multipaths + removed_disk; in multipath_diskop() 627 if (rdisk->spare && (removed_disk < conf->raid_disks)) { in multipath_diskop()
|
D | raid1.c | 887 int i, failed_disk=-1, spare_disk=-1, removed_disk=-1, added_disk=-1; in raid1_diskop() local 969 removed_disk = i; in raid1_diskop() 973 if (removed_disk == -1) { in raid1_diskop() 1118 rdisk = conf->mirrors + removed_disk; in raid1_diskop() 1120 if (rdisk->spare && (removed_disk < conf->raid_disks)) { in raid1_diskop()
|
D | raid5.c | 1740 int i, failed_disk=-1, spare_disk=-1, removed_disk=-1, added_disk=-1; local 1809 removed_disk = i; 1813 if (removed_disk == -1) { 1966 rdisk = conf->disks + removed_disk; 1968 if (rdisk->spare && (removed_disk < conf->raid_disks)) {
|