Lines Matching refs:who
85 int who; member
92 return (kern_getpriority(td, uap->which, uap->who)); in sys_getpriority()
96 kern_getpriority(struct thread *td, int which, int who) in kern_getpriority() argument
106 if (who == 0) in kern_getpriority()
109 p = pfind(who); in kern_getpriority()
120 if (who == 0) { in kern_getpriority()
124 pg = pgfind(who); in kern_getpriority()
144 if (who == 0) in kern_getpriority()
145 who = td->td_ucred->cr_uid; in kern_getpriority()
151 p->p_ucred->cr_uid == who) { in kern_getpriority()
173 int who; member
181 return (kern_setpriority(td, uap->which, uap->who, uap->prio)); in sys_setpriority()
185 kern_setpriority(struct thread *td, int which, int who, int prio) in kern_setpriority() argument
194 if (who == 0) { in kern_setpriority()
199 p = pfind(who); in kern_setpriority()
212 if (who == 0) { in kern_setpriority()
216 pg = pgfind(who); in kern_setpriority()
236 if (who == 0) in kern_setpriority()
237 who = td->td_ucred->cr_uid; in kern_setpriority()
242 p->p_ucred->cr_uid == who && in kern_setpriority()
1160 int who; member
1170 error = kern_getrusage(td, uap->who, &ru); in sys_getrusage()
1177 kern_getrusage(struct thread *td, int who, struct rusage *rup) in kern_getrusage() argument
1185 switch (who) { in kern_getrusage()