/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_ncache.c | 608 int new_state; local 613 new_state = SDEV_BOOT_STATE_INITIAL; 615 new_state = SDEV_BOOT_STATE_RECONFIG; 617 new_state = SDEV_BOOT_STATE_SYSAVAIL; 619 if (sdev_boot_state < new_state) { 620 switch (new_state) { 623 sdev_boot_state = new_state; 643 sdev_boot_state = new_state;
|
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_conn_sm.c | 99 idm_update_state(idm_conn_t *ic, idm_conn_state_t new_state, 1126 idm_update_state(idm_conn_t *ic, idm_conn_state_t new_state, argument 1135 ASSERT(new_state != CS_S0_UNDEFINED); 1136 ASSERT3U(new_state, <, CS_MAX_STATE); 1143 new_state = (new_state < CS_MAX_STATE) ? 1144 new_state : CS_S0_UNDEFINED; 1150 idm_cs_name[new_state], new_state); 1153 idm_conn_t *, ic, idm_conn_state_t, new_state); [all...] |
H A D | idm.c | 2091 sm_audit_sm_type_t sm_type, int current_state, int new_state) 2097 sar->sar_new_state = new_state; 2090 idm_sm_audit_state_change(sm_audit_buf_t *audit_buf, sm_audit_sm_type_t sm_type, int current_state, int new_state) argument
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_clnt.c | 106 static void new_state(struct ctl_cctx *, enum state); 213 new_state(ctx, connecting); 385 new_state(ctx, destroyed); 395 new_state(struct ctl_cctx *ctx, enum state new_state) { argument 396 static const char me[] = "isc/ctl_clnt::new_state"; 399 state_names[ctx->state], state_names[new_state]); 400 ctx->state = new_state; 425 new_state(ctx, connected);
|
H A D | ctl_srvr.c | 469 ctl_new_state(struct ctl_sess *sess, enum state new_state, const char *reason) argument 478 state_names[new_state], reason); 479 sess->state = new_state;
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_drive.c | 103 mhd_state_t new_state, 115 dp->dr_rname, dp->dr_state, new_state)); 116 dp->dr_state = new_state; 120 if ((old_state & DRIVE_PROBING) && (! (new_state & DRIVE_PROBING))) { 150 mhd_state_t new_state, 154 return (mhd_state(dp, (dp->dr_state | new_state), mhep)); 160 mhd_state_t new_state, 164 return (mhd_state(dp, (dp->dr_state & ~new_state), mhep)); 101 mhd_state( mhd_drive_t *dp, mhd_state_t new_state, mhd_error_t *mhep ) argument 148 mhd_state_set( mhd_drive_t *dp, mhd_state_t new_state, mhd_error_t *mhep ) argument 158 mhd_state_clr( mhd_drive_t *dp, mhd_state_t new_state, mhd_error_t *mhep ) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu.c | 1943 nwam_state_t old_state, new_state; local 1960 new_state = event->event_msg->nwe_data.nwe_object_state.nwe_state; 1992 if (new_state == object->nwamd_object_state && 1996 object->nwamd_object_name, nwam_state_to_string(new_state), 2003 (new_state == NWAM_STATE_ONLINE || 2004 (new_state == NWAM_STATE_OFFLINE_TO_ONLINE && 2009 nwam_state_to_string(new_state), 2016 object->nwamd_object_state = new_state; 2037 switch (new_state) { 2079 if ((new_state [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | adutils.c | 197 idmap_query_state_t *new_state; local 204 new_state = calloc(1, sizeof (idmap_query_state_t) + 206 if (new_state == NULL) 210 idmap_ldap_res_search_cb, new_state, &new_state->qs)) 212 idmap_lookup_release_batch(&new_state); 216 new_state->default_domain = strdup(default_domain); 217 if (new_state->default_domain == NULL) { 218 idmap_lookup_release_batch(&new_state); 222 new_state [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | blk_common.c | 355 XenbusState new_state; local 360 new_state = *(XenbusState *)impl_data; 364 if (blk_check_state_transition(ring, new_state) == DDI_FAILURE) { 369 switch (new_state) {
|
H A D | xdb.c | 1585 XenbusState new_state = *(XenbusState *)impl_data; local 1589 "otherend state change to %d!", ddi_get_name_addr(dip), new_state)); 1600 switch (new_state) { 1632 (void) xvdi_switch_state(dip, XBT_NULL, new_state);
|
H A D | xnb.c | 1923 XenbusState new_state = *(XenbusState *)impl_data; local 1927 switch (new_state) {
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_kverbs.c | 1641 enum ib_qp_state cur_state, new_state; local 1685 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : 1689 if (cur_state == new_state && cur_state == IB_QPS_RESET) { 1704 if (!ib_modify_qp_is_ok(cur_state, new_state, qp->qp_type, attr_mask)) { 1772 modify_attr.qp_state = OF2IBTF_STATE(new_state); 1778 new_state == IB_QPS_INIT) { 1781 new_state == IB_QPS_RTR) { 1784 new_state == IB_QPS_RTS) {
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_qp.c | 942 * new_state - The new QP state 956 enum ib_qp_state cur_state, enum ib_qp_state new_state, 995 switch (new_state) { 1345 enum ib_qp_state cur_state, new_state; local 1391 new_state = cmd.attr_mask & IB_QP_STATE ? cmd.qp_state : cur_state; 1394 "%x, cur_state %x, new_state %x, qp_type %x, attr_mask %x", uqp->qp, 1395 cmd.qp_handle, cur_state, new_state, uqp->ofa_qp_type, 1398 if (!uverbs_modify_qp_is_ok(cur_state, new_state, uqp->ofa_qp_type, 1435 uverbs_modify_update(&cmd, cur_state, new_state, &qp_query_attr, 955 uverbs_modify_update(struct ib_uverbs_modify_qp *cmd, enum ib_qp_state cur_state, enum ib_qp_state new_state, ibt_qp_query_attr_t *qp_query_attr, ibt_cep_modify_flags_t *flags) argument
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | openprom.c | 1395 oprom_setstate(struct oprom_state *st, int16_t new_state) argument 1400 switch (new_state) { 1417 st->ioc_state = new_state; 1420 st->ioc_state, new_state);
|
/illumos-gate/usr/src/uts/common/io/lvm/hotspares/ |
H A D | hotspares.c | 1535 hotspare_states_t new_state) 1559 set_hot_spare_state(hs, new_state); 1561 if (new_state == HSS_BROKEN) { 1565 if (new_state == HSS_AVAILABLE) { 1528 return_a_hs( set_t setno, mddb_recid_t id, mddb_recid_t *hs_id, mdkey_t key, diskaddr_t sblock, uint64_t size, hotspare_states_t new_state) argument
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_cheetahplus.c | 1223 int new_state = SCRUBBER_NEITHER_CORE_ONLINE; local 1266 new_state |= SCRUBBER_CORE_1_ONLINE; 1269 new_state |= SCRUBBER_CORE_0_ONLINE; 1274 new_state |= SCRUBBER_CORE_0_ONLINE; 1277 new_state |= SCRUBBER_CORE_1_ONLINE; 1283 if (old_state == new_state) { 1301 switch (new_state) { 1324 core_scrub[0]->chsm_core_state = new_state; 1325 core_scrub[1]->chsm_core_state = new_state;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky.c | 240 leak_state_t *state = NULL, *new_state; local 352 if ((new_state = lk_free_state) != NULL) 353 lk_free_state = new_state->lks_next; 355 new_state = leaky_zalloc( 358 new_state->lks_next = state; 359 state = new_state; 375 new_state = state->lks_next; 380 state = new_state;
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | scn.c | 1517 int new_state = state; local 1527 new_state = tbl->next_state; 1537 if (new_state == -1) { 1541 new_state = 0; 1544 state = new_state;
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | restarter.c | 835 restarter_instance_state_t new_state, 851 e = _restarter_commit_states(h, &ri->ri_i, new_state, new_state_next, 882 ri->ri_i.i_state = new_state; 892 states->ps_state = new_state; 1035 restarter_instance_state_t new_state; local 1209 new_state = RESTARTER_STATE_MAINT; 1211 new_state = inst->ri_i.i_enabled ? 1215 inst->ri_i.i_state, new_state, RERR_NONE, reason)) { 834 restarter_instance_update_states(scf_handle_t *h, restarter_inst_t *ri, restarter_instance_state_t new_state, restarter_instance_state_t new_state_next, restarter_error_t err, restarter_str_t reason) argument
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/ |
H A D | discovery.c | 262 uint16_t old_state, new_state, new_bits; local 280 new_state = iport->iport_link_state; 283 new_state = PORT_STATE_LINK_DOWN_CLEANING; 286 new_state = PORT_STATE_LINK_UP_CLEANING; 288 new_state = PORT_STATE_LINK_INIT_START; 307 new_state = PORT_STATE_LINK_DOWN; 310 new_state = PORT_STATE_LINK_INIT_START; 314 new_state = PORT_STATE_LINK_DOWN; 320 new_state = PORT_STATE_LINK_UP_CLEANING; 324 new_state [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/ |
H A D | pppt.c | 138 pppt_task_state_t new_state); 1445 pppt_task_state_t new_state) 1448 ptask->pt_state, new_state); 1451 ptask->pt_state = new_state; 1444 pppt_task_update_state(pppt_task_t *ptask, pppt_task_state_t new_state) argument
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/ |
H A D | uftdi_dsd.c | 468 uftdi_usb_power(ds_hdl_t hdl, int comp, int level, int *new_state) argument 521 (*new_state == USB_DEV_DISCONNECTED || 522 *new_state == USB_DEV_SUSPENDED)) 523 uf->uf_dev_state = *new_state; 529 *new_state = uf->uf_dev_state;
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/ |
H A D | keyspan_dsd.c | 780 keyspan_usb_power(ds_hdl_t hdl, int comp, int level, int *new_state) argument 835 ((*new_state == USB_DEV_DISCONNECTED) || 836 (*new_state == USB_DEV_SUSPENDED))) { 837 ksp->ks_dev_state = *new_state; 845 *new_state = ksp->ks_dev_state;
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/ |
H A D | pl2303_dsd.c | 467 pl2303_usb_power(ds_hdl_t hdl, int comp, int level, int *new_state) argument 526 ((*new_state == USB_DEV_DISCONNECTED) || 527 (*new_state == USB_DEV_SUSPENDED))) { 528 plp->pl_dev_state = *new_state; 536 *new_state = plp->pl_dev_state;
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 958 adutils_query_state_t *new_state; local 969 new_state = calloc(1, sizeof (adutils_query_state_t) + 971 if (new_state == NULL) 974 new_state->ref_cnt = 1; 975 new_state->qadh = adh; 976 new_state->qsize = nqueries; 977 new_state->qadh_gen = adh->generation; 978 new_state->qcount = 0; 979 new_state->ldap_res_search_cb = ldap_res_search_cb; 980 new_state [all...] |