Lines Matching defs:newstate
193 raid_set_state(mr_unit_t *un, int col, rcs_state_t newstate, int force)
205 ASSERT(newstate &
208 ASSERT((newstate &
219 un->un_column[col].un_devstate = newstate;
220 un->un_state = raid_col2unit(newstate, unitstate);
232 if (un->un_column[col].un_devstate == newstate)
235 if (newstate == RCS_REGEN) {
250 colstate = newstate;
266 if (newstate & RCS_ERRED)
267 newstate = RCS_LAST_ERRED;
275 un->un_column[col].un_devstate = newstate;
315 } else if (orig_colstate == RCS_LAST_ERRED && newstate == RCS_ERRED &&
329 if ((orig_colstate == RCS_RESYNC) && (newstate == RCS_OKAY)) {