Symbol: sched_priority
lib/libthr/thread/thr_attr.c
238
param->sched_priority = (*attr)->prio;
lib/libthr/thread/thr_attr.c
414
if (param->sched_priority < _thr_priorities[policy-1].pri_min ||
lib/libthr/thread/thr_attr.c
415
param->sched_priority > _thr_priorities[policy-1].pri_max)
lib/libthr/thread/thr_attr.c
425
(*attr)->prio = param->sched_priority;
lib/libthr/thread/thr_create.c
175
sched_param.sched_priority = new_thread->attr.prio;
lib/libthr/thread/thr_getprio.c
47
ret = param.sched_priority;
lib/libthr/thread/thr_getschedparam.c
65
param->sched_priority = pthread->attr.prio;
lib/libthr/thread/thr_init.c
431
thread->attr.prio = sched_param.sched_priority;
lib/libthr/thread/thr_kern.c
72
param->sched_priority = RTP_PRIO_MAX - rtp->prio;
lib/libthr/thread/thr_kern.c
76
param->sched_priority = RTP_PRIO_MAX - rtp->prio;
lib/libthr/thread/thr_kern.c
80
param->sched_priority = 0;
lib/libthr/thread/thr_kern.c
93
rtp->prio = RTP_PRIO_MAX - param->sched_priority;
lib/libthr/thread/thr_kern.c
97
rtp->prio = RTP_PRIO_MAX - param->sched_priority;
lib/libthr/thread/thr_setprio.c
47
param.sched_priority = prio;
lib/libthr/thread/thr_setschedparam.c
63
pthread->attr.prio == param->sched_priority)) {
lib/libthr/thread/thr_setschedparam.c
64
pthread->attr.prio = param->sched_priority;
lib/libthr/thread/thr_setschedparam.c
73
pthread->attr.prio = param->sched_priority;
sys/compat/linux/linux_misc.c
1269
if (sched_param.sched_priority != 0)
sys/compat/linux/linux_misc.c
1272
sched_param.sched_priority =
sys/compat/linux/linux_misc.c
1277
if (sched_param.sched_priority < 1 ||
sys/compat/linux/linux_misc.c
1278
sched_param.sched_priority >= LINUX_MAX_RT_PRIO)
sys/compat/linux/linux_misc.c
1285
sched_param.sched_priority =
sys/compat/linux/linux_misc.c
1286
(sched_param.sched_priority - 1) *
sys/compat/linux/linux_misc.c
1849
if (sched_param.sched_priority != 0) {
sys/compat/linux/linux_misc.c
1853
sched_param.sched_priority =
sys/compat/linux/linux_misc.c
1858
if (sched_param.sched_priority < 1 ||
sys/compat/linux/linux_misc.c
1859
sched_param.sched_priority >= LINUX_MAX_RT_PRIO) {
sys/compat/linux/linux_misc.c
1867
sched_param.sched_priority =
sys/compat/linux/linux_misc.c
1868
(sched_param.sched_priority - 1) *
sys/compat/linux/linux_misc.c
1906
sched_param.sched_priority = 0;
sys/compat/linux/linux_misc.c
1914
sched_param.sched_priority =
sys/compat/linux/linux_misc.c
1915
(sched_param.sched_priority *
sys/kern/ksched.c
147
param->sched_priority = rtpprio_to_p4prio(rtp.prio);
sys/kern/ksched.c
154
param->sched_priority = PRI_MAX_TIMESHARE -
sys/kern/ksched.c
157
param->sched_priority = tsprio_to_p4prio(rtp.prio);
sys/kern/ksched.c
180
if (param->sched_priority >= P1B_PRIO_MIN &&
sys/kern/ksched.c
181
param->sched_priority <= P1B_PRIO_MAX) {
sys/kern/ksched.c
182
rtp.prio = p4prio_to_rtpprio(param->sched_priority);
sys/kern/ksched.c
191
if (param->sched_priority >= 0 && param->sched_priority <=
sys/kern/ksched.c
194
rtp.prio = p4prio_to_tsprio(param->sched_priority);
sys/kern/sched_4bsd.c
135
static void sched_priority(struct thread *td, u_char prio);
sys/kern/sched_4bsd.c
883
sched_priority(td, prio);
sys/kern/sched_4bsd.c
928
sched_priority(td, prio);
sys/kern/sched_ule.c
2441
sched_priority(td);
sys/kern/sched_ule.c
2521
sched_priority(child);
sys/kern/sched_ule.c
2524
sched_priority(td);
sys/kern/sched_ule.c
2621
sched_priority(td);
sys/kern/sched_ule.c
2740
sched_priority(td);
sys/kern/sched_ule.c
2891
sched_priority(td);
sys/kern/sched_ule.c
354
static void sched_priority(struct thread *);
sys/sys/sched.h
352
int sched_priority;
tests/sys/kern/ptrace_test.c
2025
sched_param.sched_priority =
tests/sys/kern/ptrace_test.c
2030
sched_param.sched_priority -= 1;
tests/sys/kern/ptrace_test.c
2128
sched_param.sched_priority =
tests/sys/kern/ptrace_test.c
2133
sched_param.sched_priority -= 1;
tools/regression/p1003_1b/fifo.c
109
fifo_param.sched_priority = 1;
tools/regression/p1003_1b/sched.c
166
sched_text(orig_scheduler), orig_param.sched_priority);
tools/regression/p1003_1b/sched.c
173
rt_param.sched_priority = fifo_schedmin;
tools/regression/p1003_1b/sched.c
182
if (shouldbe.sched_priority != fifo_schedmin)
tools/regression/p1003_1b/sched.c
185
rt_param.sched_priority = fifo_schedmin;
tools/regression/p1003_1b/sched.c
190
rt_param.sched_priority = fifo_schedmin + 1;
tools/regression/p1003_1b/sched.c
198
if (shouldbe.sched_priority != fifo_schedmin + 1)
tools/regression/p1003_1b/sched.c
235
rt_param.sched_priority = fifo_schedmax;
tools/regression/p1003_1b/sched.c
253
rt_param.sched_priority--;
tools/regression/p1003_1b/sched.c
262
rt_param.sched_priority--;
tools/regression/p1003_1b/sched.c
265
if (rt_param.sched_priority < fifo_schedmin)
tools/regression/p1003_1b/sched.c
276
if (!me || rt_param.sched_priority != 0)
tools/regression/p1003_1b/sched.c
280
(long)me, rt_param.sched_priority + 1);
tools/regression/p1003_1b/yield.c
106
if (got.sched_priority != set.sched_priority) {
tools/regression/p1003_1b/yield.c
123
if (got.sched_priority != set.sched_priority) {
tools/regression/p1003_1b/yield.c
76
set.sched_priority = sched_get_priority_max(SCHED_FIFO);
tools/regression/p1003_1b/yield.c
77
if (set.sched_priority == -1 && errno) {
tools/tools/netmap/nmreplay.c
664
p.sched_priority = 10; // 99 on linux ?
usr.bin/truss/syscalls.c
2653
fprintf(fp, "{ %d }", sp.sched_priority);