Searched refs:chgpr (Results 1 – 1 of 1) sorted by relevance
196 donice(struct proc *curp, struct process *chgpr, int n) in donice() argument202 ucred->cr_uid != chgpr->ps_ucred->cr_uid && in donice()203 ucred->cr_ruid != chgpr->ps_ucred->cr_uid) in donice()210 if (n < chgpr->ps_nice && suser(curp)) in donice()212 chgpr->ps_nice = n; in donice()213 mtx_enter(&chgpr->ps_mtx); in donice()215 TAILQ_FOREACH(p, &chgpr->ps_threads, p_thr_link) { in donice()219 mtx_leave(&chgpr->ps_mtx); in donice()