Home
last modified time | relevance | path

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

/kernel/
Dexit.c318 static int will_become_orphaned_pgrp(struct pid *pgrp, in will_become_orphaned_pgrp() argument
323 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp()
329 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp()
332 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp()
348 static bool has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument
352 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs()
355 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs()
368 struct pid *pgrp = task_pgrp(tsk); in kill_orphaned_pgrp() local
382 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp()
384 will_become_orphaned_pgrp(pgrp, ignored_task) && in kill_orphaned_pgrp()
[all …]
Dsys.c213 struct pid *pgrp; in SYSCALL_DEFINE3() local
239 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
241 pgrp = task_pgrp(current); in SYSCALL_DEFINE3()
242 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
244 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
283 struct pid *pgrp; in SYSCALL_DEFINE2() local
305 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
307 pgrp = task_pgrp(current); in SYSCALL_DEFINE2()
308 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
312 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
[all …]
Dsignal.c1436 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument
1443 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info()
1447 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()