Home
last modified time | relevance | path

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

/linux-4.1.27/block/
Dioprio.c67 struct pid *pgrp; in SYSCALL_DEFINE3() local
104 pgrp = task_pgrp(current); in SYSCALL_DEFINE3()
106 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
107 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
111 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
182 struct pid *pgrp; in SYSCALL_DEFINE2() local
199 pgrp = task_pgrp(current); in SYSCALL_DEFINE2()
201 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
202 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
210 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
/linux-4.1.27/fs/autofs4/
Dinode.c130 int *pgrp, bool *pgrp_set, unsigned int *type, in parse_options() argument
176 *pgrp = option; in parse_options()
213 int pgrp = 0; in autofs4_fill_super() local
267 &pgrp, &pgrp_set, &sbi->type, &sbi->min_proto, in autofs4_fill_super()
274 sbi->oz_pgrp = find_get_pid(pgrp); in autofs4_fill_super()
277 pgrp); in autofs4_fill_super()
/linux-4.1.27/drivers/tty/
Dpty.c197 struct pid *pgrp; in pty_signal() local
203 pgrp = tty_get_pgrp(tty->link); in pty_signal()
204 if (pgrp) in pty_signal()
205 kill_pgrp(pgrp, sig, 1); in pty_signal()
206 put_pid(pgrp); in pty_signal()
298 struct pid *pgrp, *rpgrp; in pty_resize() local
307 pgrp = tty_get_pgrp(tty); in pty_resize()
310 if (pgrp) in pty_resize()
311 kill_pgrp(pgrp, SIGWINCH, 1); in pty_resize()
312 if (rpgrp != pgrp && rpgrp) in pty_resize()
[all …]
Dtty_io.c401 if (!tty->pgrp) { in tty_check_change()
405 if (task_pgrp(current) == tty->pgrp) in tty_check_change()
525 put_pid(tty->pgrp); in __proc_set_tty()
526 tty->pgrp = get_pid(task_pgrp(current)); in __proc_set_tty()
627 tty_pgrp = get_pid(tty->pgrp); in tty_signal_session_leader()
628 if (tty->pgrp) in tty_signal_session_leader()
629 p->signal->tty_old_pgrp = get_pid(tty->pgrp); in tty_signal_session_leader()
723 put_pid(tty->pgrp); in __tty_hangup()
725 tty->pgrp = NULL; in __tty_hangup()
926 put_pid(tty->pgrp); in disassociate_ctty()
[all …]
Dn_tty.c2143 if (!tty->pgrp) in job_control()
2145 else if (task_pgrp(current) != tty->pgrp) { in job_control()
/linux-4.1.27/kernel/
Dexit.c222 static int will_become_orphaned_pgrp(struct pid *pgrp, in will_become_orphaned_pgrp() argument
227 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp()
233 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp()
236 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp()
252 static bool has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument
256 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs()
259 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs()
272 struct pid *pgrp = task_pgrp(tsk); in kill_orphaned_pgrp() local
286 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp()
288 will_become_orphaned_pgrp(pgrp, ignored_task) && in kill_orphaned_pgrp()
[all …]
Dsys.c181 struct pid *pgrp; in SYSCALL_DEFINE3() local
207 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
209 pgrp = task_pgrp(current); in SYSCALL_DEFINE3()
210 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
212 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
251 struct pid *pgrp; in SYSCALL_DEFINE2() local
273 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
275 pgrp = task_pgrp(current); in SYSCALL_DEFINE2()
276 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
280 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
[all …]
Dsignal.c1324 int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument
1331 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info()
1335 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-zynq.c846 const struct zynq_pctrl_group *pgrp = &pctrl->groups[group]; in zynq_pinmux_set_mux() local
864 reg |= pgrp->pins[0] << func->mux_shift; in zynq_pinmux_set_mux()
870 for (i = 0; i < pgrp->npins; i++) { in zynq_pinmux_set_mux()
871 unsigned int pin = pgrp->pins[i]; in zynq_pinmux_set_mux()
1079 const struct zynq_pctrl_group *pgrp = &pctrl->groups[selector]; in zynq_pinconf_group_set() local
1081 for (i = 0; i < pgrp->npins; i++) { in zynq_pinconf_group_set()
1082 ret = zynq_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynq_pinconf_group_set()
/linux-4.1.27/arch/um/drivers/
Dline.c635 struct pid *pgrp; in winch_interrupt() local
661 pgrp = tty_get_pgrp(tty); in winch_interrupt()
662 if (pgrp) in winch_interrupt()
663 kill_pgrp(pgrp, SIGWINCH, 1); in winch_interrupt()
664 put_pid(pgrp); in winch_interrupt()
/linux-4.1.27/fs/proc/
Darray.c408 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() local
409 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat()
410 put_pid(pgrp); in do_task_stat()
/linux-4.1.27/include/linux/
Dtty.h283 struct pid *pgrp; /* Protected by ctrl lock */ member
Dsched.h2393 extern int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp);
/linux-4.1.27/Documentation/filesystems/
Dproc.txt283 pgrp pgrp of the process
286 tty_pgrp pgrp of the tty