Home
last modified time | relevance | path

Searched refs:next_state (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/threads/
H A Ddoor_calls.c519 enum door_xsync_state next_state; in door_xcreate_startf() local
523 next_state = DOOR_XSYNC_SETSPEC_FAIL; in door_xcreate_startf()
536 next_state = DOOR_XSYNC_BOUND; in door_xcreate_startf()
538 next_state = DOOR_XSYNC_BINDFAIL; in door_xcreate_startf()
547 next_state = DOOR_XSYNC_ABORTED; in door_xcreate_startf()
549 xsp->state = next_state; in door_xcreate_startf()
554 if (next_state != DOOR_XSYNC_BOUND) { in door_xcreate_startf()
562 next_state = xsp->state; in door_xcreate_startf()
563 ASSERT(next_state == DOOR_XSYNC_ENTER_SERVICE || in door_xcreate_startf()
564 next_state == DOOR_XSYNC_ABORT); in door_xcreate_startf()
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_timer.c318 cmdstate_t next_state; in ghd_timer_newstate() local
348 next_state = GCMD_STATE_DONEQ; in ghd_timer_newstate()
356 next_state = GCMD_STATE_DONEQ; in ghd_timer_newstate()
363 next_state = GCMD_STATE_ABORTING_CMD; in ghd_timer_newstate()
369 next_state = GCMD_STATE_ABORTING_DEV; in ghd_timer_newstate()
375 next_state = GCMD_STATE_RESETTING_DEV; in ghd_timer_newstate()
381 next_state = GCMD_STATE_RESETTING_BUS; in ghd_timer_newstate()
398 next_state = GCMD_STATE_HUNG; in ghd_timer_newstate()
434 gcmdp->cmd_state = next_state; in ghd_timer_newstate()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_conn.c1071 iscsi_conn_update_state(iscsi_conn_t *icp, iscsi_conn_state_t next_state) in iscsi_conn_update_state() argument
1074 (void) iscsi_conn_update_state_locked(icp, next_state); in iscsi_conn_update_state()
1079 iscsi_conn_update_state_locked(iscsi_conn_t *icp, iscsi_conn_state_t next_state) in iscsi_conn_update_state_locked() argument
1082 next_state = (next_state > ISCSI_CONN_STATE_MAX) ? in iscsi_conn_update_state_locked()
1083 ISCSI_CONN_STATE_MAX : next_state; in iscsi_conn_update_state_locked()
1085 SAS_ISCSI_CONN, icp->conn_state, next_state); in iscsi_conn_update_state_locked()
1086 switch (next_state) { in iscsi_conn_update_state_locked()
1097 iscsi_ics_name[next_state], next_state); in iscsi_conn_update_state_locked()
1099 icp->conn_state = next_state; in iscsi_conn_update_state_locked()
1104 "prev_state: %x", next_state, icp->conn_prev_state); in iscsi_conn_update_state_locked()
H A Discsi_login.c2023 iscsi_login_update_state(iscsi_conn_t *icp, iscsi_login_state_t next_state) in iscsi_login_update_state() argument
2026 (void) iscsi_login_update_state_locked(icp, next_state); in iscsi_login_update_state()
2032 iscsi_login_state_t next_state) in iscsi_login_update_state_locked() argument
2035 next_state = (next_state > LOGIN_MAX) ? LOGIN_MAX : next_state; in iscsi_login_update_state_locked()
2037 SAS_ISCSI_LOGIN, icp->conn_login_state, next_state); in iscsi_login_update_state_locked()
2040 (void *)icp, icp->conn_login_state, next_state); in iscsi_login_update_state_locked()
2042 icp->conn_login_state = next_state; in iscsi_login_update_state_locked()
H A Discsi.h1274 iscsi_login_state_t next_state);
1276 iscsi_login_state_t next_state);
1326 void iscsi_conn_update_state(iscsi_conn_t *icp, iscsi_conn_state_t next_state);
1328 iscsi_conn_state_t next_state);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.c4899 o->state = o->next_state; in ecore_queue_comp_cmd()
4901 o->next_state = ECORE_Q_STATE_MAX; in ecore_queue_comp_cmd()
5837 state, cmd, next_state); in ecore_queue_chk_transition()
5838 o->next_state = next_state; in ecore_queue_chk_transition()
5900 state, cmd, next_state); in ecore_queue_chk_fwd_transition()
5901 o->next_state = next_state; in ecore_queue_chk_fwd_transition()
6010 cur_pending, o->next_state); in ecore_func_state_change_comp()
6018 o->state = o->next_state; in ecore_func_state_change_comp()
6019 o->next_state = ECORE_F_STATE_MAX; in ecore_func_state_change_comp()
6152 state, cmd, next_state); in ecore_func_chk_transition()
[all …]
H A Decore_sp_verbs.h1119 enum ecore_q_state state, next_state; member
1374 enum ecore_func_state state, next_state; member
/illumos-gate/usr/src/cmd/svc/startd/
H A Dprotocol.c283 int state, next_state; in state_cb() local
300 &next_state) != 0) || in state_cb()
310 states->ps_state_next = next_state; in state_cb()
319 sz = restarter_state_to_string(next_state, str_next_state, in state_cb()
H A Drestarter.c328 restarter_instance_state_t state, next_state; in restarter_insert_inst() local
443 next_state = RESTARTER_STATE_NONE; in restarter_insert_inst()
470 r = libscf_read_states(pg, &state, &next_state); in restarter_insert_inst()
474 if (next_state != RESTARTER_STATE_NONE) { in restarter_insert_inst()
479 next_state = RESTARTER_STATE_NONE; in restarter_insert_inst()
497 next_state; in restarter_insert_inst()
669 next_state, RERR_NONE, reason); in restarter_insert_inst()
H A Dlibscf.c549 restarter_instance_state_t *state, restarter_instance_state_t *next_state) in libscf_read_states() argument
555 next_state); in libscf_read_states()
565 *next_state = RESTARTER_STATE_NONE; in libscf_read_states()
573 *next_state = RESTARTER_STATE_NONE; in libscf_read_states()
H A Dgraph.c1826 restarter_instance_state_t state, next_state; in offline_vertex() local
1875 r = libscf_read_states(pg, &state, &next_state); in offline_vertex()
1876 if (r == 0 && (next_state == RESTARTER_STATE_OFFLINE || in offline_vertex()
1877 next_state == RESTARTER_STATE_DISABLED)) { in offline_vertex()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_datapath_setup.c2896 mac_group_state_t next_state; in mac_datapath_setup() local
3037 next_state = mac_group_next_state(rgroup, in mac_datapath_setup()
3039 mac_set_group_state(rgroup, next_state); in mac_datapath_setup()
3055 next_state = mac_group_next_state(tgroup, in mac_datapath_setup()
3057 tgroup->mrg_state = next_state; in mac_datapath_setup()
3173 mac_group_state_t next_state; in mac_datapath_teardown() local
3229 next_state = mac_group_next_state(group, in mac_datapath_teardown()
3275 VERIFY3S(next_state, ==, in mac_datapath_teardown()
3292 next_state = mac_group_next_state(group, in mac_datapath_teardown()
3349 group->mrg_state = next_state; in mac_datapath_teardown()
[all …]
H A Dmac.c7411 mac_group_state_t next_state; in mac_rx_switch_group() local
7494 next_state = mac_group_next_state(tgrp, &group_only_mcip, in mac_rx_switch_group()
7496 mac_set_group_state(tgrp, next_state); in mac_rx_switch_group()
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_kverbs.c1530 ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state, in ib_modify_qp_is_ok() argument
1536 next_state < 0 || next_state > IB_QPS_ERR) { in ib_modify_qp_is_ok()
1540 cur_state, next_state, type, mask); in ib_modify_qp_is_ok()
1550 cur_state, next_state, type, mask); in ib_modify_qp_is_ok()
1554 if (!qp_state_table[cur_state][next_state].valid) { in ib_modify_qp_is_ok()
1558 cur_state, next_state, type, mask); in ib_modify_qp_is_ok()
1562 req_param = qp_state_table[cur_state][next_state].req_param[type]; in ib_modify_qp_is_ok()
1563 opt_param = qp_state_table[cur_state][next_state].opt_param[type]; in ib_modify_qp_is_ok()
1570 cur_state, next_state, type, mask, req_param); in ib_modify_qp_is_ok()
1579 cur_state, next_state, type, mask, req_param, opt_param); in ib_modify_qp_is_ok()
/illumos-gate/usr/src/cmd/svc/common/
H A Dr.manifest91 nstate=`$SVCPROP -p restarter/next_state $svcinst`
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dexplain.c125 char next_state[MAX_SCF_STATE_STRING_SZ]; member
459 (void *)instp->next_state, sizeof (instp->next_state), 0) != 0) in add_instance()
1237 if (strcmp(svcp->next_state, SCF_STATE_STRING_NONE) != 0) { in determine_causes()
1452 else if (strcmp(ip->next_state, SCF_STATE_STRING_ONLINE) == 0) in determine_summary()
1817 if (strcmp(svcp->next_state, SCF_STATE_STRING_ONLINE) == 0) { in print_reasons()
1821 } else if (strcmp(svcp->next_state, SCF_STATE_STRING_NONE) == in print_reasons()
1829 svcp->next_state); in print_reasons()
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_qp.c39 ibt_cep_state_t next_state; member
45 ibt_cep_state_t next_state; member
259 ibt_cep_next_state[state].next_state; in ibt_initialize_qp()
1503 ibt_cep_next_state[state].next_state = in ibtl_init_cep_states()
1504 ibt_cep_next_state_inits[index].next_state; in ibtl_init_cep_states()
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_qp.c278 enum ib_qp_state next_state, enum ib_qp_type type, in uverbs_modify_qp_is_ok() argument
286 "(%x, %x, %x, %x)", cur_state, next_state, type, mask); in uverbs_modify_qp_is_ok()
289 next_state < 0 || next_state > IB_QPS_ERR) { in uverbs_modify_qp_is_ok()
292 cur_state, next_state); in uverbs_modify_qp_is_ok()
305 state_tblp = &uverbs_qp_state_table[cur_state][next_state]; in uverbs_modify_qp_is_ok()
309 next_state); in uverbs_modify_qp_is_ok()
320 "req = 0%08X", cur_state, next_state, in uverbs_modify_qp_is_ok()
329 "illegal = 0x%08X", cur_state, next_state, in uverbs_modify_qp_is_ok()
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dscn.c1240 int next_state; member
1526 if (tbl->next_state != 0) { in scn_transition()
1527 new_state = tbl->next_state; in scn_transition()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_reads.c2420 cookie->next_state = MULTI_RESULT; in search_state_machine()
2430 cookie->next_state = MULTI_RESULT; in search_state_machine()
2434 cookie->next_state = NEXT_RESULT; in search_state_machine()
2551 cookie->new_state = cookie->next_state; in search_state_machine()
2678 cookie->next_state = NEXT_RESULT; in search_state_machine()
2813 cookie->next_state = MULTI_RESULT; in search_state_machine()
2845 cookie->new_state = cookie->next_state; in search_state_machine()
2848 cookie->new_state = cookie->next_state; in search_state_machine()
H A Dns_internal.h661 ns_state_t next_state; member
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.c757 restarter_instance_state_t *state, restarter_instance_state_t *next_state) in restarter_event_get_current_states() argument
762 *next_state = e->re_next_state; in restarter_event_get_current_states()
846 restarter_instance_state_t next_state, in restarter_set_states() argument
900 id.i_next_state = next_state; in restarter_set_states()
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_common.c2449 uchar_t next_state; in ata_ctlr_fsm() local
2454 next_state = ata_ctlr_fsm_NextState[current_state][fsm_func]; in ata_ctlr_fsm()
2459 ata_ctlp->ac_state = next_state; in ata_ctlr_fsm()