/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ds_snmp.c | 93 ds_snmp_flags_t state; member 457 sp->state = DS_SNMP_READY; in ds_snmp_create_state() 582 if (sp->state != DS_SNMP_DATA_AVL && sp->state != DS_SNMP_DATA_ERR) { in ds_snmp_read() 610 sp->state = DS_SNMP_READY; in ds_snmp_read() 632 sp->state = DS_SNMP_READY; in ds_snmp_read() 727 sp->state = DS_SNMP_REQUESTED; in ds_snmp_write() 804 sp->state = DS_SNMP_READY; in ds_snmp_ioctl() 825 sp->state = DS_SNMP_READY; in ds_snmp_ioctl() 857 sp->state = DS_SNMP_READY; in ds_snmp_ioctl() 998 sp->state = DS_SNMP_DATA_ERR; in ds_snmp_data_handler() [all …]
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 1503 if (P->state == PS_DEAD || P->state == PS_IDLE) in Preopen() 1887 if (P->state == PS_DEAD || P->state == PS_IDLE) in Pstopstatus() 2069 if (P->state != PS_STOP && P->state != PS_DEAD) { in Pgetareg() 2268 if (P->state == PS_DEAD || P->state == PS_UNDEAD || in Psetbkpt() 2316 if (P->state == PS_DEAD || P->state == PS_UNDEAD || in Pdelbkpt() 2484 if (P->state == PS_DEAD || P->state == PS_UNDEAD || in Psetwapt() 2510 if (P->state == PS_DEAD || P->state == PS_UNDEAD || in Pdelwapt() 2729 if (P->state == PS_DEAD || P->state == PS_UNDEAD || in Psetaction() 2789 if (P->state == PS_DEAD || P->state == PS_UNDEAD || in Psetsignal() 2816 if (P->state == PS_DEAD || P->state == PS_UNDEAD || in Psetfault() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | interp_parse.c | 90 enum { STR, VAR, WHITE } state; in parse() local 99 state = STR; in parse() 105 switch (state) { in parse() 128 state = WHITE; in parse() 141 state = VAR; in parse() 152 state = STR; in parse() 173 state = STR; in parse() 180 if (i && state == STR) { in parse()
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | Fir.cc | 92 memcpy(state, data + size - order, order * sizeof (double)); in updateState() 95 BCOPY((char *)(state + size), (char *)state, in updateState() 97 memcpy(state + order - size, data, size * sizeof (double)); in updateState() 116 state[i] = 0.0; in resetState() 127 state = new double[order]; in Fir() 137 delete state; in ~Fir() 178 double *state_ptr = state; in filter_noadjust()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 711 deflate_state *state = (deflate_state *) strm->state; local 726 state->pending_out = state->pending_buf; 735 deflate_state *state = (deflate_state *) strm->state; local 843 putShortMSB(state, (uInt)(state->adler >> 16)); 844 putShortMSB(state, (uInt)(state->adler & 0xffff)); 857 deflate_state *state = (deflate_state *) strm->state; local 862 TRY_FREE(strm, state->prev, state->w_size * sizeof(Pos)); 863 TRY_FREE(strm, state->head, state->hash_size * sizeof(Pos)); 882 deflate_state *state = (deflate_state *) strm->state; local 2779 z->state->mode = z->state->nowrap ? BLOCKS : METHOD; [all …]
|
H A D | ppp-comp.h | 55 void (*decomp_free) __P((void *state)); 57 int (*decomp_init) __P((void *state, u_char *options, int opt_len, 60 void (*decomp_reset) __P((void *state)); 62 int (*decompress) __P((void *state, u_char *mp, int inlen, 65 void (*incomp) __P((void *state, u_char *mp, int len)); 67 void (*decomp_stat) __P((void *state, struct compstat *stats));
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | conditional-type.c | 5 struct state { struct 16 static int bad_if(struct state s) in bad_if() argument 27 static int bad_sel(struct state s) in bad_sel() 64 static int good_if_bitfield(struct state s, struct state *p) in good_if_bitfield()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppbuiltin.c | 55 number = pp.state; in ppbuiltin() 75 pp.state &= ~NOSPACE; in ppbuiltin() 91 pp.state = number; in ppbuiltin() 114 pp.state = number; in ppbuiltin() 147 pp.state &= ~NOSPACE; in ppbuiltin() 157 pp.state |= NOSPACE; in ppbuiltin() 161 pp.state = number; in ppbuiltin() 175 pp.state = number; in ppbuiltin() 238 pp.state |= NEWLINE; in ppbuiltin() 257 number = pp.state; in ppbuiltin() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_main.c | 368 dev->state |= STATE_INIT; in oce_attach() 499 dev->state |= STATE_MAC_STARTED; in oce_resume() 526 if (state & ATTACH_MAC_REG) { in oce_unconfigure() 529 if (state & ATTACH_STAT_INIT) { in oce_unconfigure() 532 if (state & ATTACH_SETUP_ADAP) { in oce_unconfigure() 538 if (state & ATTACH_HW_INIT) { in oce_unconfigure() 541 if (state & ATTACH_LOCK_INIT) { in oce_unconfigure() 547 if (state & ATTACH_PCI_INIT) { in oce_unconfigure() 550 if (state & ATTACH_PCI_CFG) { in oce_unconfigure() 553 if (state & ATTACH_FM_INIT) { in oce_unconfigure() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_case.c | 317 int state; in fmd_case_set_lst() local 375 int state; in fmd_case_unusable_and_present() local 555 if (!(state & FMD_ASRU_PRESENT) || (!(state & FMD_ASRU_FAULTY) && in fmd_case_match_suspects() 559 else if ((state & FMD_ASRU_UNUSABLE) && (state & FMD_ASRU_FAULTY)) in fmd_case_match_suspects() 672 if ((state & FMD_ASRU_PRESENT) && (state & FMD_ASRU_UNUSABLE) && in fmd_case_acquit_isolated() 1051 switch (state) { in fmd_case_publish() 1580 uint_t state; in fmd_case_insert_principal() local 1618 uint_t state; in fmd_case_insert_event() local 1769 switch (state) { in fmd_case_transition() 1995 state = MAX(state, FMD_CASE_CLOSE_WAIT); in fmd_case_transition_update() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | term.h | 78 void (*setcolorstate) (color_state state); 109 void console_setcolorstate (color_state state); 121 void serial_setcolorstate (color_state state); 129 void composite_setcolorstate (color_state state); 137 void hercules_setcolorstate (color_state state); 151 void graphics_setcolorstate (color_state state);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zcp_global.c | 75 zcp_load_errno_globals(lua_State *state) in zcp_load_errno_globals() argument 79 lua_pushnumber(state, (lua_Number)global->zeg_errno); in zcp_load_errno_globals() 80 lua_setglobal(state, global->zeg_name); in zcp_load_errno_globals() 86 zcp_load_globals(lua_State *state) in zcp_load_globals() argument 88 zcp_load_errno_globals(state); in zcp_load_globals()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_kmalloc_to_bugon.c | 40 struct smatch_state *state; in match_condition() local 47 state = get_state_expr(check_assigned_expr_id, expr); in match_condition() 48 if (!state || !state->data) in match_condition() 50 right = (struct expression *)state->data; in match_condition()
|
H A D | smatch_imaginary_absolute.c | 63 struct smatch_state *state; in get_imaginary_absolute() local 67 state = get_state_expr(my_id, expr); in get_imaginary_absolute() 68 if (!state || !estate_rl(state)) in get_imaginary_absolute() 71 *rl = estate_rl(state); in get_imaginary_absolute()
|
/illumos-gate/usr/src/cmd/tr/ |
H A D | tr.c | 229 if (s1.state == CCLASS_LOWER && in main() 230 s2.state == CCLASS_UPPER && in main() 239 } while (s1.state == CCLASS_LOWER && s1.cnt > 1); in main() 244 } while (s2.state == CCLASS_UPPER && s2.cnt > 1); in main() 246 } else if (s1.state == CCLASS_UPPER && in main() 247 s2.state == CCLASS_LOWER && in main() 256 } while (s1.state == CCLASS_UPPER && s1.cnt > 1); in main() 261 } while (s2.state == CCLASS_LOWER && s2.cnt > 1); in main() 284 s2.state = NORMAL; in main() 295 if ((s2.state == EOS || s2.state == INFINITE) && in main() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | utf_nbyte.h | 36 enum { ASCII, WANSUNG } state; member 67 if ((obtail - ob) < (i + (cd->state == ASCII ?\ 74 if (cd->state == ASCII)\ 77 cd->state = WANSUNG;\ 85 if (cd->state == WANSUNG)\ 94 cd->state = ASCII;\
|
H A D | iso_to_utf_main.c | 38 enum { ASCII, HANGUL } state; member 54 cd->state = ASCII; in _icv_open() 91 cd->state = ASCII; in _icv_iconv() 108 cd->state = ASCII; in _icv_iconv() 114 cd->state = HANGUL; in _icv_iconv() 118 else if ((*ib == ' ' && cd->state == HANGUL) || in _icv_iconv() 119 cd->state == ASCII) in _icv_iconv()
|
/illumos-gate/usr/src/lib/krb5/dyn/ |
H A D | dyn_debug.c | 17 int DynDebug(obj, state) in DynDebug() argument 19 int state; 21 obj->debug = state; 23 fprintf(stderr, "dyn: debug: Debug state set to %d.\n", state);
|
H A D | dyn_initzero.c | 17 int DynInitzero(obj, state) in DynInitzero() argument 19 int state; 21 obj->initzero = state; 24 fprintf(stderr, "dyn: initzero: initzero set to %d.\n", state);
|
H A D | dyn_paranoid.c | 17 int DynParanoid(obj, state) in DynParanoid() argument 19 int state; 21 obj->paranoid = state; 24 fprintf(stderr, "dyn: paranoid: Paranoia set to %d.\n", state);
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_clnt.c | 64 enum state { enum 78 enum state state; member 158 ctx->state = initializing; in ctl_client() 218 if (ctx->state != destroyed) in ctl_endclient() 237 switch (ctx->state) { in ctl_command() 293 REQUIRE(ctx->state == connecting || ctx->state == connected); in start_write() 311 if (ctx->state == destroyed) in start_write() 340 switch (ctx->state) { in destroy() 394 ctx->state = new_state; in new_state() 428 if (ctx->state == destroyed) { in conn_done() [all …]
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | rcfile.c | 445 state = stHeader; in rc_parse() 450 state = stSkipToEOL; in rc_parse() 452 state = stGetKey; in rc_parse() 458 state = stNewLine; in rc_parse() 468 state = stSkipToEOL; in rc_parse() 478 state = stNewLine; in rc_parse() 500 state = stNewLine; in rc_parse() 509 state = stNewLine; in rc_parse() 514 state = stGetValue; in rc_parse() 521 state = stSkipToEOL; in rc_parse() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | README | 30 1. Control pipe state transitions:- 36 Calls Current state additional condition Action Next state 88 Calls Current state additional condition Action Next state 130 2. Bulk pipe state transitions (endpoint number > 1, both IN and OUT):- 134 Calls Current state additional condition Action Next state 170 3. Interrupt pipe state transitions (endpoint number > 1, both IN and OUT) :- 174 Calls Current state additional condition Action Next state 211 Calls Current state additional condition Action Next state 247 4. Isochronous pipe state transitions (endpoint number > 1, both IN and OUT):- 251 Calls Current state additional condition Action Next state [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/ |
H A D | sum-md5.c | 105 context->state[0] = 0x67452301; in md5_init() 106 context->state[1] = 0xefcdab89; in md5_init() 107 context->state[2] = 0x98badcfe; in md5_init() 182 UINT4 a = state[0]; in md5_transform() 183 UINT4 b = state[1]; in md5_transform() 184 UINT4 c = state[2]; in md5_transform() 185 UINT4 d = state[3]; in md5_transform() 262 state[0] += a; in md5_transform() 263 state[1] += b; in md5_transform() 264 state[2] += c; in md5_transform() [all …]
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | door_calls.c | 497 volatile enum door_xsync_state state; member 544 xsp->state == DOOR_XSYNC_ABORT); in door_xcreate_startf() 546 if (xsp->state == DOOR_XSYNC_ABORT) in door_xcreate_startf() 549 xsp->state = next_state; in door_xcreate_startf() 559 while (xsp->state == DOOR_XSYNC_BOUND) in door_xcreate_startf() 562 next_state = xsp->state; in door_xcreate_startf() 649 xsp[i].state = DOOR_XSYNC_CREATEWAIT; in door_xcreate_n() 657 xsp[i].state = DOOR_XSYNC_MAXCONCUR; in door_xcreate_n() 667 xsp[i].state = DOOR_XSYNC_CREATEFAIL; in door_xcreate_n() 688 xsp[i].state = DOOR_XSYNC_ABORT; in door_xcreate_n() [all …]
|