Home
last modified time | relevance | path

Searched refs:pgrp (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dexit.c327 static int will_become_orphaned_pgrp(struct pid *pgrp, in will_become_orphaned_pgrp() argument
332 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp()
338 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp()
341 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp()
357 static bool has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument
361 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs()
364 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs()
377 struct pid *pgrp = task_pgrp(tsk); in kill_orphaned_pgrp() local
391 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp()
393 will_become_orphaned_pgrp(pgrp, ignored_task) && in kill_orphaned_pgrp()
[all …]
Dsys.c219 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()
[all …]
Dsignal.c1476 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument
1483 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info()
1487 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()