Searched refs:state (Results 326 - 350 of 1495) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/sun4u/seattle/os/
H A Dseattle.c160 * We need this driver to handle events from the RMC when state
344 cpu_sgn_update(ushort_t sig, uchar_t state, uchar_t sub_state, int cpuid) argument
360 * state of SIGST_EXIT, and a new signature substate of SIGSUBST_REBOOT.
361 * The domain signature state SIGST_EXIT is used as the panic flow
368 if (state == SIGST_EXIT && sub_state == SIGSUBST_REBOOT) {
369 if (current_sgn.state_t.state == SIGST_EXIT &&
378 if (state == SIGST_OFFLINE || state == SIGST_DETACHED) {
382 current_sgn.signature = CPU_SIG_BLD(sig, state, sub_state);
395 signature.states = state;
[all...]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dthread.c49 int state,
59 switch (state) {
67 cmn_err(CE_PANIC, "thread_create: invalid state");
42 thread_create( caddr_t stk, size_t stksize, void (*func)(), void *arg, size_t len, struct proc *pp, int state, pri_t pri) argument
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dsd-card.c72 if (MCI_Device.state == AT91C_MCI_RX_SINGLE_BLOCK)
86 if (MCI_Device.state == AT91C_MCI_TX_SINGLE_BLOCK && status & AT91C_MCI_TXBUFE) {
89 MCI_Device.state = AT91C_MCI_IDLE;
93 if (MCI_Device.state == AT91C_MCI_RX_SINGLE_BLOCK && status & AT91C_MCI_RXBUFF) {
96 MCI_Device.state = AT91C_MCI_IDLE;
201 MCI_Device.state = AT91C_MCI_RX_SINGLE_BLOCK;
216 if (MCI_Device.state != AT91C_MCI_IDLE) {
308 // Force card to idle state.
337 // The RCA to be used for CMD55 in Idle state shall be the card's
342 // Repeat ACMD41 until the card comes out of power-up-busy state
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DResample.cc134 memcpy(state, in + size - num_state,
138 BCOPY((char *)(state + size), (char *)state,
140 memcpy(state + old, in, size * sizeof (double));
161 state = new double[num_state];
163 state[i] = 0.0;
166 state = new double[order]; // need order states
200 convolve(coef + i + 1, state + i, order - i));
265 order - coef_offset, up, state, num_state));
273 coef + coef_offset, order - coef_offset, up, state,
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi_fsm.c48 static void atapi_fsm_error(ata_ctl_t *ata_ctlp, uchar_t state,
57 uchar_t state,
61 (void *)ata_ctlp->ac_data, state, event));
81 * Given the current state and the current event this
112 * Give the current state and the current event this table
113 * determines the new state of the device.
128 * Note: the states enclosed in parens "(state)", are the accept states
130 * states rather than extra state codes.
628 * check for valid state
672 * the current state o
55 atapi_fsm_error( ata_ctl_t *ata_ctlp, uchar_t state, uchar_t event) argument
686 uchar_t state; local
[all...]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-jobs.c155 /* set any held state */
297 * Convert REQUEST->outcome (or R_REQUEST_* state) to the equivalent
302 unsigned short state)
307 if (state & RS_NOTIFYING) {
309 "job-state", 0x0800); /* notifying user */
311 "job-state-reasons", "job-notifying");
312 } else if (state & RS_HELD) {
314 "job-state", 0x0001); /* held */
316 "job-state-reasons", "job-hold-until-specified");
317 } else if (state
301 lpsched_request_outcome_to_attributes(papi_attribute_t ***attributes, unsigned short state) argument
470 job_status_to_attributes(job_t *job, char *req_id, char *user, char *slabel, size_t size, time_t date, short state, char *destination, char *form, char *charset, short rank, char *file) argument
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_clnt.c70 enum state { enum
84 enum state state; member in struct:ctl_cctx
106 static void new_state(struct ctl_cctx *, enum state);
164 ctx->state = initializing;
224 if (ctx->state != destroyed)
243 switch (ctx->state) {
299 REQUIRE(ctx->state == connecting || ctx->state == connected);
317 if (ctx->state
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c55 /* To be used only when the state is known to be valid */
132 /* deflate.h -- internal compression state
147 * Internal compression state.
620 strm->state = (struct internal_state FAR *)s;
669 if (strm == Z_NULL || strm->state == Z_NULL ||
676 s = (deflate_state *)strm->state;
694 * IN assertion: the stream state is correct and there is enough room in
711 deflate_state *state = (deflate_state *) strm->state; local
712 unsigned len = state
735 deflate_state *state = (deflate_state *) strm->state; local
857 deflate_state *state = (deflate_state *) strm->state; local
882 deflate_state *state = (deflate_state *) strm->state; local
[all...]
/illumos-gate/usr/src/uts/common/io/skd/
H A Dskd.c204 * on a failure to create the device state structure or the result
291 * Inputs: skdev - device state structure.
317 * Inputs: skdev - device state structure.
338 * Inputs: skdev - device state structure.
365 * Inputs: skdev - device state structure
383 * Inputs: skdev - device state structure.
426 * Inputs: skdev - device state structure.
504 * Inputs: skdev - Device state.
506 * Returns: -EINVAL if device is not in proper state otherwise
518 switch (skdev->state) {
2333 uint32_t state; local
2707 uint32_t state; local
2831 uint32_t state; local
3849 skd_drive_state_to_str(int state) argument
3880 skd_skdev_state_to_str(enum skd_drvr_state state) argument
3917 skd_skmsg_state_to_str(enum skd_fit_msg_state state) argument
3937 skd_skreq_state_to_str(enum skd_req_state state) argument
[all...]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_workarounds.c51 bool state = false; local
58 state = dev_spec->ttl_workaround;
61 return (state);
165 * @state: boolean to enable/disable TTL workaround
171 e1000_set_ttl_workaround_state_82541(struct e1000_hw *hw, bool state) argument
180 dev_spec->ttl_workaround = state;
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootiic/
H A Dloader_prompt.c133 int pCount, cCount, state; local
135 state = pCount = 0;
140 if (!state) {
144 state = 1;
152 state = 0;
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/
H A Dloader_prompt.c111 int pCount, cCount, state; local
113 state = pCount = 0;
118 if (!state) {
122 state = 1;
130 state = 0;
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_main.c109 kctl_set_state(uint_t state) argument
114 if (state > ostate) {
115 kctl_dprintf("new kctl state: %d", state);
116 kctl.kctl_state = state;
206 uint_t state = kctl_set_state(KCTL_ST_DEACTIVATING); local
208 kctl_dprintf("cleaning up from state %d", state);
212 switch (state) {
380 kctl_state_check(uint_t state, uint_ argument
[all...]
/illumos-gate/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c3 * addon-storage.c : watch removable media state changes
320 int state, last_state; local
364 last_state = state = DKIO_NONE;
385 if (ioctl (fd, DKIOCSTATE, &state) == 0) {
386 if (state == last_state) {
387 HAL_DEBUG (("state has not changed %d %s", state, device_file));
390 HAL_DEBUG (("new state %d %s", state, device_file));
393 switch (state) {
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Doutput.c63 uint16_t state; member in struct:__anon260
390 if (ag->ag_seqno < update_seqno && (ws.state & WS_ST_FLASH))
396 (ws.state & WS_ST_TO_ON_NET) ? ws.ifp : NULL);
407 if ((ws.state & WS_ST_RIP2_ALL) ||
466 if (ws.state & WS_ST_RIP2_ALL) {
468 ((ws.state & WS_ST_QUERY) ||
526 if (!should_supply(NULL) && !(ws.state & WS_ST_QUERY) &&
535 if (dst == RIP_DEFAULT && (ws.state & WS_ST_DEFAULT))
554 if (ws.state & WS_ST_RIP2_ALL)
597 if ((ws.state
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Drcfile.c385 int state = stNewLine, c; local
396 if (state == stNewLine) {
401 state = stHeader;
406 state = stSkipToEOL;
408 state = stGetKey;
412 if (state == stSkipToEOL || next == last) {
414 state = stNewLine;
419 if (state == stHeader) {
424 state = stSkipToEOL;
429 if (state
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c284 "Node state");
823 tnwalk_state_t *state; local
835 state = mdb_zalloc(sizeof (tnwalk_state_t), UM_SLEEP);
837 state->curr_hash = (topo_nodehash_t *)node.tn_children.l_next;
838 state->hash_idx = 0;
839 wsp->walk_data = state;
848 tnwalk_state_t *state = wsp->walk_data; local
849 int rv, i = state->hash_idx++;
852 if (state->curr_hash == NULL)
855 if (mdb_vread(&(state
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_main.c368 dev->state |= STATE_INIT;
412 if (dev->state & STATE_MAC_STARTED) {
413 dev->state &= ~STATE_MAC_STARTED;
464 if (dev->state & STATE_MAC_STARTED) {
468 dev->state &= ~STATE_MAC_STARTED;
486 if (!(dev->state & STATE_MAC_STARTED)) {
499 dev->state |= STATE_MAC_STARTED;
524 uint32_t state = dev->attach_state; local
526 if (state & ATTACH_MAC_REG) {
529 if (state
[all...]
/illumos-gate/usr/src/lib/libuuid/common/
H A Duuid.c122 * Access the state file, mmap it and initialize the shared lock.
123 * file_type tells us whether we had access to the state file or
148 if (data->state.clock == 0) {
149 data->state.clock = get_random();
153 if (memcmp(&system_node, &data->state.node, sizeof (uuid_node_t)) != 0)
154 data->state.clock++;
160 * data->state.clock
162 if ((data->state.ts == 0) || (data->state.ts >= timestamp)) {
163 data->state
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPsyscall.c103 if (P->state == PS_DEAD || P->state == PS_UNDEAD ||
104 P->state == PS_IDLE) {
271 while (P->state == PS_RUN) {
274 if (P->state != PS_STOP)
324 if (P->state == PS_DEAD || P->state == PS_UNDEAD || P->state == PS_IDLE)
348 if (P->state != PS_STOP || /* check state o
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfconst.c168 * Array of state for each constant type, including the array of atoui
369 if (!state.file.present) {
376 } else if (state.elf.elfclass == ELFCLASS32) {
377 *osabi = state.elf.obj_state.s32->os_ehdr->e_ident[EI_OSABI];
378 *mach = state.elf.obj_state.s32->os_ehdr->e_machine;
380 *osabi = state.elf.obj_state.s64->os_ehdr->e_ident[EI_OSABI];
381 *mach = state.elf.obj_state.s64->os_ehdr->e_machine;
437 state.elf.elfconst_ehdr_change = 0;
439 if (state.elf.elfclass == ELFCLASS32) {
440 cur_osabi = state
[all...]
/illumos-gate/usr/src/lib/libumem/common/
H A Denvvar.c662 } state = STATE_START; local
674 switch (state) {
708 if (state == STATE_GETENV)
710 if (state != STATE_DONE)
714 state = STATE_DONE;
718 state = STATE_GETENV;
722 if (state == STATE_DONE)
727 state = STATE_DLOPEN;
736 state = STATE_DLSYM;
740 if (state
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_subr.c414 add_busy_rsrc_to_list(char *alias, pid_t pid, int state, int seq_num, argument
438 (errno = nvlist_add_int32(info->info, RCM_RSRCSTATE, state))) {
533 client->state = RCM_STATE_ONLINE;
704 (client->state == RCM_STATE_SUSPEND)) {
720 * Update the client's state before the operation.
721 * If this is a cancelled query, then updating the state is
725 client->state = RCM_STATE_SUSPENDING;
727 client->state = RCM_STATE_SUSPEND_QUERYING;
729 client->state = RCM_STATE_ONLINE;
737 /* Update the client's state afte
[all...]
/illumos-gate/usr/src/lib/libtnfctl/
H A Dcontinue.c103 * list so that we keep our internal state
141 * update state in handle
175 prb_proc_state_t state; local
179 /* set up state before we run process */
217 prbstat = prb_proc_state(proc_p, &state);
222 if (state.ps_isbptfault) {
236 if (state.ps_issysentry) {
237 switch (state.ps_syscallnum) {
248 } else if (state.ps_issysexit) {
249 switch (state
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass3.c55 int state; local
64 state = statemap[inp->i_number];
66 (inp->i_parent != 0 && !S_IS_DUNFOUND(state)))
68 if (state == DCLEAR || state == USTATE || (state & INORPHAN))
76 if (preen && !iscorrupt && islog && S_IS_DUNFOUND(state)) {
159 * the state flags.

Completed in 117 milliseconds

<<11121314151617181920>>