state 213 bsp/drv/dev/base/kd.c const char state[][4] = \ state 232 bsp/drv/dev/base/kd.c ti.id, ti.taskname, state[ti.state], state 134 bsp/drv/dev/base/pm.c int policy, state, event; state 157 bsp/drv/dev/base/pm.c if (copyin(arg, &state, sizeof(int))) state 160 bsp/drv/dev/base/pm.c switch (state) { state 164 bsp/drv/dev/base/pm.c pm_set_power(state); state 398 bsp/drv/dev/base/pm.c pm_set_power(int state) state 402 bsp/drv/dev/base/pm.c switch (state) { state 46 bsp/hal/arm/gba/machdep.c machine_powerdown(int state) state 120 bsp/hal/arm/integrator/machdep.c machine_powerdown(int state) state 127 bsp/hal/arm/integrator/machdep.c switch (state) { state 103 bsp/hal/ppc/prep/machdep.c machine_powerdown(int state) state 110 bsp/hal/ppc/prep/machdep.c switch (state) { state 99 bsp/hal/x86/pc/machdep.c machine_powerdown(int state) state 106 bsp/hal/x86/pc/machdep.c switch (state) { state 85 include/sys/sysinfo.h int state; /* thread state */ state 55 sys/include/sched.h int state; state 50 sys/include/thread.h int state; /* thread state */ state 44 sys/include/timer.h int state; /* timer state */ state 316 sys/kern/exception.c ASSERT(curthread->state != TS_EXIT); state 186 sys/kern/sched.c t->state &= ~TS_SLEEP; state 187 sys/kern/sched.c if (t != curthread && t->state == TS_RUN) state 223 sys/kern/sched.c if (prev->state == TS_RUN) { state 281 sys/kern/sched.c curthread->state |= TS_SLEEP; state 379 sys/kern/sched.c if (t->state & TS_SLEEP) { state 415 sys/kern/sched.c if (t->state == TS_RUN) { state 421 sys/kern/sched.c t->state |= TS_SUSP; state 432 sys/kern/sched.c if (t->state & TS_SUSP) { state 433 sys/kern/sched.c t->state &= ~TS_SUSP; state 434 sys/kern/sched.c if (t->state == TS_RUN) state 448 sys/kern/sched.c if (curthread->state != TS_EXIT) { state 474 sys/kern/sched.c t->state = TS_RUN | TS_SUSP; state 499 sys/kern/sched.c if (t->state == TS_RUN) state 501 sys/kern/sched.c else if (t->state & TS_SLEEP) state 505 sys/kern/sched.c t->state = TS_EXIT; state 596 sys/kern/sched.c if (t->state == TS_RUN) { state 661 sys/kern/sched.c if (dpc->state != DPC_PENDING) state 663 sys/kern/sched.c dpc->state = DPC_PENDING; state 697 sys/kern/sched.c dpc->state = DPC_FREE; state 495 sys/kern/thread.c info->state = t->state; state 592 sys/kern/thread.c idle_thread.state = TS_RUN; state 78 sys/kern/timer.c tmr->state = TM_ACTIVE; state 104 sys/kern/timer.c if (tmr->state == TM_ACTIVE) { state 106 sys/kern/timer.c tmr->state = TM_STOP; state 128 sys/kern/timer.c if (tmr->state == TM_ACTIVE) state 217 sys/kern/timer.c if (tmr->state == TM_ACTIVE) state 263 sys/kern/timer.c if (tmr == NULL || tmr->state != TM_ACTIVE) { state 312 sys/kern/timer.c if (tmr == NULL || tmr->state != TM_ACTIVE) state 365 sys/kern/timer.c tmr->state = TM_STOP; state 114 usr/server/pow/pow.c int state; state 116 usr/server/pow/pow.c state = msg->data[0]; state 117 usr/server/pow/pow.c set_power_state(state); state 189 usr/server/pow/pow.c set_power_state(int state) state 193 usr/server/pow/pow.c DPRINTF(("set_power_state: state=%d\n", state)); state 196 usr/server/pow/pow.c if (state == PWR_OFF || state == PWR_REBOOT) { state 202 usr/server/pow/pow.c device_ioctl(pmdev, PMIOC_SET_POWER, &state); state 219 usr/server/pow/pow.c int sig, event, state; state 240 usr/server/pow/pow.c state = PWR_ON; state 243 usr/server/pow/pow.c state = pmact.pwrbtn; state 246 usr/server/pow/pow.c state = pmact.lowbatt; state 249 usr/server/pow/pow.c state = pmact.slpbtn; state 252 usr/server/pow/pow.c state = pmact.lcdclose; state 255 usr/server/pow/pow.c if (state != PWR_ON) state 256 usr/server/pow/pow.c set_power_state(state); state 135 usr/test/kmon/cmd.c int error, state = PWR_REBOOT; state 138 usr/test/kmon/cmd.c error = device_ioctl(pm_dev, PMIOC_SET_POWER, &state); state 149 usr/test/kmon/cmd.c int error, state = PWR_OFF; state 152 usr/test/kmon/cmd.c error = device_ioctl(pm_dev, PMIOC_SET_POWER, &state); state 44 usr/test/reset/reset.c int state = PWR_REBOOT; state 52 usr/test/reset/reset.c device_ioctl(pm_dev, PMIOC_SET_POWER, &state);