Lines Matching refs:who

210 SYSCALL_DEFINE3(setpriority, int, which, int, who, int, niceval)  in SYSCALL_DEFINE3()  argument
232 if (who) in SYSCALL_DEFINE3()
233 p = find_task_by_vpid(who); in SYSCALL_DEFINE3()
240 if (who) in SYSCALL_DEFINE3()
241 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
251 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE3()
253 if (!who) in SYSCALL_DEFINE3()
280 SYSCALL_DEFINE2(getpriority, int, which, int, who) in SYSCALL_DEFINE2() argument
295 if (who) in SYSCALL_DEFINE2()
296 p = find_task_by_vpid(who); in SYSCALL_DEFINE2()
306 if (who) in SYSCALL_DEFINE2()
307 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
319 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE2()
321 if (!who) in SYSCALL_DEFINE2()
1760 void getrusage(struct task_struct *p, int who, struct rusage *r) in getrusage() argument
1770 if (who == RUSAGE_THREAD) { in getrusage()
1780 switch (who) { in getrusage()
1793 if (who == RUSAGE_CHILDREN) in getrusage()
1824 if (who != RUSAGE_CHILDREN) { in getrusage()
1835 SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru) in SYSCALL_DEFINE2() argument
1839 if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN && in SYSCALL_DEFINE2()
1840 who != RUSAGE_THREAD) in SYSCALL_DEFINE2()
1843 getrusage(current, who, &r); in SYSCALL_DEFINE2()
1848 COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE2() argument
1852 if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN && in COMPAT_SYSCALL_DEFINE2()
1853 who != RUSAGE_THREAD) in COMPAT_SYSCALL_DEFINE2()
1856 getrusage(current, who, &r); in COMPAT_SYSCALL_DEFINE2()