/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | default_state.c | 43 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()
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | statmch.c | 94 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()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_hp_impl.c | 283 ddi_hp_cn_state_t new_state); 414 ddi_hp_cn_state_t new_state; in ddihp_cn_getstate() local 423 NULL, (void *)&new_state, ret); in ddihp_cn_getstate() 433 (void *)hdlp, hdlp->cn_info.cn_state, new_state)); in ddihp_cn_getstate() 435 if (new_state != hdlp->cn_info.cn_state) { in ddihp_cn_getstate() 436 hdlp->cn_info.cn_state = new_state; in ddihp_cn_getstate() 891 ddi_hp_cn_state_t new_state) in ddihp_cn_post_change_state() argument 897 if (new_state != curr_state) { in ddihp_cn_post_change_state() 898 hdlp->cn_info.cn_state = new_state; in ddihp_cn_post_change_state() 902 if (curr_state < new_state && in ddihp_cn_post_change_state() [all …]
|
H A D | cpu_pm.c | 395 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()
|
/illumos-gate/usr/src/cmd/locator/ |
H A D | locator.c | 43 int new_state; /* 0 = logical off, 1 = logical on */ member 61 char *new_state; in change_locator_state() local 79 new_state = (locator_info->new_state) ? locator_info->on : in change_locator_state() 82 if (strcmp(state, new_state) != 0) { in change_locator_state() 91 err = picl_set_propval(state_prop, new_state, prop_info.size); in change_locator_state() 250 locator_info.new_state = 1; in main() 253 locator_info.new_state = 0; in main()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_util.c | 198 …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()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_sess.c | 86 iscsit_session_state_t new_state); 805 iscsit_session_state_t new_state) in sess_sm_new_state() argument 812 ASSERT(new_state != SS_UNDEFINED); in sess_sm_new_state() 813 ASSERT3U(new_state, <, SS_MAX_STATE); in sess_sm_new_state() 815 new_state = (new_state < SS_MAX_STATE) ? in sess_sm_new_state() 816 new_state : SS_UNDEFINED; in sess_sm_new_state() 822 iscsit_ss_name[new_state], new_state); in sess_sm_new_state() 826 iscsit_session_state_t, new_state); in sess_sm_new_state() 830 (int)ist->ist_state, (int)new_state); in sess_sm_new_state() 832 ist->ist_state = new_state; in sess_sm_new_state()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_reads.c | 1950 cookie->new_state = END_RESULT; in proc_result_referrals() 1960 cookie->new_state = LDAP_ERROR; in proc_result_referrals() 1975 cookie->new_state = in proc_result_referrals() 2003 cookie->new_state = LDAP_ERROR; in proc_search_references() 2016 cookie->new_state = in proc_search_references() 2275 cookie->new_state = EXIT; in search_state_machine() 2282 cookie->new_state = INIT; in search_state_machine() 2297 cookie->new_state = NEXT_SEARCH_DESCRIPTOR; in search_state_machine() 2314 cookie->new_state = LDAP_ERROR; in search_state_machine() 2330 cookie->new_state = LDAP_ERROR; in search_state_machine() [all …]
|
H A D | ns_writes.c | 691 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 …]
|
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/ |
H A D | pppt_tgt.c | 104 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()
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | adutils.c | 199 idmap_query_state_t *new_state; in idmap_lookup_batch_start() local 206 new_state = calloc(1, sizeof (idmap_query_state_t) + in idmap_lookup_batch_start() 208 if (new_state == NULL) in idmap_lookup_batch_start() 212 idmap_ldap_res_search_cb, new_state, &new_state->qs)) in idmap_lookup_batch_start() 214 idmap_lookup_release_batch(&new_state); in idmap_lookup_batch_start() 218 new_state->default_domain = strdup(default_domain); in idmap_lookup_batch_start() 219 if (new_state->default_domain == NULL) { in idmap_lookup_batch_start() 220 idmap_lookup_release_batch(&new_state); in idmap_lookup_batch_start() 224 new_state->directory_based_mapping = directory_based_mapping; in idmap_lookup_batch_start() 225 new_state->qsize = nqueries; in idmap_lookup_batch_start() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/ |
H A D | daplt.c | 1143 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 …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | random.c | 302 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()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | random.c | 301 unsigned int *new_state; in setstate() local 308 new_state = (unsigned int *)(uintptr_t)arg_state; in setstate() 309 type = new_state[0]%MAX_TYPES; in setstate() 310 rear = new_state[0]/MAX_TYPES; in setstate() 331 rp->state = &new_state[ 1 ]; in setstate()
|
/illumos-gate/usr/src/lib/iconv_modules/zh/common/ |
H A D | UTF-8%zh_CN.iso2022-CN.c | 104 short new_state; in _icv_iconv() local 286 new_state = ((gbk >> 16 ) & 0xff) - 0x20; in _icv_iconv() 287 if (new_state == G2 || new_state == G1) { in _icv_iconv() 288 if (st->_gstate != new_state) { in _icv_iconv() 299 *(*outbuf + 3) = 'G' + new_state - 1; in _icv_iconv() 301 st->_gstate = new_state; in _icv_iconv() 331 } else if (new_state > G2) { in _icv_iconv()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_io.c | 99 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()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | loc.c | 550 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()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | state.c | 45 krb5_keyusage keyusage, krb5_data *new_state) in krb5_c_init_state() argument 59 (context, key, keyusage, new_state); in krb5_c_init_state()
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_io.c | 53 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 D | dr_mem_acpi.c | 591 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()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_io.c | 75 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()
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_clnt.c | 100 static void new_state(struct ctl_cctx *, enum state); 207 new_state(ctx, connecting); in ctl_client() 379 new_state(ctx, destroyed); in destroy() 389 new_state(struct ctl_cctx *ctx, enum state new_state) { in new_state() argument 393 state_names[ctx->state], state_names[new_state]); in new_state() 394 ctx->state = new_state; in new_state() 419 new_state(ctx, connected); in conn_done()
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_ncache.c | 608 int new_state; in sdev_devstate_change() local 613 new_state = SDEV_BOOT_STATE_INITIAL; in sdev_devstate_change() 615 new_state = SDEV_BOOT_STATE_RECONFIG; in sdev_devstate_change() 617 new_state = SDEV_BOOT_STATE_SYSAVAIL; in sdev_devstate_change() 619 if (sdev_boot_state < new_state) { in sdev_devstate_change() 620 switch (new_state) { in sdev_devstate_change() 623 sdev_boot_state = new_state; in sdev_devstate_change() 643 sdev_boot_state = new_state; in sdev_devstate_change()
|
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_conn_sm.c | 100 idm_update_state(idm_conn_t *ic, idm_conn_state_t new_state, 1132 idm_update_state(idm_conn_t *ic, idm_conn_state_t new_state, in idm_update_state() argument 1141 ASSERT(new_state != CS_S0_UNDEFINED); in idm_update_state() 1142 ASSERT3U(new_state, <, CS_MAX_STATE); in idm_update_state() 1149 new_state = (new_state < CS_MAX_STATE) ? in idm_update_state() 1150 new_state : CS_S0_UNDEFINED; in idm_update_state() 1156 idm_cs_name[new_state], new_state); in idm_update_state() 1159 idm_conn_t *, ic, idm_conn_state_t, new_state); in idm_update_state() 1163 (int)ic->ic_state, (int)new_state); in idm_update_state() 1165 ic->ic_state = new_state; in idm_update_state()
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 960 adutils_query_state_t *new_state; in adutils_lookup_batch_start() local 971 new_state = calloc(1, sizeof (adutils_query_state_t) + in adutils_lookup_batch_start() 973 if (new_state == NULL) in adutils_lookup_batch_start() 976 new_state->ref_cnt = 1; in adutils_lookup_batch_start() 977 new_state->qadh = adh; in adutils_lookup_batch_start() 978 new_state->qsize = nqueries; in adutils_lookup_batch_start() 979 new_state->qadh_gen = adh->generation; in adutils_lookup_batch_start() 980 new_state->qcount = 0; in adutils_lookup_batch_start() 981 new_state->ldap_res_search_cb = ldap_res_search_cb; in adutils_lookup_batch_start() 982 new_state->ldap_res_search_argp = ldap_res_search_argp; in adutils_lookup_batch_start() [all …]
|