/illumos-gate/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans.c | 91 "newstate=%d key=%d", state, key)); 132 enum keystate newstate) 143 "newstate=0x%x key=0x%x\n", newstate, key)); 160 if (newstate == KEY_RELEASED) 227 newstate = KEY_RELEASED; /* toggling off */ 229 newstate = KEY_PRESSED; /* toggling on */ 238 if (newstate == KEY_RELEASED) 258 if (newstate == KEY_RELEASED) 281 if (newstate 129 kbtrans_translate(struct kbtrans_lower *lower, struct keyboard_callback *cb, kbtrans_key_t key, enum keystate newstate) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | schg_mgr.c | 49 static void dm_state_change_nolock(diskmon_t *diskp, hotplug_state_t newstate); 57 hotplug_state_t newstate; member in struct:disk_statechg 68 * the current faulted state in the newstate: 71 dscp->newstate = state; 83 add_to_statechange_queue(diskmon_t *diskp, hotplug_state_t newstate) argument 85 queue_add(g_schg_queue, new_statechange(diskp, newstate)); 150 hotplug_state_t newstate) 159 hotplug_state_string(newstate)); 172 rulelist->strans.end == newstate) 197 hotplug_state_string(newstate), 149 schg_execute_state_change_action(diskmon_t *diskp, hotplug_state_t oldstate, hotplug_state_t newstate) argument 454 dm_state_change_nolock(diskmon_t *diskp, hotplug_state_t newstate) argument 461 dm_state_change(diskmon_t *diskp, hotplug_state_t newstate) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | rmc_comm.c | 266 rmc_comm_set_irq(struct rmc_comm_state *rcs, boolean_t newstate) argument 270 val = newstate ? SIO_IER_RXHDL_IE : 0; 272 rcs->sd_state.hw_int_enabled = newstate;
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mp_xen.c | 833 vcpu_config_report(processorid_t id, uint_t newstate, int error) argument 839 switch (newstate) { 847 cmn_err(CE_PANIC, "unknown state %u\n", newstate); 879 switch (newstate) {
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 202 thread_newstate(thread_info_t *ti, thread_state_t newstate) argument 205 if (newstate != ti->ti_state) { 207 ti->ti_state = newstate;
|
/illumos-gate/usr/src/uts/common/io/lvm/hotspares/ |
H A D | hotspares.c | 68 set_hot_spare_state(hot_spare_t *hs, hotspare_states_t newstate) argument 70 hs->hs_state = newstate;
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_provider.c | 1223 link_state_t newstate; local 1227 newstate = mip->mi_lowlinkstate; 1231 newstate = mac_bridge_ls_cb(mh, 1232 newstate); 1236 if (newstate != mip->mi_linkstate) { 1237 mip->mi_linkstate = newstate;
|
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng.c | 895 uint64_t newstate, uint64_t wtimeout, uint64_t *tdelta) 901 rv = hv_rng_ctl_write_v2(ctlregs_pa, newstate, wtimeout, 909 rv = hv_rng_ctl_write(ctlregs_pa, newstate, wtimeout, tdelta); 894 n2rng_ctl_write(n2rng_t *n2rng, int rngid, uint64_t ctlregs_pa, uint64_t newstate, uint64_t wtimeout, uint64_t *tdelta) argument
|
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/ |
H A D | zfs_mod.c | 152 vdev_state_t newstate; local 181 ZFS_ONLINE_CHECKREMOVE | ZFS_ONLINE_UNSPARE, &newstate) == 0 && 182 (newstate == VDEV_STATE_HEALTHY || 183 newstate == VDEV_STATE_DEGRADED))) 194 &newstate); 215 ZFS_ONLINE_FORCEFAULT, &newstate); 225 ZFS_ONLINE_FORCEFAULT, &newstate); 546 vdev_state_t newstate; local 580 &newstate);
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | engine.c | 252 int newstate; local 358 newstate = cmds[i].cm_next; 362 curstate, newstate, next_states[curstate]); 364 if (newstate != ST_NONE && !trans_ok(curstate, newstate)) 370 newstate, MI_MASK(newstate), 383 if (!trans_ok(curstate, newstate)) 395 if (newstate != ST_NONE) 397 curstate = newstate; [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_deleg.c | 205 rfs4_cbstate_t newstate; local 300 newstate = CB_BAD; 302 newstate = CB_OK; 316 cbp->cb_state = newstate; 393 rfs4_cbinfo_rele(rfs4_cbinfo_t *cbp, rfs4_cbstate_t newstate) argument 400 if (newstate != CB_NOCHANGE) 401 cbp->cb_state = newstate; 402 if (newstate == CB_FAILED) {
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_common.c | 686 sctp_faddr_dead(sctp_t *sctp, sctp_faddr_t *fp, int newstate) argument 694 fp->sf_state = newstate; 697 SCTP_PRINTADDR(fp->sf_faddr), newstate));
|
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd.h | 186 int (*newstate)(ieee80211com_t *, member in struct:zyd_softc
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | parseaddr.c | 681 int newstate; local 902 newstate = StateTab[state][toktab[c & 0xff]]; 904 sm_dprintf("ns=%02o\n", newstate); 905 state = newstate & TYPE; 914 if (bitset(M, newstate)) 916 if (bitset(B, newstate))
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_main.c | 355 dmfe_stop_chip(dmfe_t *dmfep, enum chip_state newstate) argument 372 switch (newstate) { 390 dmfep->chip_state = newstate;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | kbd.c | 1735 register unsigned newstate; local 1747 newstate = STATEOF(keycode); 1752 printf("KBD TRANSLATE keycode=0x%x newstate=0x%x key=0x%x\n", 1753 keycode, newstate, key); 1758 if (newstate == PRESSED) { 1770 if (newstate == RELEASED) 1807 newstate = RELEASED; /* toggling off */ 1809 newstate = PRESSED; /* toggling on */ 1817 if (newstate == RELEASED) 1831 if (newstate [all...] |
H A D | fdc.c | 2602 int newstate; local 2651 if ((newstate = fdc_statemach(fcp)) == -1) { 2660 if (newstate == FXS_END) {
|
H A D | gld.c | 4053 gld_linkstate(gld_mac_info_t *macinfo, int32_t newstate) argument 4057 switch (newstate) { 4075 if (macinfo->gldm_linkstate == newstate) 4078 macinfo->gldm_linkstate = newstate;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunndi.c | 2295 ddi_devstate_t newstate; local 2323 newstate = ddi_get_devstate(fedp->f_dip); 2324 switch (newstate) { 2342 changed = (newstate != fedp->f_oldstate); 2343 level = (newstate < fedp->f_oldstate) ? CE_WARN : CE_NOTE; 2354 if (newstate != DDI_DEVSTATE_UP) {
|
H A D | dumpsubr.c | 1677 dumpsys_put_cq(cqueue_t *cq, cbuf_t *cp, int newstate, int live) argument 1689 cp->state = newstate;
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | xvdi.c | 1789 xvdi_watch_devices(int newstate) argument 1796 if (newstate == XENSTORE_DOWN)
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev.c | 2439 vdev_online(spa_t *spa, uint64_t guid, uint64_t flags, vdev_state_t *newstate) argument 2476 if (newstate) 2477 *newstate = vd->vdev_state;
|
/illumos-gate/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror.c | 285 sm_state_t newstate, 295 sm->sm_state = newstate; 300 origstate = newstate; 307 newstate |= SMS_COMP_ERRED; 309 newstate |= SMS_COMP_RESYNC; 314 if ((newstate & (SMS_COMP_ERRED | SMS_COMP_RESYNC)) != 0) 315 newstate &= ~origstate; 318 newstate |= SMS_ALL_ERRED; 320 newstate &= ~SMS_ALL_ERRED; 322 sm->sm_state = newstate; 282 mirror_set_sm_state( mm_submirror_t *sm, mm_submirror_ic_t *smic, sm_state_t newstate, int force) argument 2408 set_sm_comp_state( mm_unit_t *un, int smi, int ci, int newstate, mddb_recid_t *extras, uint_t flags, IOLOCK *lockp ) argument [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/raid/ |
H A D | raid.c | 193 raid_set_state(mr_unit_t *un, int col, rcs_state_t newstate, int force) argument 205 ASSERT(newstate & 208 ASSERT((newstate & 219 un->un_column[col].un_devstate = newstate; 220 un->un_state = raid_col2unit(newstate, unitstate); 232 if (un->un_column[col].un_devstate == newstate) 235 if (newstate == RCS_REGEN) { 250 colstate = newstate; 266 if (newstate & RCS_ERRED) 267 newstate [all...] |
/illumos-gate/usr/src/uts/sun4u/lw2plus/io/ |
H A D | lombus.c | 570 lombus_set_irq(struct lombus_state *ssp, boolean_t newstate) argument 574 val = newstate ? SIO_IER_RXHDL_IE : 0; 576 ssp->hw_int_enabled = newstate;
|