Lines Matching refs:sd_state
553 if (sd->sd_state < state) in g_raid_report_disk_state()
554 state = sd->sd_state; in g_raid_report_disk_state()
593 g_raid_subdisk_state2str(sd->sd_state), in g_raid_change_subdisk_state()
595 sd->sd_state = state; in g_raid_change_subdisk_state()
750 subdisk->sd_state != G_RAID_SUBDISK_S_NONE) || in g_raid_nsubdisks()
751 subdisk->sd_state == state) in g_raid_nsubdisks()
774 sd->sd_state != G_RAID_SUBDISK_S_NONE) || in g_raid_get_subdisk()
775 sd->sd_state == state) in g_raid_get_subdisk()
988 if (sd->sd_state == G_RAID_SUBDISK_S_NONE || in g_raid_tr_flush_common()
989 sd->sd_state == G_RAID_SUBDISK_S_FAILED) in g_raid_tr_flush_common()
1102 if (sd->sd_state == G_RAID_SUBDISK_S_NONE) in g_raid_candelete()
1679 if (sd->sd_state == G_RAID_SUBDISK_S_NONE) in g_raid_launch_provider()
1968 vol->v_subdisks[i].sd_state = G_RAID_DISK_S_NONE; in g_raid_create_volume()
2413 g_raid_subdisk_state2str(sd->sd_state)); in g_raid_dumpconf()
2414 if (sd->sd_state == G_RAID_SUBDISK_S_REBUILD || in g_raid_dumpconf()
2415 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) { in g_raid_dumpconf()
2439 g_raid_subdisk_state2str(sd->sd_state)); in g_raid_dumpconf()
2440 if (sd->sd_state == G_RAID_SUBDISK_S_REBUILD || in g_raid_dumpconf()
2441 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) { in g_raid_dumpconf()