Lines Matching full:who
211 SYSCALL_DEFINE3(setpriority, int, which, int, who, int, niceval) in SYSCALL_DEFINE3() argument
233 if (who) in SYSCALL_DEFINE3()
234 p = find_task_by_vpid(who); in SYSCALL_DEFINE3()
241 if (who) in SYSCALL_DEFINE3()
242 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
252 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE3()
254 if (!who) in SYSCALL_DEFINE3()
281 SYSCALL_DEFINE2(getpriority, int, which, int, who) in SYSCALL_DEFINE2() argument
296 if (who) in SYSCALL_DEFINE2()
297 p = find_task_by_vpid(who); in SYSCALL_DEFINE2()
307 if (who) in SYSCALL_DEFINE2()
308 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
320 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE2()
322 if (!who) in SYSCALL_DEFINE2()
1047 * understand sessions/pgrp etc. Let somebody who does explain it.
1763 void getrusage(struct task_struct *p, int who, struct rusage *r) in getrusage() argument
1773 if (who == RUSAGE_THREAD) { in getrusage()
1783 switch (who) { in getrusage()
1796 if (who == RUSAGE_CHILDREN) in getrusage()
1827 if (who != RUSAGE_CHILDREN) { in getrusage()
1838 SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru) in SYSCALL_DEFINE2() argument
1842 if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN && in SYSCALL_DEFINE2()
1843 who != RUSAGE_THREAD) in SYSCALL_DEFINE2()
1846 getrusage(current, who, &r); in SYSCALL_DEFINE2()
1851 COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE2() argument
1855 if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN && in COMPAT_SYSCALL_DEFINE2()
1856 who != RUSAGE_THREAD) in COMPAT_SYSCALL_DEFINE2()
1859 getrusage(current, who, &r); in COMPAT_SYSCALL_DEFINE2()