Symbol: setpriority
bin/csh/proc.c
1314
(void) setpriority(PRIO_PROCESS, 0, t->t_nice);
bin/csh/sem.c
336
(void) setpriority(PRIO_PROCESS, 0, t->t_nice);
bin/csh/time.c
86
(void) setpriority(PRIO_PROCESS, 0, nval);
lib/libc/gen/login_cap.c
687
if (setpriority(PRIO_PROCESS, 0, (int)p) == -1)
lib/libc/gen/nice.c
50
if (setpriority(PRIO_PROCESS, 0, prio) != 0)
lib/libc/hidden/sys/resource.h
26
PROTO_NORMAL(setpriority);
libexec/login_chpass/login_chpass.c
59
(void)setpriority(PRIO_PROCESS, 0, 0);
libexec/login_lchpass/login_lchpass.c
117
(void)setpriority(PRIO_PROCESS, 0, -4);
libexec/login_lchpass/login_lchpass.c
72
(void)setpriority(PRIO_PROCESS, 0, 0);
libexec/login_ldap/login_ldap.c
78
(void)setpriority(PRIO_PROCESS, 0, 0);
libexec/login_passwd/login_passwd.c
132
(void)setpriority(PRIO_PROCESS, 0, -4);
libexec/login_passwd/login_passwd.c
64
(void)setpriority(PRIO_PROCESS, 0, 0);
libexec/login_reject/login_reject.c
59
(void)setpriority(PRIO_PROCESS, 0, 0);
libexec/login_skey/login_skey.c
67
(void)setpriority(PRIO_PROCESS, 0, 0);
libexec/login_token/login_token.c
69
(void)setpriority(PRIO_PROCESS, 0, 0);
libexec/login_yubikey/login_yubikey.c
73
setpriority(PRIO_PROCESS, 0, 0);
sbin/shutdown/shutdown.c
240
(void)setpriority(PRIO_PROCESS, 0, PRIO_MIN);
sys/kern/kern_resource.c
216
setpriority(p, p->p_estcpu, n);
sys/kern/sched_bsd.c
275
setpriority(p, newcpu, p->p_p->ps_nice);
sys/kern/sched_bsd.c
497
setpriority(p, newcpu, pr->ps_nice);
sys/kern/sched_bsd.c
543
setpriority(p, newcpu, p->p_p->ps_nice);
sys/sys/proc.h
586
void setpriority(struct proc *, uint32_t, uint8_t);
sys/sys/resource.h
123
int setpriority(int, id_t, int);
usr.bin/login/login.c
325
(void)setpriority(PRIO_PROCESS, 0, 0);
usr.bin/nice/nice.c
87
if (setpriority(PRIO_PROCESS, 0, prio))
usr.bin/renice/renice.c
172
if (setpriority(p->id_type, p->id, new) == -1) {
usr.bin/sndiod/sndiod.c
699
if (setpriority(PRIO_PROCESS, 0, SNDIO_PRIO) == -1)
usr.bin/su/su.c
124
setpriority(PRIO_PROCESS, 0, -2);
usr.bin/su/su.c
345
setpriority(PRIO_PROCESS, 0, prio);
usr.bin/top/commands.c
390
} else if (setpriority(PRIO_PROCESS, procnum, prio) == -1) {
usr.sbin/cron/atrun.c
517
if (setpriority(PRIO_PROCESS, 0, job->queue - 'b') != 0)
usr.sbin/ntpd/constraint.c
374
if (setpriority(PRIO_PROCESS, 0, 0) == -1)
usr.sbin/ntpd/ntp_dns.c
66
if (setpriority(PRIO_PROCESS, 0, 0) == -1)
usr.sbin/ntpd/ntpd.c
239
if (setpriority(PRIO_PROCESS, 0, -20) == -1)
usr.sbin/pppd/main.c
1149
if (setpriority (PRIO_PROCESS, 0, 0) < 0)
usr.sbin/tokenadm/tokenadm.c
87
(void)setpriority(PRIO_PROCESS, 0, 0);
usr.sbin/tokeninit/tokeninit.c
74
(void)setpriority(PRIO_PROCESS, 0, 0);
usr.sbin/watchdogd/watchdogd.c
154
setpriority(PRIO_PROCESS, getpid(), -5);