Searched refs:p_nice (Results 1 – 10 of 10) sorted by relevance
110 low = td->td_proc->p_nice; in kern_getpriority()116 low = p->p_nice; in kern_getpriority()138 if (p->p_nice < low) in kern_getpriority()139 low = p->p_nice; in kern_getpriority()155 if (p->p_nice < low) in kern_getpriority()156 low = p->p_nice; in kern_getpriority()279 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()
520 p->p_nice = NZERO; in proc0_init()
1165 kp->ki_nice = p->p_nice; in fill_kinfo_proc_only()
703 pri -= p->p_nice * 8; in swapper_selector()
416 kp->ki_nice = proc.p_nice; in kvm_proclist()
737 signed char p_nice; /* (c) Process "nice" value. */ member
425 if (td->td_proc->p_nice > 0) { in ffs_snapshot()430 saved_nice = p->p_nice; in ffs_snapshot()