Lines Matching defs:who
218 SYSCALL_DEFINE3(setpriority, int, which, int, who, int, niceval)
240 if (who)
241 p = find_task_by_vpid(who);
248 if (who)
249 pgrp = find_vpid(who);
259 uid = make_kuid(cred->user_ns, who);
261 if (!who)
288 SYSCALL_DEFINE2(getpriority, int, which, int, who)
303 if (who)
304 p = find_task_by_vpid(who);
314 if (who)
315 pgrp = find_vpid(who);
327 uid = make_kuid(cred->user_ns, who);
329 if (!who)
1065 * understand sessions/pgrp etc. Let somebody who does explain it.
1783 void getrusage(struct task_struct *p, int who, struct rusage *r)
1798 if (who == RUSAGE_THREAD) {
1807 switch (who) {
1820 if (who == RUSAGE_CHILDREN)
1851 if (who == RUSAGE_CHILDREN)
1871 SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru)
1875 if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN &&
1876 who != RUSAGE_THREAD)
1879 getrusage(current, who, &r);
1884 COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru)
1888 if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN &&
1889 who != RUSAGE_THREAD)
1892 getrusage(current, who, &r);