Home
last modified time | relevance | path

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

/titanic_44/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 …]
/titanic_44/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_timer.c318 cmdstate_t next_state; in ghd_timer_newstate() local
347 next_state = GCMD_STATE_DONEQ; in ghd_timer_newstate()
355 next_state = GCMD_STATE_DONEQ; in ghd_timer_newstate()
362 next_state = GCMD_STATE_ABORTING_CMD; in ghd_timer_newstate()
368 next_state = GCMD_STATE_ABORTING_DEV; in ghd_timer_newstate()
374 next_state = GCMD_STATE_RESETTING_DEV; in ghd_timer_newstate()
380 next_state = GCMD_STATE_RESETTING_BUS; in ghd_timer_newstate()
397 next_state = GCMD_STATE_HUNG; in ghd_timer_newstate()
433 gcmdp->cmd_state = next_state; in ghd_timer_newstate()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_conn.c1072 next_state) in iscsi_conn_update_state()
1075 (void) iscsi_conn_update_state_locked(icp, next_state); in iscsi_conn_update_state()
1081 iscsi_conn_state_t next_state) in iscsi_conn_update_state_locked() argument
1084 next_state = (next_state > ISCSI_CONN_STATE_MAX) ? in iscsi_conn_update_state_locked()
1085 ISCSI_CONN_STATE_MAX : next_state; in iscsi_conn_update_state_locked()
1087 SAS_ISCSI_CONN, icp->conn_state, next_state); in iscsi_conn_update_state_locked()
1088 switch (next_state) { in iscsi_conn_update_state_locked()
1099 iscsi_ics_name[next_state], next_state); in iscsi_conn_update_state_locked()
1101 icp->conn_state = next_state; in iscsi_conn_update_state_locked()
1106 "prev_state: %x", next_state, icp->conn_prev_state); in iscsi_conn_update_state_locked()
H A Discsi_login.c2017 iscsi_login_update_state(iscsi_conn_t *icp, iscsi_login_state_t next_state) in iscsi_login_update_state() argument
2020 (void) iscsi_login_update_state_locked(icp, next_state); in iscsi_login_update_state()
2026 iscsi_login_state_t next_state) in iscsi_login_update_state_locked() argument
2029 next_state = (next_state > LOGIN_MAX) ? LOGIN_MAX : next_state; in iscsi_login_update_state_locked()
2031 SAS_ISCSI_LOGIN, icp->conn_login_state, next_state); in iscsi_login_update_state_locked()
2034 (void *)icp, icp->conn_login_state, next_state); in iscsi_login_update_state_locked()
2036 icp->conn_login_state = next_state; in iscsi_login_update_state_locked()
H A Discsi.h1271 iscsi_login_state_t next_state);
1273 iscsi_login_state_t next_state);
1323 void iscsi_conn_update_state(iscsi_conn_t *icp, iscsi_conn_state_t next_state);
1325 iscsi_conn_state_t next_state);
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.c4819 o->next_state = ECORE_Q_STATE_MAX; in ecore_queue_state_change()
4880 o->state, cur_pending, o->next_state); in ecore_queue_comp_cmd()
4893 cmd, o->cids[ECORE_PRIMARY_CID_INDEX], o->next_state); in ecore_queue_comp_cmd()
4899 o->state = o->next_state; in ecore_queue_comp_cmd()
4901 o->next_state = ECORE_Q_STATE_MAX; in ecore_queue_comp_cmd()
5686 enum ecore_q_state state = o->state, next_state = ECORE_Q_STATE_MAX; in ecore_queue_chk_transition() local
5697 o->next_state = ECORE_Q_STATE_MAX; in ecore_queue_chk_transition()
5712 next_state = ECORE_Q_STATE_INITIALIZED; in ecore_queue_chk_transition()
5719 next_state = ECORE_Q_STATE_ACTIVE; in ecore_queue_chk_transition()
5721 next_state = ECORE_Q_STATE_INACTIVE; in ecore_queue_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
/titanic_44/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.c327 restarter_instance_state_t state, next_state; in restarter_insert_inst() local
442 next_state = RESTARTER_STATE_NONE; in restarter_insert_inst()
469 r = libscf_read_states(pg, &state, &next_state); in restarter_insert_inst()
473 if (next_state != RESTARTER_STATE_NONE) { in restarter_insert_inst()
478 next_state = RESTARTER_STATE_NONE; in restarter_insert_inst()
496 next_state; in restarter_insert_inst()
668 next_state, RERR_NONE, reason); in restarter_insert_inst()
H A Dlibscf.c548 restarter_instance_state_t *state, restarter_instance_state_t *next_state) in libscf_read_states() argument
554 next_state); in libscf_read_states()
564 *next_state = RESTARTER_STATE_NONE; in libscf_read_states()
572 *next_state = RESTARTER_STATE_NONE; in libscf_read_states()
H A Dgraph.c1854 restarter_instance_state_t state, next_state; in offline_vertex() local
1903 r = libscf_read_states(pg, &state, &next_state); in offline_vertex()
1904 if (r == 0 && (next_state == RESTARTER_STATE_OFFLINE || in offline_vertex()
1905 next_state == RESTARTER_STATE_DISABLED)) { in offline_vertex()
/titanic_44/usr/src/cmd/svc/common/
H A Dr.manifest91 nstate=`$SVCPROP -p restarter/next_state $svcinst`
/titanic_44/usr/src/uts/common/io/mac/
H A Dmac_datapath_setup.c2842 mac_group_state_t next_state; in mac_datapath_setup() local
2954 next_state = mac_group_next_state(rgroup, in mac_datapath_setup()
2956 mac_set_group_state(rgroup, next_state); in mac_datapath_setup()
2972 next_state = mac_group_next_state(tgroup, in mac_datapath_setup()
2974 tgroup->mrg_state = next_state; in mac_datapath_setup()
3075 mac_group_state_t next_state; in mac_datapath_teardown() local
3123 next_state = mac_group_next_state(group, in mac_datapath_teardown()
3125 if (next_state == MAC_GROUP_STATE_RESERVED) { in mac_datapath_teardown()
3147 } else if (next_state == MAC_GROUP_STATE_REGISTERED) { in mac_datapath_teardown()
3168 ASSERT(next_state == MAC_GROUP_STATE_SHARED); in mac_datapath_teardown()
[all …]
H A Dmac.c6806 mac_group_state_t next_state; in mac_rx_switch_group() local
6871 next_state = mac_group_next_state(tgrp, &group_only_mcip, in mac_rx_switch_group()
6873 mac_set_group_state(tgrp, next_state); in mac_rx_switch_group()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/cmd/svc/svcs/
H A Dexplain.c131 char next_state[MAX_SCF_STATE_STRING_SZ]; member
463 (void *)instp->next_state, sizeof (instp->next_state), 0) != 0) in add_instance()
1231 if (strcmp(svcp->next_state, SCF_STATE_STRING_NONE) != 0) { in determine_causes()
1446 else if (strcmp(ip->next_state, SCF_STATE_STRING_ONLINE) == 0) in determine_summary()
1800 if (strcmp(svcp->next_state, SCF_STATE_STRING_ONLINE) == 0) { in print_reasons()
1804 } else if (strcmp(svcp->next_state, SCF_STATE_STRING_NONE) == in print_reasons()
1812 svcp->next_state); in print_reasons()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/lib/libsldap/common/
H A Dns_reads.c2419 cookie->next_state = MULTI_RESULT; in search_state_machine()
2429 cookie->next_state = MULTI_RESULT; in search_state_machine()
2433 cookie->next_state = NEXT_RESULT; in search_state_machine()
2549 cookie->new_state = cookie->next_state; in search_state_machine()
2675 cookie->next_state = NEXT_RESULT; in search_state_machine()
2809 cookie->next_state = MULTI_RESULT; in search_state_machine()
2841 cookie->new_state = cookie->next_state; in search_state_machine()
2844 cookie->new_state = cookie->next_state; in search_state_machine()
H A Dns_internal.h657 ns_state_t next_state; member
/titanic_44/usr/src/lib/librestart/common/
H A Dlibrestart.c756 restarter_instance_state_t *state, restarter_instance_state_t *next_state) in restarter_event_get_current_states() argument
761 *next_state = e->re_next_state; in restarter_event_get_current_states()
845 restarter_instance_state_t next_state, in restarter_set_states() argument
899 id.i_next_state = next_state; in restarter_set_states()
/titanic_44/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_common.c2447 uchar_t next_state; in ata_ctlr_fsm() local
2452 next_state = ata_ctlr_fsm_NextState[current_state][fsm_func]; in ata_ctlr_fsm()
2457 ata_ctlp->ac_state = next_state; in ata_ctlr_fsm()