Home
last modified time | relevance | path

Searched refs:cur_state (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/init/
H A Dinit.c450 #define cur_state (g_state->ist_runlevel) macro
742 cur_state = 0; in main()
748 prev_state = prior_state = cur_state; in main()
771 if (op_modes == NORMAL_MODES && cur_state != LVLa && in main()
772 cur_state != LVLb && cur_state != LVLc) in main()
783 if (state_to_flags(cur_state) & LSEL_RUNLEVEL) { in main()
784 char rl = state_to_name(cur_state); in main()
800 cur_state = SINGLE_USER; in main()
840 prev_state = cur_state; in main()
842 } else if (cur_state == LVLa || cur_state == LVLb || in main()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_qp.c277 uverbs_modify_qp_is_ok(enum ib_qp_state cur_state, in uverbs_modify_qp_is_ok() argument
286 "(%x, %x, %x, %x)", cur_state, next_state, type, mask); in uverbs_modify_qp_is_ok()
288 if (cur_state < 0 || cur_state > IB_QPS_ERR || in uverbs_modify_qp_is_ok()
292 cur_state, next_state); in uverbs_modify_qp_is_ok()
297 cur_state != IB_QPS_RTR && cur_state != IB_QPS_RTS && in uverbs_modify_qp_is_ok()
298 cur_state != IB_QPS_SQD && cur_state != IB_QPS_SQE) { in uverbs_modify_qp_is_ok()
301 cur_state); in uverbs_modify_qp_is_ok()
305 state_tblp = &uverbs_qp_state_table[cur_state][next_state]; in uverbs_modify_qp_is_ok()
308 "bad transition, cur = %d, next = %d", cur_state, in uverbs_modify_qp_is_ok()
320 "req = 0%08X", cur_state, next_state, in uverbs_modify_qp_is_ok()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_kverbs.c1532 ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state, in ib_modify_qp_is_ok() argument
1537 if (cur_state < 0 || cur_state > IB_QPS_ERR || in ib_modify_qp_is_ok()
1542 cur_state, next_state, type, mask); in ib_modify_qp_is_ok()
1547 cur_state != IB_QPS_RTR && cur_state != IB_QPS_RTS && in ib_modify_qp_is_ok()
1548 cur_state != IB_QPS_SQD && cur_state != IB_QPS_SQE) { in ib_modify_qp_is_ok()
1552 cur_state, next_state, type, mask); in ib_modify_qp_is_ok()
1556 if (!qp_state_table[cur_state][next_state].valid) { in ib_modify_qp_is_ok()
1560 cur_state, next_state, type, mask); in ib_modify_qp_is_ok()
1564 req_param = qp_state_table[cur_state][next_state].req_param[type]; in ib_modify_qp_is_ok()
1565 opt_param = qp_state_table[cur_state][next_state].opt_param[type]; in ib_modify_qp_is_ok()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dturbo.c154 uint32_t cur_state, uint32_t req_state) in cpupm_record_turbo_info() argument
168 else if (cur_state == CPU_ACPI_P0) { in cpupm_record_turbo_info()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_qpmod.c86 ibt_cep_state_t cur_state, mod_state; in tavor_qp_modify() local
133 cur_state = TAVOR_QP_RTR; /* Ready to Receive */ in tavor_qp_modify()
141 cur_state = TAVOR_QP_RTR; /* Ready to Receive */ in tavor_qp_modify()
144 cur_state = TAVOR_QP_RTS; /* Ready to Send */ in tavor_qp_modify()
147 cur_state = TAVOR_QP_SQERR; /* Send Queue Error */ in tavor_qp_modify()
150 cur_state = TAVOR_QP_SQD; /* SQ Drained */ in tavor_qp_modify()
157 cur_state = qp->qp_state; in tavor_qp_modify()
160 switch (cur_state) { in tavor_qp_modify()
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dsvcctl.ndl137 * cur_state
192 * and check_point has not been incremented, or cur_state has not changed,
198 DWORD cur_state;
533 DWORD cur_state;
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_qpmod.c89 ibt_cep_state_t cur_state, mod_state; in hermon_qp_modify() local
140 cur_state = HERMON_QP_RTR; /* Ready to Receive */ in hermon_qp_modify()
148 cur_state = HERMON_QP_RTR; /* Ready to Receive */ in hermon_qp_modify()
151 cur_state = HERMON_QP_RTS; /* Ready to Send */ in hermon_qp_modify()
154 cur_state = HERMON_QP_SQERR; /* Send Queue Error */ in hermon_qp_modify()
157 cur_state = HERMON_QP_SQD; /* SQ Drained */ in hermon_qp_modify()
164 cur_state = qp->qp_state; in hermon_qp_modify()
167 switch (cur_state) { in hermon_qp_modify()
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.c2351 uint32_t cur_state; in mfi_state_transition_to_ready() local
2382 cur_state = MFI_STATE_WAIT_HANDSHAKE; in mfi_state_transition_to_ready()
2396 cur_state = MFI_STATE_BOOT_MESSAGE_PENDING; in mfi_state_transition_to_ready()
2412 cur_state = MFI_STATE_OPERATIONAL; in mfi_state_transition_to_ready()
2419 cur_state = MFI_STATE_UNDEFINED; in mfi_state_transition_to_ready()
2423 cur_state = MFI_STATE_BB_INIT; in mfi_state_transition_to_ready()
2427 cur_state = MFI_STATE_FW_INIT; in mfi_state_transition_to_ready()
2431 cur_state = MFI_STATE_DEVICE_SCAN; in mfi_state_transition_to_ready()
2446 if (fw_state == cur_state) { in mfi_state_transition_to_ready()
2454 if (fw_state == cur_state) { in mfi_state_transition_to_ready()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_roce.h240 enum ecore_roce_qp_state cur_state; member
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsvcctl_svc.c397 param->service_status.cur_state = svcctl_scm_map_status(svc->sn_state); in svcctl_s_ControlService()
646 param->service_status.cur_state = svcctl_scm_map_status(svc->sn_state); in svcctl_s_QueryServiceStatus()
1356 svc_status_ex->cur_state = svcctl_scm_map_status(svc->sn_state); in svcctl_s_QueryServiceStatusEx()
H A Dsvcctl_scm.c623 svc[ns].svc_status.cur_state = in svcctl_scm_enum_services()
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.c3784 uint32_t cur_state; in mfi_state_transition_to_ready() local
3824 cur_state = MFI_STATE_WAIT_HANDSHAKE; in mfi_state_transition_to_ready()
3842 cur_state = MFI_STATE_BOOT_MESSAGE_PENDING; in mfi_state_transition_to_ready()
3874 cur_state = MFI_STATE_OPERATIONAL; in mfi_state_transition_to_ready()
3881 cur_state = MFI_STATE_UNDEFINED; in mfi_state_transition_to_ready()
3885 cur_state = MFI_STATE_BB_INIT; in mfi_state_transition_to_ready()
3889 cur_state = MFI_STATE_FW_INIT; in mfi_state_transition_to_ready()
3893 cur_state = MFI_STATE_FW_INIT_2; in mfi_state_transition_to_ready()
3897 cur_state = MFI_STATE_DEVICE_SCAN; in mfi_state_transition_to_ready()
3904 cur_state = MFI_STATE_FLUSH_CACHE; in mfi_state_transition_to_ready()
[all …]
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dlibtest.shlib1621 cur_state=$(get_device_state $pool $disk "spares")
1623 if [[ $state != ${cur_state} ]]; then
1665 cur_state=$(get_device_state $pool $disk "logs")
1667 if [[ $state != ${cur_state} ]]; then
1684 cur_state=$(get_device_state $pool $disk)
1686 if [[ $state != ${cur_state} ]]; then
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/
H A Dpiclfrutree.c3911 uint_t cur_state = 0; in set_disk_leds() local
3920 devctl_device_getstate(dhdl, &cur_state); in set_disk_leds()
3923 if ((cur_state & DEVICE_OFFLINE) != 0) { in set_disk_leds()
3952 } else if ((cur_state & DEVICE_ONLINE) != 0) { in set_disk_leds()
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.c845 restarter_instance_state_t cur_state, in restarter_set_states() argument
900 id.i_state = cur_state; in restarter_set_states()
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_interface.h2273 __u8 cur_state; member