Searched refs:un_devstate (Results 1 – 8 of 8) sorted by relevance
54 #define COLUMN_STATE(un, column) ((un)->un_column[(column)].un_devstate)57 ((un)->un_column[(column)].un_devstate == RCS_INIT) || \58 ((un)->un_column[(column)].un_devstate == RCS_OKAY) || \59 ((un)->un_column[(column)].un_devstate == RCS_ERRED) || \60 ((un)->un_column[(column)].un_devstate == RCS_RESYNC) || \61 ((un)->un_column[(column)].un_devstate == RCS_LAST_ERRED) || \62 ((un)->un_column[(column)].un_devstate == RCS_REGEN))65 ((un)->un_column[(column)].un_devstate == RCS_OKAY) || \66 ((un)->un_column[(column)].un_devstate == RCS_RESYNC) || \67 ((un)->un_column[(column)].un_devstate == RCS_LAST_ERRED))[all …]
225 small_rcol->un_devstate = big_rcol->un_devstate; \245 big_rcol->un_devstate = small_rcol->un_devstate; \
166 if (HOTSPARED(un, hs_index) && (col->un_devstate & RCS_ERRED)) { in check_comp_4_hs()181 state = col->un_devstate; in check_comp_4_hs()349 if (un->un_column[i].un_devstate == RCS_ERRED) in check_4_hs()
219 un->un_column[col].un_devstate = newstate; in raid_set_state()232 if (un->un_column[col].un_devstate == newstate) in raid_set_state()242 orig_colstate = un->un_column[col].un_devstate; in raid_set_state()252 colstate = un->un_column[i].un_devstate; in raid_set_state()275 un->un_column[col].un_devstate = newstate; in raid_set_state()332 (un->un_column[i].un_devstate & RCS_LAST_ERRED)) { in raid_set_state()373 if (column->un_devstate & RCS_OKAY) in erred_check_line()376 if (column->un_devstate & RCS_ERRED) in erred_check_line()386 if (column->un_devstate & RCS_LAST_ERRED) in erred_check_line()389 ASSERT(column->un_devstate & RCS_RESYNC); in erred_check_line()[all …]
162 (un->un_column[column_index].un_devstate & RCS_RESYNC))) { in resync_request()168 if (un->un_column[column_index].un_devstate & in resync_request()633 state = un->un_column[resync].un_devstate; in resync_comp()650 if (! (un->un_column[resync].un_devstate & RCS_RESYNC)) { in resync_comp()898 if (un->un_column[i].un_devstate & RCS_OKAY) in resync_comp()
497 if (un->un_column[ix].un_devstate != RCS_INIT) in raid_init_columns()1225 if (un->un_column[col].un_devstate != RCS_ERRED) { in raid_replace()1227 if (un->un_column[ix].un_devstate & RCS_ERRED) in raid_replace()1235 if ((un->un_column[col].un_devstate != RCS_LAST_ERRED) && in raid_replace()1236 (un->un_column[col].un_devstate != RCS_ERRED)) in raid_replace()1242 if (! (un->un_column[col].un_devstate & in raid_replace()1251 state = un->un_column[col].un_devstate; in raid_replace()1448 if (un->un_column[col].un_devstate & RCS_INIT) in raid_replace()1550 if (un->un_column[ix].un_devstate & RCS_RESYNC) { in raid_set_sync()1650 switch (un->un_column[ix].un_devstate) { in raid_get_resync()[all …]
211 mdrcp->state = rcp->un_devstate; in meta_get_raid_common()1208 mdc->un_devstate = state; in attach_raid_col()2054 if (mr->un_column[col].un_devstate & state) in meta_raid_state_cnt()2205 mdc->un_devstate = cp->state; in meta_create_raid()2238 mdc->un_devstate = RCS_INIT; in meta_create_raid()2240 mdc->un_devstate = RCS_OKAY; in meta_create_raid()
734 state = meta_get_raid_col_state(mc->un_devstate); in process_raid()