Lines Matching refs:sd_state
542 if (sd->sd_state < state) in g_raid_report_disk_state()
543 state = sd->sd_state; in g_raid_report_disk_state()
582 g_raid_subdisk_state2str(sd->sd_state), in g_raid_change_subdisk_state()
584 sd->sd_state = state; in g_raid_change_subdisk_state()
739 subdisk->sd_state != G_RAID_SUBDISK_S_NONE) || in g_raid_nsubdisks()
740 subdisk->sd_state == state) in g_raid_nsubdisks()
763 sd->sd_state != G_RAID_SUBDISK_S_NONE) || in g_raid_get_subdisk()
764 sd->sd_state == state) in g_raid_get_subdisk()
975 if (sd->sd_state == G_RAID_SUBDISK_S_NONE || in g_raid_tr_flush_common()
976 sd->sd_state == G_RAID_SUBDISK_S_FAILED) in g_raid_tr_flush_common()
1084 if (sd->sd_state == G_RAID_SUBDISK_S_NONE) in g_raid_candelete()
1643 if (sd->sd_state == G_RAID_SUBDISK_S_NONE) in g_raid_launch_provider()
1932 vol->v_subdisks[i].sd_state = G_RAID_DISK_S_NONE; in g_raid_create_volume()
2379 g_raid_subdisk_state2str(sd->sd_state)); in g_raid_dumpconf()
2380 if (sd->sd_state == G_RAID_SUBDISK_S_REBUILD || in g_raid_dumpconf()
2381 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) { in g_raid_dumpconf()
2405 g_raid_subdisk_state2str(sd->sd_state)); in g_raid_dumpconf()
2406 if (sd->sd_state == G_RAID_SUBDISK_S_REBUILD || in g_raid_dumpconf()
2407 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) { in g_raid_dumpconf()