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