Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 25 of 102) sorted by relevance

12345

/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Ddefault_state.c43 krb5_keyusage usage, krb5_data *new_state ) in krb5int_des_init_state() argument
45 new_state->length = 8; in krb5int_des_init_state()
46 new_state->data = (void *) MALLOC(8); in krb5int_des_init_state()
47 if (new_state->data) { in krb5int_des_init_state()
49 (void) memset (new_state->data, 0, new_state->length); in krb5int_des_init_state()
53 (void) memcpy (new_state->data, key->contents, new_state->length); in krb5int_des_init_state()
/titanic_44/usr/src/lib/librstp/common/
H A Dstatmch.c94 STP_hop_2_state (STATE_MACH_T* this, unsigned int new_state) in STP_hop_2_state() argument
100 if (new_state == this->State || new_state == this->ignoreHop2State) break; in STP_hop_2_state()
106 (*(this->concreteGetStatName)) (new_state)); in STP_hop_2_state()
109 if (new_state == this->State) break; in STP_hop_2_state()
114 (*(this->concreteGetStatName)) (new_state)); in STP_hop_2_state()
119 this->State = new_state; in STP_hop_2_state()
/titanic_44/usr/src/cmd/locator/
H A Dlocator.c45 int new_state; /* 0 = logical off, 1 = logical on */ member
63 char *new_state; in change_locator_state() local
81 new_state = (locator_info->new_state) ? locator_info->on : in change_locator_state()
84 if (strcmp(state, new_state) != 0) { in change_locator_state()
93 err = picl_set_propval(state_prop, new_state, prop_info.size); in change_locator_state()
252 locator_info.new_state = 1; in main()
255 locator_info.new_state = 0; in main()
/titanic_44/usr/src/uts/common/os/
H A Dddi_hp_impl.c55 ddi_hp_cn_state_t new_state);
171 ddi_hp_cn_state_t new_state; in ddihp_cn_getstate() local
180 NULL, (void *)&new_state, ret); in ddihp_cn_getstate()
190 (void *)hdlp, hdlp->cn_info.cn_state, new_state)); in ddihp_cn_getstate()
192 if (new_state != hdlp->cn_info.cn_state) { in ddihp_cn_getstate()
193 hdlp->cn_info.cn_state = new_state; in ddihp_cn_getstate()
648 ddi_hp_cn_state_t new_state) in ddihp_cn_post_change_state() argument
654 if (new_state != curr_state) { in ddihp_cn_post_change_state()
655 hdlp->cn_info.cn_state = new_state; in ddihp_cn_post_change_state()
659 if (curr_state < new_state && in ddihp_cn_post_change_state()
[all …]
H A Dcpu_pm.c395 cpupm_state_t *new_state = NULL; in cpupm_utilization_event() local
427 new_state = in cpupm_utilization_event()
506 new_state = dom->cpd_named_states[CPUPM_STATE_MAX_PERF]; in cpupm_utilization_event()
613 new_state = in cpupm_utilization_event()
661 if (new_state) in cpupm_utilization_event()
662 (void) cpupm_change_state(cp, dom, new_state); in cpupm_utilization_event()
677 cpupm_state_t *new_state = NULL; in cpupm_redefine_max_activepwr_state() local
719 new_state = in cpupm_redefine_max_activepwr_state()
721 if (new_state) { in cpupm_redefine_max_activepwr_state()
722 (void) cpupm_change_state(cp, dom, new_state); in cpupm_redefine_max_activepwr_state()
H A Dflock.c70 #define CHECK_LOCK_TRANSITION(old_state, new_state) \ argument
72 if (check_lock_transition(old_state, new_state)) { \
74 from %d to %d", old_state, new_state); \
82 #define CHECK_LOCK_TRANSITION(old_state, new_state) argument
735 flk_set_state(lock_descriptor_t *lock, int new_state) in flk_set_state() argument
751 if ((new_state == FLK_CANCELLED_STATE) || in flk_set_state()
752 (new_state == FLK_GRANTED_STATE) || in flk_set_state()
753 (new_state == FLK_INTERRUPTED_STATE)) { in flk_set_state()
758 if ((new_state == FLK_GRANTED_STATE) || in flk_set_state()
759 (new_state == FLK_CANCELLED_STATE)) { in flk_set_state()
[all …]
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_util.c198 …tus_t lm_wait_state_change(struct _lm_device_t *pdev, volatile u32_t * curr_state, u32_t new_state) in lm_wait_state_change() argument
209 *curr_state = new_state; in lm_wait_state_change()
216 while ((*curr_state != new_state) && to_cnt--) in lm_wait_state_change()
236 if ( *curr_state != new_state) in lm_wait_state_change()
240 *curr_state, new_state); in lm_wait_state_change()
/titanic_44/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_sess.c85 iscsit_session_state_t new_state);
800 iscsit_session_state_t new_state) in sess_sm_new_state() argument
807 ASSERT(new_state != SS_UNDEFINED); in sess_sm_new_state()
808 ASSERT3U(new_state, <, SS_MAX_STATE); in sess_sm_new_state()
810 new_state = (new_state < SS_MAX_STATE) ? in sess_sm_new_state()
811 new_state : SS_UNDEFINED; in sess_sm_new_state()
817 iscsit_ss_name[new_state], new_state); in sess_sm_new_state()
821 iscsit_session_state_t, new_state); in sess_sm_new_state()
825 (int)ist->ist_state, (int)new_state); in sess_sm_new_state()
827 ist->ist_state = new_state; in sess_sm_new_state()
/titanic_44/usr/src/lib/libsldap/common/
H A Dns_reads.c1949 cookie->new_state = END_RESULT; in proc_result_referrals()
1959 cookie->new_state = LDAP_ERROR; in proc_result_referrals()
1974 cookie->new_state = in proc_result_referrals()
2002 cookie->new_state = LDAP_ERROR; in proc_search_references()
2015 cookie->new_state = in proc_search_references()
2274 cookie->new_state = EXIT; in search_state_machine()
2281 cookie->new_state = INIT; in search_state_machine()
2296 cookie->new_state = NEXT_SEARCH_DESCRIPTOR; in search_state_machine()
2313 cookie->new_state = LDAP_ERROR; in search_state_machine()
2329 cookie->new_state = LDAP_ERROR; in search_state_machine()
[all …]
H A Dns_writes.c691 ns_write_state_t state = W_INIT, new_state, err_state = W_INIT; in write_state_machine() local
731 new_state = W_ERROR; in write_state_machine()
743 new_state = W_ERROR; in write_state_machine()
746 new_state = GET_CONNECTION; in write_state_machine()
773 new_state = W_ERROR; in write_state_machine()
777 new_state = SELECT_OPERATION_ASYNC; in write_state_machine()
779 new_state = SELECT_OPERATION_SYNC; in write_state_machine()
783 new_state = DO_ADD_SYNC; in write_state_machine()
785 new_state = DO_DELETE_SYNC; in write_state_machine()
787 new_state = DO_MODIFY_SYNC; in write_state_machine()
[all …]
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Drandom.c311 long *new_state; in setstate() local
318 new_state = (long *)arg_state; in setstate()
319 type = new_state[0] % MAX_TYPES; in setstate()
320 rear = new_state[0] / MAX_TYPES; in setstate()
339 rp->state = &new_state[1]; in setstate()
/titanic_44/usr/src/uts/common/io/comstar/port/pppt/
H A Dpppt_tgt.c104 pppt_tgt_state_t new_state);
823 pppt_tgt_state_t new_state) in tgt_sm_new_state() argument
836 ASSERT(new_state != TS_UNDEFINED); in tgt_sm_new_state()
837 ASSERT3U(new_state, <, TS_MAX_STATE); in tgt_sm_new_state()
839 new_state = (new_state < TS_MAX_STATE) ? in tgt_sm_new_state()
840 new_state : TS_UNDEFINED; in tgt_sm_new_state()
845 pppt_ts_name[new_state], new_state); in tgt_sm_new_state()
848 pppt_tgt_state_t, new_state); in tgt_sm_new_state()
852 tgt->target_state = new_state; in tgt_sm_new_state()
/titanic_44/usr/src/cmd/idmap/idmapd/
H A Dadutils.c197 idmap_query_state_t *new_state; in idmap_lookup_batch_start() local
204 new_state = calloc(1, sizeof (idmap_query_state_t) + in idmap_lookup_batch_start()
206 if (new_state == NULL) in idmap_lookup_batch_start()
210 idmap_ldap_res_search_cb, new_state, &new_state->qs)) in idmap_lookup_batch_start()
212 idmap_lookup_release_batch(&new_state); in idmap_lookup_batch_start()
216 new_state->default_domain = strdup(default_domain); in idmap_lookup_batch_start()
217 if (new_state->default_domain == NULL) { in idmap_lookup_batch_start()
218 idmap_lookup_release_batch(&new_state); in idmap_lookup_batch_start()
222 new_state->directory_based_mapping = directory_based_mapping; in idmap_lookup_batch_start()
223 new_state->qsize = nqueries; in idmap_lookup_batch_start()
[all …]
/titanic_44/usr/src/lib/libast/common/uwin/
H A Drandom.c302 register long int *new_state = (long int *) arg_state; in setstate() local
303 register int type = new_state[0] % MAX_TYPES; in setstate()
304 register int rear = new_state[0] / MAX_TYPES; in setstate()
329 state = &new_state[1]; in setstate()
/titanic_44/usr/src/lib/libc/port/gen/
H A Drandom.c303 unsigned int *new_state; in setstate() local
310 new_state = (unsigned int *)(uintptr_t)arg_state; in setstate()
311 type = new_state[0]%MAX_TYPES; in setstate()
312 rear = new_state[0]/MAX_TYPES; in setstate()
333 rp->state = &new_state[ 1 ]; in setstate()
/titanic_44/usr/src/uts/sun4u/io/
H A Dtodblade.c57 static uint_t configure_wdog(uint8_t new_state);
440 configure_wdog(uint8_t new_state) in configure_wdog() argument
445 if (new_state == WDOG_ON || new_state == WDOG_OFF) { in configure_wdog()
447 wdog_cmd.enable_wdog = new_state; in configure_wdog()
455 watchdog_activated = new_state; in configure_wdog()
H A Dsbd_io.c99 sbd_istate_t new_state; in sbd_init_io_unit() local
106 new_state = SBD_STATE_CONFIGURED; in sbd_init_io_unit()
108 new_state = SBD_STATE_CONNECTED; in sbd_init_io_unit()
110 new_state = SBD_STATE_EMPTY; in sbd_init_io_unit()
120 SBD_DEVICE_TRANSITION(sbp, SBD_COMP_IO, unit, new_state); in sbd_init_io_unit()
/titanic_44/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c1143 uint32_t old_state, new_state; in daplka_ep_create() local
1174 new_state = old_state = DAPLKA_EP_STATE_CLOSED; in daplka_ep_create()
1370 daplka_ep_set_state(ep_rp, old_state, new_state); in daplka_ep_create()
1390 new_state = DAPLKA_EP_STATE_FREED; in daplka_ep_create()
1391 daplka_ep_set_state(ep_rp, old_state, new_state); in daplka_ep_create()
1474 daplka_ep_transition_is_valid(uint32_t old_state, uint32_t new_state) in daplka_ep_transition_is_valid() argument
1485 if (old_state == new_state || in daplka_ep_transition_is_valid()
1486 new_state == DAPLKA_EP_STATE_FREED) { in daplka_ep_transition_is_valid()
1498 if (new_state == DAPLKA_EP_STATE_CONNECTING || in daplka_ep_transition_is_valid()
1499 new_state == DAPLKA_EP_STATE_ACCEPTING) { in daplka_ep_transition_is_valid()
[all …]
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dstate.c45 krb5_keyusage keyusage, krb5_data *new_state) in krb5_c_init_state() argument
59 (context, key, keyusage, new_state); in krb5_c_init_state()
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dloc.c550 nwam_state_t new_state; in nwamd_loc_handle_state_event() local
560 new_state = event->event_msg->nwe_data.nwe_object_state.nwe_state; in nwamd_loc_handle_state_event()
564 if (new_state == object->nwamd_object_state && in nwamd_loc_handle_state_event()
569 nwam_state_to_string(new_state), in nwamd_loc_handle_state_event()
575 object->nwamd_object_state = new_state; in nwamd_loc_handle_state_event()
588 switch (new_state) { in nwamd_loc_handle_state_event()
/titanic_44/usr/src/uts/i86pc/io/dr/
H A Ddr_io.c53 dr_state_t new_state; in dr_init_io_unit() local
56 new_state = DR_STATE_CONFIGURED; in dr_init_io_unit()
59 new_state = DR_STATE_CONNECTED; in dr_init_io_unit()
62 new_state = DR_STATE_EMPTY; in dr_init_io_unit()
64 dr_device_transition(&ip->sbi_cm, new_state); in dr_init_io_unit()
H A Ddr_mem_acpi.c591 dr_state_t new_state; in dr_init_mem_unit() local
594 new_state = DR_STATE_CONFIGURED; in dr_init_mem_unit()
597 new_state = DR_STATE_CONNECTED; in dr_init_mem_unit()
600 new_state = DR_STATE_OCCUPIED; in dr_init_mem_unit()
602 new_state = DR_STATE_EMPTY; in dr_init_mem_unit()
609 dr_device_transition(&mp->sbm_cm, new_state); in dr_init_mem_unit()
/titanic_44/usr/src/uts/sun4u/ngdr/io/
H A Ddr_io.c75 dr_state_t new_state; in dr_init_io_unit() local
78 new_state = DR_STATE_CONFIGURED; in dr_init_io_unit()
81 new_state = DR_STATE_CONNECTED; in dr_init_io_unit()
84 new_state = DR_STATE_EMPTY; in dr_init_io_unit()
86 dr_device_transition(&ip->sbi_cm, new_state); in dr_init_io_unit()
/titanic_44/usr/src/lib/libresolv2/common/isc/
H A Dctl_clnt.c106 static void new_state(struct ctl_cctx *, enum state);
213 new_state(ctx, connecting); in ctl_client()
385 new_state(ctx, destroyed); in destroy()
395 new_state(struct ctl_cctx *ctx, enum state new_state) { in new_state() function
399 state_names[ctx->state], state_names[new_state]); in new_state()
400 ctx->state = new_state; in new_state()
425 new_state(ctx, connected); in conn_done()
/titanic_44/usr/src/uts/common/io/idm/
H A Didm_conn_sm.c98 idm_update_state(idm_conn_t *ic, idm_conn_state_t new_state,
1120 idm_update_state(idm_conn_t *ic, idm_conn_state_t new_state, in idm_update_state() argument
1129 ASSERT(new_state != CS_S0_UNDEFINED); in idm_update_state()
1130 ASSERT3U(new_state, <, CS_MAX_STATE); in idm_update_state()
1137 new_state = (new_state < CS_MAX_STATE) ? in idm_update_state()
1138 new_state : CS_S0_UNDEFINED; in idm_update_state()
1144 idm_cs_name[new_state], new_state); in idm_update_state()
1147 idm_conn_t *, ic, idm_conn_state_t, new_state); in idm_update_state()
1151 (int)ic->ic_state, (int)new_state); in idm_update_state()
1153 ic->ic_state = new_state; in idm_update_state()

12345