/freebsd-10.0-release/lib/libc/gen/ |
H A D | nice.c | 52 prio = getpriority(PRIO_PROCESS, 0); 55 return (setpriority(PRIO_PROCESS, 0, prio + incr));
|
/freebsd-10.0-release/tools/regression/priv/ |
H A D | priv_sched_setpriority.c | 100 error = setpriority(PRIO_PROCESS, 0, -1); 120 error = setpriority(PRIO_PROCESS, 0, -1); 140 error = setpriority(PRIO_PROCESS, 0, -1);
|
/freebsd-10.0-release/usr.bin/nice/ |
H A D | nice.c | 95 niceness += getpriority(PRIO_PROCESS, 0); 98 else if (setpriority(PRIO_PROCESS, 0, (int)niceness))
|
/freebsd-10.0-release/usr.bin/renice/ |
H A D | renice.c | 74 which = PRIO_PROCESS; 98 which = PRIO_PROCESS;
|
/freebsd-10.0-release/sys/sys/ |
H A D | resource.h | 46 #define PRIO_PROCESS 0 macro
|
/freebsd-10.0-release/contrib/ntp/ntpd/ |
H A D | ntp_util.c | 177 o_prio = getpriority(PRIO_PROCESS,0); /* Save setting */ 191 if ((errno == 0) && (setpriority(PRIO_PROCESS,0,-20) == 0)) 206 setpriority(PRIO_PROCESS, 0, o_prio); /* downshift */
|
H A D | ntpd.c | 427 if (-1 == setpriority(PRIO_PROCESS, 0, NTPD_PRIO))
|
/freebsd-10.0-release/usr.bin/su/ |
H A D | su.c | 248 prio = getpriority(PRIO_PROCESS, 0); 252 setpriority(PRIO_PROCESS, 0, -2); 404 setpriority(PRIO_PROCESS, 0, prio);
|
/freebsd-10.0-release/contrib/opie/ |
H A D | opiesu.c | 366 setpriority(PRIO_PROCESS, 0, -2); 485 setpriority(PRIO_PROCESS, 0, 0);
|
H A D | opielogin.c | 694 setpriority(PRIO_PROCESS, 0, 0);
|
/freebsd-10.0-release/tools/regression/security/proc_to_proc/ |
H A D | scenario.c | 371 getpriority(PRIO_PROCESS, pid1); 378 error = setpriority(PRIO_PROCESS, pid1,
|
/freebsd-10.0-release/usr.bin/login/ |
H A D | login.c | 191 (void)setpriority(PRIO_PROCESS, 0, 0); 335 (void)setpriority(PRIO_PROCESS, 0, -4); 337 (void)setpriority(PRIO_PROCESS, 0, 0);
|
/freebsd-10.0-release/contrib/top/ |
H A D | commands.c | 517 else if (setpriority(PRIO_PROCESS, procnum, prio) == -1)
|
/freebsd-10.0-release/contrib/ntp/include/ |
H A D | l_stdlib.h | 131 #ifdef PRIO_PROCESS
|
/freebsd-10.0-release/sbin/shutdown/ |
H A D | shutdown.c | 229 (void)setpriority(PRIO_PROCESS, 0, PRIO_MIN);
|
/freebsd-10.0-release/release/picobsd/tinyware/login/ |
H A D | pico-login.c | 184 (void)setpriority(PRIO_PROCESS, 0, 0); 341 (void)setpriority(PRIO_PROCESS, 0, -4); 353 (void)setpriority(PRIO_PROCESS, 0, 0);
|
/freebsd-10.0-release/lib/libutil/ |
H A D | login_class.c | 466 if (setpriority(PRIO_PROCESS, 0, (int)p) != 0)
|
/freebsd-10.0-release/contrib/tcsh/ |
H A D | sh.time.c | 162 if (setpriority(PRIO_PROCESS, 0, nval) == -1 && errno)
|
H A D | sh.sem.c | 564 if (setpriority(PRIO_PROCESS, 0, nval) == -1 && errno)
|
H A D | sh.proc.c | 1837 if (setpriority(PRIO_PROCESS, 0, nval) == -1 && errno)
|
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | tcpdump.c | 1810 setpriority(PRIO_PROCESS, 0, NZERO - 1); 1812 setpriority(PRIO_PROCESS, 0, 19);
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_resource.c | 105 case PRIO_PROCESS: 188 case PRIO_PROCESS:
|
/freebsd-10.0-release/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 562 (void) setpriority(PRIO_PROCESS, 0, NTPDATE_PRIO);
|
H A D | ntptimeset.c | 620 (void) setpriority(PRIO_PROCESS, 0, NTPDATE_PRIO);
|
/freebsd-10.0-release/sys/i386/ibcs2/ |
H A D | ibcs2_misc.c | 959 sa.which = PRIO_PROCESS;
|