Home
last modified time | relevance | path

Searched refs:p_nice (Results 1 – 9 of 9) sorted by relevance

/xnu-12377.41.6/bsd/kern/
H A Dkern_resource.c216 low = p->p_nice; in getpriority()
222 low = p->p_nice; in getpriority()
239 if (p->p_nice < low) { in getpriority()
240 low = p->p_nice; in getpriority()
258 p->p_nice < low) { in getpriority()
259 low = p->p_nice; in getpriority()
714 if (n < chgp->p_nice && suser(ucred, &curp->p_acflag)) { in donice()
725 chgp->p_nice = (char)n; in donice()
H A Dkern_synch.c452 (void)task_importance(proc_task(p), -p->p_nice); in resetpriority()
H A Dkern_sig.c2220 if (sig_proc->p_nice > NZERO && action == SIG_DFL && (prop & SA_KILL) && in psignal_internal()
2222 sig_proc->p_nice = NZERO; in psignal_internal()
2265 if ((signum == SIGKILL) && (sig_proc->p_nice > NZERO)) { in psignal_internal()
2266 sig_proc->p_nice = NZERO; in psignal_internal()
H A Dbsd_init.c538 kernproc->p_nice = NZERO; in bsd_init()
H A Dkern_fork.c504 if (child_proc->p_nice != 0) { in fork_create_child()
H A Dkern_sysctl.c1189 exp->p_nice = p->p_nice;
1248 exp->p_nice = p->p_nice;
H A Dproc_info.c702 pbsd->pbi_nice = p->p_nice; in proc_pidbsdinfo()
/xnu-12377.41.6/bsd/sys/
H A Dproc_internal.h390 char p_nice; /* Process "nice" value.(PL) */
680 char p_nice; /* Process "nice" value. */ member
732 char p_nice; /* Process "nice" value. */ member
H A Dproc.h149 char p_nice; /* Process "nice" value. */ member