Lines Matching refs:pgrp
219 struct pid *pgrp; in SYSCALL_DEFINE3() local
244 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
246 pgrp = task_pgrp(current); in SYSCALL_DEFINE3()
248 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
250 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
289 struct pid *pgrp; in SYSCALL_DEFINE2() local
310 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
312 pgrp = task_pgrp(current); in SYSCALL_DEFINE2()
314 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
318 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
1072 struct pid *pgrp; in SYSCALL_DEFINE2() local
1114 pgrp = task_pid(p); in SYSCALL_DEFINE2()
1118 pgrp = find_vpid(pgid); in SYSCALL_DEFINE2()
1119 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2()
1128 if (task_pgrp(p) != pgrp) in SYSCALL_DEFINE2()
1129 change_pid(p, PIDTYPE_PGID, pgrp); in SYSCALL_DEFINE2()