Lines Matching refs:operational
337 if (conf->mirrors[i].operational) { in raid1_map()
501 while( !conf->mirrors[new_disk].operational) { in raid1_read_balance()
547 (!conf->mirrors[new_disk].operational)); in raid1_read_balance()
568 (!conf->mirrors[disk].operational)) in raid1_read_balance()
668 if (!conf->mirrors[i].operational) in raid1_make_request()
752 conf->mirrors[i].operational ? "U" : "_"); in raid1_status()
778 mirror->operational = 0; in mark_disk_bad()
812 if (mirrors[i].dev==dev && mirrors[i].operational) in raid1_error()
852 i, tmp->spare,tmp->operational, in print_raid1_conf()
922 if ((!tmp->operational && !tmp->spare) || in raid1_diskop()
965 if (tmp->operational) { in raid1_diskop()
1003 sdisk->operational = 1; in raid1_diskop()
1016 sdisk->operational = 0; in raid1_diskop()
1144 adisk->operational = 0; in raid1_diskop()
1221 if (!conf->mirrors[i].operational) in raid1d()
1457 while (!conf->mirrors[disk].operational) { in raid1_sync_request()
1632 disk->operational = 0; in raid1_run()
1652 if (disk->operational) { in raid1_run()
1664 disk->operational = 1; in raid1_run()
1679 disk->operational = 0; in raid1_run()
1731 disk->operational = 0; in raid1_run()
1743 for (j = 0; !conf->mirrors[j].operational && j < MD_SB_DISKS; j++) in raid1_run()
1784 if (!conf->mirrors[j].operational) in raid1_run()