Home
last modified time | relevance | path

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

/kernel/
Dexit.c270 static int will_become_orphaned_pgrp(struct pid *pgrp, in will_become_orphaned_pgrp() argument
275 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp()
281 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp()
284 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp()
300 static bool has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument
304 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs()
307 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs()
320 struct pid *pgrp = task_pgrp(tsk); in kill_orphaned_pgrp() local
334 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp()
336 will_become_orphaned_pgrp(pgrp, ignored_task) && in kill_orphaned_pgrp()
[all …]
Dsys.c204 struct pid *pgrp; in SYSCALL_DEFINE3() local
230 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
232 pgrp = task_pgrp(current); in SYSCALL_DEFINE3()
233 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
235 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
274 struct pid *pgrp; in SYSCALL_DEFINE2() local
296 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
298 pgrp = task_pgrp(current); in SYSCALL_DEFINE2()
299 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
303 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
[all …]
Dsignal.c1418 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument
1425 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info()
1429 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()