Home
last modified time | relevance | path

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

/kernel/
Dexit.c234 struct pid *session_of_pgrp(struct pid *pgrp) in session_of_pgrp() argument
239 p = pid_task(pgrp, PIDTYPE_PGID); in session_of_pgrp()
241 p = pid_task(pgrp, PIDTYPE_PID); in session_of_pgrp()
256 static int will_become_orphaned_pgrp(struct pid *pgrp, struct task_struct *ignored_task) in will_become_orphaned_pgrp() argument
260 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp()
266 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp()
269 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp()
285 static int has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument
290 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs()
295 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs()
[all …]
Dsys.c152 struct pid *pgrp; in SYSCALL_DEFINE3() local
176 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
178 pgrp = task_pgrp(current); in SYSCALL_DEFINE3()
179 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
181 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
217 struct pid *pgrp; in SYSCALL_DEFINE2() local
237 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
239 pgrp = task_pgrp(current); in SYSCALL_DEFINE2()
240 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
244 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
[all …]
Dsignal.c1056 int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument
1063 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info()
1067 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()