Lines Matching refs:sd_state

202 			if (sd->sd_state > bestsd->sd_state)  in g_raid_tr_update_state_raid1e_even()
204 else if (sd->sd_state == bestsd->sd_state && in g_raid_tr_update_state_raid1e_even()
205 (sd->sd_state == G_RAID_SUBDISK_S_REBUILD || in g_raid_tr_update_state_raid1e_even()
206 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) && in g_raid_tr_update_state_raid1e_even()
210 if (bestsd->sd_state >= G_RAID_SUBDISK_S_UNINITIALIZED && in g_raid_tr_update_state_raid1e_even()
211 bestsd->sd_state != G_RAID_SUBDISK_S_ACTIVE) { in g_raid_tr_update_state_raid1e_even()
216 g_raid_subdisk_state2str(bestsd->sd_state)); in g_raid_tr_update_state_raid1e_even()
225 if (sd->sd_state < worstsd->sd_state) in g_raid_tr_update_state_raid1e_even()
228 if (worstsd->sd_state == G_RAID_SUBDISK_S_ACTIVE) in g_raid_tr_update_state_raid1e_even()
230 else if (worstsd->sd_state >= G_RAID_SUBDISK_S_STALE) in g_raid_tr_update_state_raid1e_even()
232 else if (bestsd->sd_state == G_RAID_SUBDISK_S_ACTIVE) in g_raid_tr_update_state_raid1e_even()
255 if (sd->sd_state == G_RAID_SUBDISK_S_UNINITIALIZED) { in g_raid_tr_update_state_raid1e_odd()
260 g_raid_subdisk_state2str(sd->sd_state)); in g_raid_tr_update_state_raid1e_odd()
272 if (sd->sd_state > bestsd->sd_state) in g_raid_tr_update_state_raid1e_odd()
274 else if (sd->sd_state == bestsd->sd_state && in g_raid_tr_update_state_raid1e_odd()
275 (sd->sd_state == G_RAID_SUBDISK_S_REBUILD || in g_raid_tr_update_state_raid1e_odd()
276 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) && in g_raid_tr_update_state_raid1e_odd()
279 if (sd->sd_state < worstsd->sd_state) in g_raid_tr_update_state_raid1e_odd()
282 if (worstsd->sd_state == G_RAID_SUBDISK_S_ACTIVE) in g_raid_tr_update_state_raid1e_odd()
284 else if (worstsd->sd_state >= G_RAID_SUBDISK_S_STALE) in g_raid_tr_update_state_raid1e_odd()
286 else if (bestsd->sd_state >= G_RAID_SUBDISK_S_STALE) in g_raid_tr_update_state_raid1e_odd()
351 (sd->sd_state >= G_RAID_SUBDISK_S_UNINITIALIZED)) in g_raid_tr_raid1e_fail_disk()
651 switch (sd->sd_state) { in g_raid_tr_raid1e_select_read_disk()
780 switch (sd->sd_state) { in g_raid_tr_iostart_raid1e_write()
1166 switch (sd->sd_state) { in g_raid_tr_kerneldump_raid1e()