Symbol: PRIO_PROCESS
bin/csh/proc.c
1314
(void)setpriority(PRIO_PROCESS, 0, t->t_nice);
bin/csh/sem.c
337
(void)setpriority(PRIO_PROCESS, 0, t->t_nice);
bin/csh/time.c
102
(void)setpriority(PRIO_PROCESS, 0, nval);
games/dm/dm.c
117
(void)setpriority(PRIO_PROCESS, 0, priority);
lib/libc/gen/nice.c
61
prio = getpriority(PRIO_PROCESS, 0);
lib/libc/gen/nice.c
64
if (setpriority(PRIO_PROCESS, 0, prio + incr) == -1) {
lib/libc/gen/nice.c
69
return getpriority(PRIO_PROCESS, 0);
lib/libutil/login_cap.c
596
if (setpriority(PRIO_PROCESS, 0, (int)p) == -1)
regress/sys/kern/latency1/latency1.c
125
if (setpriority(PRIO_PROCESS, 0, -20)) {
sbin/shutdown/shutdown.c
229
(void)setpriority(PRIO_PROCESS, 0, PRIO_MIN);
sys/compat/linux/common/linux_misc_notalpha.c
136
SCARG(&bsa, which) = PRIO_PROCESS;
sys/compat/linux32/common/linux32_unistd.c
710
SCARG(&bsa, which) = PRIO_PROCESS;
sys/kern/kern_resource.c
167
case PRIO_PROCESS:
sys/kern/kern_resource.c
227
case PRIO_PROCESS:
tests/lib/libc/gen/t_nice.c
106
pri = getpriority(PRIO_PROCESS, 0);
tests/lib/libc/gen/t_nice.c
122
pri = getpriority(PRIO_PROCESS, 0);
tests/lib/libc/gen/t_nice.c
54
pri = getpriority(PRIO_PROCESS, 0);
usr.bin/login/login.c
178
(void)setpriority(PRIO_PROCESS, 0, 0);
usr.bin/login/login.c
384
(void)setpriority(PRIO_PROCESS, 0, -4);
usr.bin/login/login.c
434
(void)setpriority(PRIO_PROCESS, 0, 0);
usr.bin/login/login_pam.c
136
(void)setpriority(PRIO_PROCESS, 0, 0);
usr.bin/login/login_pam.c
320
(void)setpriority(PRIO_PROCESS, 0, -4);
usr.bin/login/login_pam.c
378
(void)setpriority(PRIO_PROCESS, 0, 0);
usr.bin/nice/nice.c
102
niceness += getpriority(PRIO_PROCESS, 0);
usr.bin/nice/nice.c
107
if (setpriority(PRIO_PROCESS, 0, niceness) == -1) {
usr.bin/pkill/pkill.c
531
if ((oldprio = getpriority(PRIO_PROCESS, kp->p_pid)) == -1 &&
usr.bin/pkill/pkill.c
537
if (setpriority(PRIO_PROCESS, kp->p_pid, nicenum) == -1) {
usr.bin/renice/renice.c
66
int which = PRIO_PROCESS;
usr.bin/renice/renice.c
92
which = PRIO_PROCESS;
usr.bin/su/su.c
176
prio = getpriority(PRIO_PROCESS, 0);
usr.bin/su/su.c
180
(void)setpriority(PRIO_PROCESS, 0, -2);
usr.bin/su/su.c
437
(void)setpriority(PRIO_PROCESS, 0, prio);
usr.bin/su/su_pam.c
170
prio = getpriority(PRIO_PROCESS, 0);
usr.bin/su/su_pam.c
174
(void)setpriority(PRIO_PROCESS, 0, -2);
usr.bin/su/su_pam.c
535
(void)setpriority(PRIO_PROCESS, 0, prio);