Searched refs:p_nice (Results 1 – 9 of 9) sorted by relevance
107 low = td->td_proc->p_nice; in kern_getpriority()113 low = p->p_nice; in kern_getpriority()135 if (p->p_nice < low) in kern_getpriority()136 low = p->p_nice; in kern_getpriority()152 if (p->p_nice < low) in kern_getpriority()153 low = p->p_nice; in kern_getpriority()276 if (n < p->p_nice && priv_check(td, PRIV_SCHED_SETPRIORITY) != 0) in donice()
1673 score = imax(0, sched_interact_score(td) + td->td_proc->p_nice); in sched_priority() 1686 pri += SCHED_PRI_NICE(td->td_proc->p_nice); in sched_priority() 1690 pri, td->td_proc->p_nice, td_get_sched(td)->ts_ticks, in sched_priority() 2318 p->p_nice = nice; in sched_nice()
610 NICE_WEIGHT * (td->td_proc->p_nice - PRIO_MIN); in resetpriority() 836 p->p_nice = nice; in sched_nice()
704 if (p->p_nice > NZERO) in statclock()
518 p->p_nice = NZERO; in proc0_init()
1158 kp->ki_nice = p->p_nice; in fill_kinfo_proc_only()
416 kp->ki_nice = proc.p_nice; in kvm_proclist()
734 signed char p_nice; /* (c) Process "nice" value. */ member
423 if (td->td_proc->p_nice > 0) { in ffs_snapshot() 428 saved_nice = p->p_nice; in ffs_snapshot()