Symbol: PRIO_PROCESS
lib/libc/gen/nice.c
63
prio = getpriority(PRIO_PROCESS, 0);
lib/libc/gen/nice.c
67
if (setpriority(PRIO_PROCESS, 0, prio + incr) == -1)
lib/libc/gen/nice.c
69
return (getpriority(PRIO_PROCESS, 0));
lib/libutil/login_class.c
358
if (setpriority(PRIO_PROCESS, 0, (int)p) != 0)
sbin/shutdown/shutdown.c
225
setpriority(PRIO_PROCESS, 0, PRIO_MIN);
sys/kern/kern_resource.c
198
case PRIO_PROCESS:
sys/kern/kern_resource.c
340
case PRIO_PROCESS:
sys/kern/kern_resource.c
440
case PRIO_PROCESS:
sys/kern/kern_resource.c
97
case PRIO_PROCESS:
test/interbench/interbench.c
212
if (setpriority(PRIO_PROCESS, 0, prio) == -1)
test/sysperf/loop900k.c
58
setpriority(PRIO_PROCESS, 0, 5);
test/sysperf/loop900k.c
63
setpriority(PRIO_PROCESS, 0, 15);
test/sysperf/pipe2.c
88
if (setpriority(PRIO_PROCESS, getpid(), ppri) < 0) {
test/sysperf/pipe900k.c
70
setpriority(PRIO_PROCESS, 0, 5);
test/sysperf/pipe900k.c
83
setpriority(PRIO_PROCESS, 0, 15);
test/sysperf/sleep900k.c
58
setpriority(PRIO_PROCESS, 0, 5);
test/sysperf/sleep900k.c
63
setpriority(PRIO_PROCESS, 0, 15);
test/sysperf/socketpair.c
88
if (setpriority(PRIO_PROCESS, getpid(), ppri) < 0) {
usr.bin/dsynth/build.c
2463
setpriority(PRIO_PROCESS, 0, NiceOpt);
usr.bin/dsynth/subs.c
572
setpriority(PRIO_PROCESS, 0, NiceOpt);
usr.bin/ioprio/ioprio.c
77
if (ioprio_set(PRIO_PROCESS, 0, (int)ioprio))
usr.bin/login/login.c
182
setpriority(PRIO_PROCESS, 0, 0);
usr.bin/login/login.c
327
setpriority(PRIO_PROCESS, 0, -4);
usr.bin/login/login.c
329
setpriority(PRIO_PROCESS, 0, 0);
usr.bin/nice/nice.c
84
niceness += getpriority(PRIO_PROCESS, 0);
usr.bin/nice/nice.c
87
else if (setpriority(PRIO_PROCESS, 0, (int)niceness))
usr.bin/renice/renice.c
63
which = PRIO_PROCESS;
usr.bin/renice/renice.c
87
which = PRIO_PROCESS;
usr.bin/su/su.c
238
prio = getpriority(PRIO_PROCESS, 0);
usr.bin/su/su.c
242
setpriority(PRIO_PROCESS, 0, -2);
usr.bin/su/su.c
391
setpriority(PRIO_PROCESS, 0, prio);
usr.bin/top/commands.c
528
else if (setpriority(PRIO_PROCESS, procnum, prio) == -1)
usr.sbin/watchdogd/watchdogd.c
153
setpriority(PRIO_PROCESS, getpid(), -5);