Lines Matching refs: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()
1765 void getrusage(struct task_struct *p, int who, struct rusage *r) in getrusage() argument
1775 if (who == RUSAGE_THREAD) { in getrusage()
1785 switch (who) { in getrusage()
1798 if (who == RUSAGE_CHILDREN) in getrusage()
1829 if (who != RUSAGE_CHILDREN) { in getrusage()
1840 SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru) in SYSCALL_DEFINE2() argument
1844 if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN && in SYSCALL_DEFINE2()
1845 who != RUSAGE_THREAD) in SYSCALL_DEFINE2()
1848 getrusage(current, who, &r); in SYSCALL_DEFINE2()
1853 COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE2() argument
1857 if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN && in COMPAT_SYSCALL_DEFINE2()
1858 who != RUSAGE_THREAD) in COMPAT_SYSCALL_DEFINE2()
1861 getrusage(current, who, &r); in COMPAT_SYSCALL_DEFINE2()