nextstate
nextstate(DS_BITS);
nextstate(DS_DIRS);
nextstate(DS_FILES);
static void nextstate(int);
static void nextstate();
nextstate(DS_INIT);
hotplug_state_t nextstate;
nextstate = DISK_STATE(diskp->state) | HPS_FAULTED;
nextstate = DISK_STATE(diskp->state);
nextstate = HPS_ABSENT;
nextstate = dscp->newstate | DISK_FAULTED(diskp->state);
DISK_STATE(nextstate) != HPS_UNKNOWN &&
DISK_STATE(diskp->state), DISK_STATE(nextstate));
DISK_STATE(nextstate) == HPS_CONFIGURED) {
diskp->state = nextstate;
DISK_STATE(nextstate) == HPS_ABSENT) {
dm_assert(DISK_STATE(nextstate) != HPS_CONFIGURED);
nextstate:
goto nextstate;
goto nextstate;
static void nextstate(int s, int c);
nextstate(s, i);
static State *nextstate(re_re *r, State *s, int a);
else s = nextstate(r, s, (int)c);
uint32_t nextstate;
nextstate = (ha->ledstate.LEDflags) &
nextstate = (ha->ledstate.LEDflags) &
ql_drive_led(ha, nextstate);
tep->te_state = nextstate[TE_BIND_REQ][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_BIND_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_UNBIND_REQ][tep->te_state];
tep->te_state = nextstate[TE_OK_ACK1][tep->te_state];
tep->te_state = nextstate[TE_CONN_REQ][tep->te_state];
tep->te_state = nextstate[TE_OK_ACK1][tep->te_state];
tep->te_state = nextstate[TE_OK_ACK1][tep->te_state];
peer_tep->te_state = nextstate[TE_CONN_IND][peer_tep->te_state];
tep->te_state = nextstate[TE_CONN_CON][tep->te_state];
tep->te_state = nextstate[TE_CONN_RES][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][tep->te_state];
tep->te_state = nextstate[TE_OK_ACK2][tep->te_state];
tep->te_state = nextstate[TE_OK_ACK3][tep->te_state];
tep->te_state = nextstate[TE_OK_ACK4][tep->te_state];
acc_ep->te_state = nextstate[TE_PASS_CONN][acc_ep->te_state];
cl_ep->te_state = nextstate[TE_CONN_CON][cl_ep->te_state];
new_state = nextstate[TE_DISCON_REQ][tep->te_state];
tep->te_state = nextstate[TE_ERROR_ACK][new_state];
tep->te_state = nextstate[TE_ERROR_ACK][new_state];
new_state = nextstate[TE_OK_ACK1][new_state];
new_state = nextstate[TE_OK_ACK2][new_state];
new_state = nextstate[TE_OK_ACK4][new_state];
nextstate[TE_DISCON_IND2]
nextstate[TE_DISCON_IND3]
tep->te_state = nextstate[TE_ORDREL_REQ][tep->te_state];
peer_tep->te_state = nextstate[TE_ORDREL_IND][peer_tep->te_state];
tep->te_state = nextstate[TE_UDERROR_IND][tep->te_state];
peer_tep->te_state = nextstate[TE_UNITDATA_IND][peer_tep->te_state];
nextstate[TE_DISCON_IND2]
nextstate[TE_DISCON_IND3]
nextstate[TE_ORDREL_IND][peer_tep->te_state]));
nextstate[TE_ORDREL_IND][peer_tep->te_state];
tep->te_state = nextstate[TE_ORDREL_IND]
static char nextstate[TE_NOEVENTS][TS_NOSTATES] = {