/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sortctrl.c | 254 int state = 0; local 256 while ( ((c = *pos++) != '\0') && (state != 4) ) { 257 switch (state) { 268 state = 1; 278 state = 2; 280 state = 4; 288 state = 3; 290 state = 4; 297 state = 4; 305 if (3 == state) { [all...] |
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetMultipathLusPlugin.c | 43 di_path_state_t state; local 54 if (((state = di_path_state(path)) == DI_PATH_STATE_ONLINE) || 55 (state == DI_PATH_STATE_STANDBY)) { 67 int numNodes = 0, state; local 95 state = di_state(sv_child_node); 96 if ((state & DI_DEVICE_DOWN) || 97 (state & DI_DEVICE_OFFLINE)) { 106 * of state.
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | tcp.d.in | 73 * Convert a TCP state value to a string. 75 inline string tcp_state_string[int32_t state] = 76 state == TCP_STATE_CLOSED ? "state-closed" : 77 state == TCP_STATE_IDLE ? "state-idle" : 78 state == TCP_STATE_BOUND ? "state-bound" : 79 state == TCP_STATE_LISTEN ? "state [all...] |
/illumos-gate/usr/src/uts/common/io/vuidmice/ |
H A D | vuidm4p.c | 114 STATEP->state = MOUSE_START; 117 switch (STATEP->state) { 119 * Start state. We stay here if the start code is not 122 * forcing us to the next state. 133 /* Get the new state for the LEFT & RIGHT Button */ 148 STATEP->state = MOUSE_BUTTON; 149 /* go to the next state */ 155 * forcing us to the next state. We just piece the 159 STATEP->state = MOUSE_DELTA_X; 168 STATEP->state [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_rsrc.h | 115 state->hs_instance) 292 * through the driver's soft state structure. 307 * soft state structure of the Hermon driver instance with which it is 372 int hermon_rsrc_alloc(hermon_state_t *state, hermon_rsrc_type_t rsrc, 374 void hermon_rsrc_free(hermon_state_t *state, hermon_rsrc_t **hdl); 375 int hermon_rsrc_init_phase1(hermon_state_t *state); 376 int hermon_rsrc_init_phase2(hermon_state_t *state); 377 void hermon_rsrc_fini(hermon_state_t *state, 381 int hermon_rsrc_reserve(hermon_state_t *state, hermon_rsrc_type_t rsrc,
|
/illumos-gate/usr/src/cmd/tr/ |
H A D | str.c | 65 switch (s->state) { 73 s->state = EOS; 99 s->state = NORMAL; 106 s->state = NORMAL; 116 s->state = NORMAL; 123 s->state = NORMAL; 182 s->state = CCLASS_UPPER; 184 s->state = CCLASS_LOWER; 186 s->state = CCLASS; 238 s->state [all...] |
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | md5.c | 127 context->state[0] = 0x67452301; 128 context->state[1] = 0xefcdab89; 129 context->state[2] = 0x98badcfe; 130 context->state[3] = 0x10325476; 161 (context->state, context->buffer); 164 MD5Transform (context->state, &input[i]); 200 /* Store state in digest */ 201 Encode (digest, context->state, 16); 207 /* MD5 basic transformation. Transforms state based on block. */ 209 static void MD5Transform (state, bloc 436 _sasl_hmac_md5_precalc(HMAC_MD5_STATE *state, const unsigned char *key, int key_len) argument 452 _sasl_hmac_md5_import(HMAC_MD5_CTX *hmac, HMAC_MD5_STATE *state) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | sys.c | 96 if (state.elf.elfclass == ELFCLASS32) { 295 for (modlist = state.modlist; modlist; 574 if (state.file.present) { 579 if (!(state.flags & ELFEDIT_F_READONLY) && state.file.dirty && 617 if (state.file.present == 0) { 619 } else if (state.flags & ELFEDIT_F_READONLY) { 621 state.file.infile); 623 elfedit_printf(MSG_INTL(MSG_HLPFMT_INFILE), state.file.infile); 625 state [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 691 show_prop_state_t state; local 694 bzero(&state, sizeof (state)); 695 state.sps_propval = NULL; 696 state.sps_parsable = _B_FALSE; 697 state.sps_ifprop = _B_TRUE; 698 state.sps_status = state.sps_retstatus = IPADM_SUCCESS; 708 state.sps_parsable = _B_TRUE; 737 state 866 show_prop_state_t state; local 1788 show_addr_state_t state; local 1945 show_if_state_t state; local 2082 show_prop_state_t state; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_umap.c | 48 /* Tavor HCA state pointer (extern) */ 54 static int tavor_umap_uarpg(tavor_state_t *state, devmap_cookie_t dhp, 56 static int tavor_umap_cqmem(tavor_state_t *state, devmap_cookie_t dhp, 58 static int tavor_umap_qpmem(tavor_state_t *state, devmap_cookie_t dhp, 60 static int tavor_umap_srqmem(tavor_state_t *state, devmap_cookie_t dhp, 119 tavor_state_t *state; local 130 state = ddi_get_soft_state(tavor_statep, instance); 131 if (state == NULL) { 141 if (state->ts_operational_mode == TAVOR_MAINTENANCE_MODE) { 176 status = tavor_umap_uarpg(state, dh 245 tavor_umap_uarpg(tavor_state_t *state, devmap_cookie_t dhp, tavor_rsrc_t *rsrcp, size_t *maplen, int *err) argument 278 tavor_umap_cqmem(tavor_state_t *state, devmap_cookie_t dhp, tavor_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err) argument 318 tavor_umap_qpmem(tavor_state_t *state, devmap_cookie_t dhp, tavor_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err) argument 366 tavor_umap_srqmem(tavor_state_t *state, devmap_cookie_t dhp, tavor_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err) argument 417 tavor_state_t *state; local 559 tavor_state_t *state; local 625 tavor_state_t *state; local 819 tavor_state_t *state; local 869 tavor_state_t *state; local 962 tavor_umap_ci_data_in(tavor_state_t *state, ibt_ci_data_flags_t flags, ibt_object_type_t object, void *hdl, void *data_p, size_t data_sz) argument 1089 tavor_umap_ci_data_out(tavor_state_t *state, ibt_ci_data_flags_t flags, ibt_object_type_t object, void *hdl, void *data_p, size_t data_sz) argument 1680 tavor_state_t *state; local [all...] |
H A D | tavor_cfg.c | 248 static void tavor_check_iommu_bypass(tavor_state_t *state, 259 static void tavor_cfg_prop_lookup(tavor_state_t *state, 267 tavor_cfg_profile_init_phase1(tavor_state_t *state) argument 316 } else if (state->ts_cfg_profile_setting >= TAVOR_DDR_SIZE_256) { 328 } else if (state->ts_cfg_profile_setting == TAVOR_DDR_SIZE_128) { 340 } else if (state->ts_cfg_profile_setting == TAVOR_DDR_SIZE_MIN) { 384 state->ts_cfg_profile = cp; 395 tavor_cfg_profile_init_phase2(tavor_state_t *state) argument 402 cp = state->ts_cfg_profile; 411 ASSERT(state 622 tavor_cfg_profile_fini(tavor_state_t *state) argument 692 tavor_cfg_prop_lookup(tavor_state_t *state, tavor_cfg_profile_t *cp) argument 781 tavor_check_iommu_bypass(tavor_state_t *state, tavor_cfg_profile_t *cp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_fcf.c | 36 * an emlxs_XXXX state management function must be made 40 * an emlxs_XXXX state management function must be made 45 * this fcf module to enter the state machine. 66 * XXXX state machine enters the XXXX state machine with a call to 75 * in these routines represent the termination of state change 182 uint32_t state); 270 static char *emlxs_fc_fcftab_state_xlate(uint32_t state); 276 * - Online sequencing can start from FC_FCFTAB_STATE_OFFLINE state 279 * entry of the next wait state 2100 emlxs_fcf_event_xlate(uint32_t state) argument 2478 emlxs_fcftab_state_xlate(emlxs_port_t *port, uint32_t state) argument 2622 emlxs_fc_fcftab_state_xlate(uint32_t state) argument 2651 uint16_t state; local 2738 emlxs_fc_fcftab_state(emlxs_port_t *port, uint16_t state, uint16_t reason, uint32_t explain, void *arg1) argument 4598 emlxs_fcoe_fcftab_state_xlate(uint32_t state) argument 4627 uint16_t state; local 4734 emlxs_fcoe_fcftab_state(emlxs_port_t *port, uint16_t state, uint16_t reason, uint32_t explain, void *arg1) argument 7353 emlxs_fcfi_state_xlate(uint32_t state) argument 7380 uint16_t state; local 7495 emlxs_fcfi_state(emlxs_port_t *port, FCFIobj_t *fcfp, uint16_t state, uint16_t reason, uint32_t explain, void *arg1) argument 9195 emlxs_vfi_state_xlate(uint32_t state) argument 9222 uint16_t state; local 9338 emlxs_vfi_state(emlxs_port_t *port, VFIobj_t *vfip, uint16_t state, uint16_t reason, uint32_t explain, void *arg1) argument 11086 emlxs_vpi_state_xlate(uint32_t state) argument 11113 uint16_t state; local 11226 emlxs_vpi_state(emlxs_port_t *port, VPIobj_t *vpip, uint16_t state, uint16_t reason, uint32_t explain, void *arg1) argument 13835 emlxs_rpi_state_xlate(uint32_t state) argument 13862 uint16_t state; local 13953 emlxs_rpi_state(emlxs_port_t *port, RPIobj_t *rpip, uint16_t state, uint16_t reason, uint32_t explain, void *arg1) argument [all...] |
/illumos-gate/usr/src/cmd/locator/ |
H A D | locator.c | 61 char state[PICL_PROPNAMELEN_MAX]; local 73 err = picl_get_propval(state_prop, state, sizeof (state)); 84 if (strcmp(state, new_state) != 0) { 108 char state[PICL_PROPNAMELEN_MAX]; local 113 state, sizeof (state)); 121 if (strcmp(state, locator_info->on) == 0) 123 else if (strcmp(state, locator_info->off) == 0) 126 display_state = state; [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | tpgs.c | 61 int mode, state, xlf, preferred = 0; local 80 if (vhci_tpgs_get_target_fo_mode(sd, &mode, &state, &xlf, &preferred)) { 156 * tpgs access state changed 164 " state change"); 237 int mode, state, retval, xlf, preferred; local 241 mode = state = 0; 243 if (vhci_tpgs_get_target_fo_mode(sd, &mode, &state, &xlf, &preferred)) { 248 if ((state == STD_ACTIVE_OPTIMIZED) || 249 (state == STD_ACTIVE_NONOPTIMIZED)) { 379 int mode, preferred, state, xl local [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_timer.c | 80 * Note that there is no lock to protect the timer mblk state. The reason 81 * is that the timer state can only be changed by a thread holding the 103 int state; local 111 state = sctp_tb->sctp_tb_state; 113 if (state == SCTP_TB_RUNNING) { 119 } else if (state != SCTP_TB_IDLE) { 120 ASSERT(state != SCTP_TB_TO_BE_FREED); 121 if (state == SCTP_TB_CANCELLED) { 126 if (state == SCTP_TB_RESCHED) { 244 int state; local 280 int state; local 315 int state; local [all...] |
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/ |
H A D | audio_4231.h | 98 #define APC_DMACSR state->cs_regs->apc.dmacsr 99 #define APC_DMACVA state->cs_regs->apc.dmacva 100 #define APC_DMACC state->cs_regs->apc.dmacc 101 #define APC_DMACNVA state->cs_regs->apc.dmacnva 102 #define APC_DMACNC state->cs_regs->apc.dmacnc 103 #define APC_DMAPVA state->cs_regs->apc.dmapva 104 #define APC_DMAPC state->cs_regs->apc.dmapc 105 #define APC_DMAPNVA state->cs_regs->apc.dmapnva 106 #define APC_DMAPNC state->cs_regs->apc.dmapnc 165 #define EB2_PLAY_CSR state [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/ |
H A D | psvcpolicy.c | 108 * The I2C bus is noisy, and the state may be incorrectly reported as 109 * having changed. When the state changes, we attempt to confirm by 110 * retrying. If any retries indicate that the state has not changed, we 111 * assume the state change(s) were incorrect and the state has not changed. 380 char state[PSVC_MAX_STR_LEN]; local 409 strlcpy(state, PSVC_ERROR, sizeof (state)); 414 strlcpy(state, PSVC_OK, sizeof (state)); 465 char state[PSVC_MAX_STR_LEN]; local 687 char state[PSVC_MAX_STR_LEN]; local 884 char state[PSVC_MAX_STR_LEN]; local 1134 char state[PSVC_MAX_STR_LEN]; local 1323 char state[PSVC_MAX_STR_LEN]; local 1564 char state[PSVC_MAX_STR_LEN]; local 1657 char state[PSVC_MAX_STR_LEN]; local [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | collate.c | 281 int *len, int *pri, int which, const int **state) 295 *state = NULL; 303 if ((sptr = *state) != NULL) { 306 *state = *sptr ? sptr : NULL; 369 *state = *sptr ? sptr : NULL; 389 const int32_t *state; local 398 state = NULL; 437 while (*t || state) { 439 &state); 456 while (*t || state) { 280 _collate_lookup(const struct lc_collate *lcc, const wchar_t *t, int *len, int *pri, int which, const int **state) argument 538 const int32_t *state; local [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | LocalConsumer.java | 157 private State state = State.INIT; field in class:LocalConsumer 177 // this consumer is running (to ensure valid state). 199 // 5. The worker thread updates the state member to STOPPED and 202 // state has been updated to STOPPED and that listeners have 204 // to ensure valid state and in case the caller of stop() is 290 if (state == State.CLOSED) { 293 if (state != State.INIT) { 307 state = State.OPEN; 322 switch (state) { 374 state [all...] |
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom_xmpp_client.c | 65 int state; member in struct:xmpp_conn 73 static void start_element(void *state, const xmlChar *name, 75 static void end_element(void *state, const xmlChar *name); 76 static void error_func(void *state, const char *msg, ...); 193 end_element(void *state, const xmlChar *name) argument 195 xmpp_conn_t *conn = (xmpp_conn_t *)state; 198 conn->state = CONN_STATE_DONE; 203 conn->state = CONN_STATE_FAILURE; 206 if (conn->state == CONN_STATE_TLS) { 207 conn->state 222 start_element(void *state, const xmlChar *name, const xmlChar **attrs) argument 228 error_func(void *state, const char *msg, ...) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | fcin.c | 159 int fcmbstate(const char *state, int *s, int *len) argument 174 *s = state[*extra.next++]; 180 *s = state['a']; 198 return(fcmbstate(state,s,len)); 204 *s = state[c=fcget()]; 208 *s = state['a'];
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | flowprop.c | 169 prop_db_state_t state; local 171 state.ls_op = process_prop_set; 172 state.ls_name = flow; 173 state.ls_propname = prop_name; 174 state.ls_propval = prop_val; 175 state.ls_valcntp = &val_cnt; 176 state.ls_initop = NULL; 178 return (FLOWPROP_RW_DB(handle, &state, B_TRUE)); 185 prop_db_state_t state; local 187 state 200 prop_db_state_t state; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | bsd-comp.c | 130 static void bsd_free __P((void *state)); 131 static int bsd_decomp_init __P((void *state, u_char *options, int opt_len, 133 static void bsd_incomp __P((void *state, u_char *dmsg, int len)); 134 static int bsd_decompress __P((void *state, u_char *cmp, int inlen, 136 static void bsd_reset __P((void *state)); 137 static void bsd_comp_stats __P((void *state, struct compstat *stats)); 246 bsd_comp_stats(state, stats) 247 void *state; 250 struct bsd_db *db = (struct bsd_db *) state; 270 * Reset state, a [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_kdi_isadep.c | 145 * Called on an individual CPU. Tries to send it off to the state saver if it 153 int state = kmdb_dpi_get_cpu_state(cpuid); local 158 if (state != DPI_CPU_STATE_MASTER && state != DPI_CPU_STATE_SLAVE) { 182 int state = kmdb_dpi_get_cpu_state(cpuid); local 184 if (state != DPI_CPU_STATE_MASTER && state != DPI_CPU_STATE_SLAVE)
|
/illumos-gate/usr/src/cmd/stmfsvc/ |
H A D | stmfsvc.c | 92 stmfState state; local 124 stmfRet = stmfGetState(&state); 129 if (state.operationalState == STMF_SERVICE_STATE_OFFLINE) { 179 "state. See the man page for svcadm(1M)")); 201 stmfState state; local 233 stmfRet = stmfGetState(&state); 238 if (state.operationalState == STMF_SERVICE_STATE_ONLINE) {
|