Searched refs:disk_active (Results 1 – 5 of 5) sorted by relevance
101 static inline int disk_active(mdp_disk_t * d) in disk_active() function113 return !disk_sync(d) && !disk_active(d) && !disk_faulty(d); in disk_spare()
398 if (disk_active(disk)) { in remove_descriptor()2328 if (!disk_active(disk)) in hot_generate_error()2369 if (disk_active(disk)) in hot_remove_disk()3369 if (disk_active(disk)) in get_spare()
896 if (disk_active(desc)) { in multipath_run()
1639 if (disk_active(descriptor)) { in raid1_run()
1437 if (disk_active(desc)) { in raid5_run()