Lines Matching refs:sd_state

201 			if (sd->sd_state > bestsd->sd_state)  in g_raid_tr_update_state_raid1e_even()
203 else if (sd->sd_state == bestsd->sd_state && in g_raid_tr_update_state_raid1e_even()
204 (sd->sd_state == G_RAID_SUBDISK_S_REBUILD || in g_raid_tr_update_state_raid1e_even()
205 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) && in g_raid_tr_update_state_raid1e_even()
209 if (bestsd->sd_state >= G_RAID_SUBDISK_S_UNINITIALIZED && in g_raid_tr_update_state_raid1e_even()
210 bestsd->sd_state != G_RAID_SUBDISK_S_ACTIVE) { in g_raid_tr_update_state_raid1e_even()
215 g_raid_subdisk_state2str(bestsd->sd_state)); in g_raid_tr_update_state_raid1e_even()
224 if (sd->sd_state < worstsd->sd_state) in g_raid_tr_update_state_raid1e_even()
227 if (worstsd->sd_state == G_RAID_SUBDISK_S_ACTIVE) in g_raid_tr_update_state_raid1e_even()
229 else if (worstsd->sd_state >= G_RAID_SUBDISK_S_STALE) in g_raid_tr_update_state_raid1e_even()
231 else if (bestsd->sd_state == G_RAID_SUBDISK_S_ACTIVE) in g_raid_tr_update_state_raid1e_even()
254 if (sd->sd_state == G_RAID_SUBDISK_S_UNINITIALIZED) { in g_raid_tr_update_state_raid1e_odd()
259 g_raid_subdisk_state2str(sd->sd_state)); in g_raid_tr_update_state_raid1e_odd()
271 if (sd->sd_state > bestsd->sd_state) in g_raid_tr_update_state_raid1e_odd()
273 else if (sd->sd_state == bestsd->sd_state && in g_raid_tr_update_state_raid1e_odd()
274 (sd->sd_state == G_RAID_SUBDISK_S_REBUILD || in g_raid_tr_update_state_raid1e_odd()
275 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) && in g_raid_tr_update_state_raid1e_odd()
278 if (sd->sd_state < worstsd->sd_state) in g_raid_tr_update_state_raid1e_odd()
281 if (worstsd->sd_state == G_RAID_SUBDISK_S_ACTIVE) in g_raid_tr_update_state_raid1e_odd()
283 else if (worstsd->sd_state >= G_RAID_SUBDISK_S_STALE) in g_raid_tr_update_state_raid1e_odd()
285 else if (bestsd->sd_state >= G_RAID_SUBDISK_S_STALE) in g_raid_tr_update_state_raid1e_odd()
350 (sd->sd_state >= G_RAID_SUBDISK_S_UNINITIALIZED)) in g_raid_tr_raid1e_fail_disk()
650 switch (sd->sd_state) { in g_raid_tr_raid1e_select_read_disk()
779 switch (sd->sd_state) { in g_raid_tr_iostart_raid1e_write()
1165 switch (sd->sd_state) { in g_raid_tr_kerneldump_raid1e()