policy 234 bsp/drv/dev/base/kd.c pol[ti.policy], ti.priority, ti.basepri, policy 54 bsp/drv/dev/base/pm.c int policy; /* power management policy */ policy 134 bsp/drv/dev/base/pm.c int policy, state, event; policy 173 bsp/drv/dev/base/pm.c if (copyout(&sc->policy, arg, sizeof(int))) policy 175 bsp/drv/dev/base/pm.c DPRINTF(("pm: get policy %d\n", sc->policy)); policy 179 bsp/drv/dev/base/pm.c if (copyin(arg, &policy, sizeof(int))) policy 181 bsp/drv/dev/base/pm.c if (policy != PM_POWERSAVE && policy != PM_PERFORMANCE) policy 184 bsp/drv/dev/base/pm.c DPRINTF(("pm: set policy %d\n", policy)); policy 186 bsp/drv/dev/base/pm.c if (policy == sc->policy) { policy 191 bsp/drv/dev/base/pm.c device_broadcast(DEVCTL_PM_CHGPOLICY, &policy, 1); policy 193 bsp/drv/dev/base/pm.c sc->policy = policy; policy 194 bsp/drv/dev/base/pm.c if (policy == PM_POWERSAVE) policy 254 bsp/drv/dev/base/pm.c if (sc->policy != PM_POWERSAVE) policy 511 bsp/drv/dev/base/pm.c sc->policy = DEFAULT_POWER_POLICY; policy 524 bsp/drv/dev/base/pm.c (sc->policy == PM_POWERSAVE) ? "power save" : "performance")); policy 328 bsp/drv/dev/cpufreq/cpufreq.c int policy; policy 338 bsp/drv/dev/cpufreq/cpufreq.c policy = *(int *)arg; policy 339 bsp/drv/dev/cpufreq/cpufreq.c DPRINTF(("cpufreq: policy=%d\n", policy)); policy 340 bsp/drv/dev/cpufreq/cpufreq.c if (policy == PM_POWERSAVE) policy 354 bsp/drv/dev/cpufreq/cpufreq.c int policy; policy 366 bsp/drv/dev/cpufreq/cpufreq.c policy = DEFAULT_POWER_POLICY; policy 367 bsp/drv/dev/cpufreq/cpufreq.c if (policy == PM_POWERSAVE) policy 105 include/sys/prex.h int thread_getpolicy(thread_t t, int *policy); policy 106 include/sys/prex.h int thread_setpolicy(thread_t t, int policy); policy 86 include/sys/sysinfo.h int policy; /* scheduling policy */ policy 51 sys/include/thread.h int policy; /* scheduling policy */ policy 454 sys/kern/sched.c if (curthread->policy == SCHED_RR) { policy 471 sys/kern/sched.c sched_start(thread_t t, int pri, int policy) policy 475 sys/kern/sched.c t->policy = policy; policy 478 sys/kern/sched.c if (t->policy == SCHED_RR) policy 617 sys/kern/sched.c return t->policy; policy 624 sys/kern/sched.c sched_setpolicy(thread_t t, int policy) policy 628 sys/kern/sched.c switch (policy) { policy 632 sys/kern/sched.c t->policy = policy; policy 301 sys/kern/thread.c int pri, policy; policy 368 sys/kern/thread.c policy = sched_getpolicy(t); policy 369 sys/kern/thread.c if (copyout(&policy, param, sizeof(policy))) policy 374 sys/kern/thread.c if (copyin(param, &policy, sizeof(policy))) { policy 378 sys/kern/thread.c error = sched_setpolicy(t, policy); policy 496 sys/kern/thread.c info->policy = t->policy; policy 137 usr/bin/ps/ps.c pol[ti.policy], policy 35 usr/lib/prex/syscalls/thread_getpolicy.c thread_getpolicy(thread_t t, int *policy) policy 38 usr/lib/prex/syscalls/thread_getpolicy.c return thread_schedparam(t, 2, policy); policy 35 usr/lib/prex/syscalls/thread_setpolicy.c thread_setpolicy(thread_t t, int policy) policy 38 usr/lib/prex/syscalls/thread_setpolicy.c return thread_schedparam(t, 3, &policy); policy 168 usr/sbin/pmctrl/pmctrl.c int policy; policy 173 usr/sbin/pmctrl/pmctrl.c policy = m.data[0]; policy 175 usr/sbin/pmctrl/pmctrl.c policy == PM_PERFORMANCE ? "high performance" : "power save"); policy 124 usr/server/pow/pow.c int policy; policy 126 usr/server/pow/pow.c device_ioctl(pmdev, PMIOC_GET_POLICY, &policy); policy 127 usr/server/pow/pow.c msg->data[0] = policy; policy 134 usr/server/pow/pow.c int policy; policy 136 usr/server/pow/pow.c policy = msg->data[0]; policy 137 usr/server/pow/pow.c device_ioctl(pmdev, PMIOC_SET_POLICY, &policy);