Searched refs:sc_state (Results 1 – 3 of 3) sorted by relevance
90 int sc_state; /* see above for possibilities */ member139 logsoftc.sc_state = 0; in logclose()243 if ((logsoftc.sc_state & LOG_ASYNC) && logsoftc.sc_sigio != NULL) in logtimeout()272 logsoftc.sc_state |= LOG_ASYNC; in logioctl()274 logsoftc.sc_state &= ~LOG_ASYNC; in logioctl()
126 int sc_state; /* shift/lock key state */ member350 sc->sc_state &= ~LOCK_MASK; in kmi_ioctl_locked()351 sc->sc_state |= KBD_LED_VAL(kbd); in kmi_ioctl_locked()398 *(int *)arg = sc->sc_state & LOCK_MASK; in kmi_ioctl_locked()411 sc->sc_state &= ~LOCK_MASK; in kmi_ioctl_locked()412 sc->sc_state |= *(int *)arg; in kmi_ioctl_locked()500 sc->sc_state &= LOCK_MASK; /* preserve locking key state */ in kmi_clear_state()
728 switch (sc->sc_state) { in carp_input_c()824 if (sc->sc_state == MASTER) { in carp_send_ad_all()1119 return (sc->sc_state == MASTER); in carp_master()1149 if (sc->sc_state == MASTER) { in carp_iamatch()1270 if (sc->sc_state == BACKUP) { in carp_master_down()1286 switch (sc->sc_state) { in carp_master_down_locked()1328 switch (sc->sc_state) { in carp_setrun()1586 sc->sc_state = INIT; in carp_alloc()1799 if (sc->sc_state != INIT && in carp_ioctl()2040 if (sc->sc_state != state) { in carp_set_state()[all …]