Searched refs:nice (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_nice.c58 atf_tc_fail("nice(3) value was not propagated to threads");
67 "Test nice(3) for invalid parameters (PR lib/42587)");
84 ATF_REQUIRE_ERRNO(EPERM, nice(i) == -1);
91 atf_tc_set_md_var(tc, "descr", "Test nice(3) vs. getpriority(2)");
106 nic = nice(i);
115 atf_tc_fail("nice(3) and getpriority(2) conflict");
119 * Also verify that the nice(3) values
148 atf_tc_fail("nice(3) value was not inherited");
155 atf_tc_set_md_var(tc, "descr", "Test that nice(3) works");
165 ATF_REQUIRE(nice(
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dnice.c31 static char sccsid[] = "@(#)nice.c 8.1 (Berkeley) 6/4/93";
43 * Backwards compatible nice.
46 nice(int incr) function
/freebsd-11-stable/contrib/tcsh/
H A Dtc.decls.h204 # undef nice macro
205 # define nice(a) xnice(a) macro
H A Dtc.os.h53 # define nice(a) setprio((getpid()),a) macro
H A Dsh.time.c161 (void) nice(nval);
/freebsd-11-stable/sys/sys/
H A Dsched.h86 void sched_nice(struct proc *p, int nice);
/freebsd-11-stable/contrib/bmake/mk/
H A Ddep.mk12 # it would be nice to be able to query .SUFFIXES
H A Dmeta.autodep.mk24 # it would be nice to be able to query .SUFFIXES
163 # it would be nice to be able to get .SUFFIXES as ${.SUFFIXES}
H A Dgendirdeps.mk251 # It would be nice do peform this check for all of DIRDEPS,
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c1548 char nice[32]; local
1551 CTASSERT(sizeof (nice) >= NN_NUMBUF_SZ);
1568 zdb_nicenum(dd->dd_used_bytes, nice, sizeof (nice));
1569 (void) printf("\t\tused_bytes = %s\n", nice);
1570 zdb_nicenum(dd->dd_compressed_bytes, nice, sizeof (nice));
1571 (void) printf("\t\tcompressed_bytes = %s\n", nice);
1572 zdb_nicenum(dd->dd_uncompressed_bytes, nice, sizeof (nice));
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProcess.inc345 // would be nice to avoid a dependency on curses proper when we can make do
/freebsd-11-stable/contrib/ntp/adjtimed/
H A Dadjtimed.c212 if (nice(-10) == -1) {
213 msyslog(LOG_ERR, "nice: %m");
214 perror("adjtimed: nice");
/freebsd-11-stable/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h397 void set_user_nice(VCHIQ_THREAD_T p, int nice);
H A Dvchi_bsd.c511 set_user_nice(VCHIQ_THREAD_T thr, int nice) argument
/freebsd-11-stable/share/mk/
H A Dmeta.autodep.mk25 # it would be nice to be able to query .SUFFIXES
164 # it would be nice to be able to get .SUFFIXES as ${.SUFFIXES}
H A Dgendirdeps.mk249 # It would be nice do peform this check for all of DIRDEPS,
/freebsd-11-stable/contrib/tcp_wrappers/
H A Doptions.c88 static void nice_option(); /* execute "nice" option */
125 "nice", nice_option, OPT_ARG,
355 /* nice_option - set nice value */
367 tcpd_jump("bad nice value: \"%s\"", value);
368 if (dry_run == 0 && nice(niceval) < 0)
369 tcpd_warn("nice(%d): %m", niceval);
/freebsd-11-stable/include/
H A Dunistd.h456 int nice(int);
/freebsd-11-stable/usr.bin/ctlstat/
H A Dctlstat.c85 uint64_t nice; member in struct:ctl_cpu_stats
223 cpu_stats->nice = cp_time[CP_NICE];
402 ctx->cur_cpu.nice + ctx->cur_cpu.system +
/freebsd-11-stable/crypto/heimdal/appl/login/
H A Dlogin.c431 nice(udb->ue_nice[UDBRC_INTER]);
/freebsd-11-stable/libexec/atrun/
H A Datrun.c305 nice(tolower(queue) - 'a');
/freebsd-11-stable/contrib/top/
H A Dtop.c462 /* be very un-nice! */
463 (void) nice(-20);
/freebsd-11-stable/usr.sbin/apmd/
H A Dapmd.c670 nice(NICE_INCR);
/freebsd-11-stable/sys/kern/
H A Dsched_ule.c122 * ranges supporting nice values.
155 * or positive nice respectively.
158 * PRI_NRESV: Number of nice values.
160 * PRI_NICE: Determines the part of the priority inherited from nice.
170 #define SCHED_PRI_NICE(nice) (nice)
1576 * priorities. These threads are not subject to nice restrictions.
1580 * utilization and the rest is decided by nice value.
1582 * The nice value of the process has a linear effect on the calculated
1583 * score. Negative nice value
2160 sched_nice(struct proc *p, int nice) argument
[all...]
H A Dsched_4bsd.c83 #define NICE_WEIGHT 1 /* Priorities per nice level. */
792 sched_nice(struct proc *p, int nice) argument
797 p->p_nice = nice;

Completed in 220 milliseconds

12