/linux-4.4.14/block/ |
D | ioprio.c | 67 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() 183 struct pid *pgrp; in SYSCALL_DEFINE2() local 200 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 202 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 203 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 211 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
|
/linux-4.4.14/drivers/tty/ |
D | tty_io.c | 396 struct pid *pgrp, *tty_pgrp; in __tty_check_change() local 403 pgrp = task_pgrp(current); in __tty_check_change() 406 tty_pgrp = tty->pgrp; in __tty_check_change() 409 if (tty_pgrp && pgrp != tty->pgrp) { in __tty_check_change() 416 kill_pgrp(pgrp, sig, 1); in __tty_check_change() 536 put_pid(tty->pgrp); in __proc_set_tty() 537 tty->pgrp = get_pid(task_pgrp(current)); in __proc_set_tty() 639 tty_pgrp = get_pid(tty->pgrp); in tty_signal_session_leader() 640 if (tty->pgrp) in tty_signal_session_leader() 641 p->signal->tty_old_pgrp = get_pid(tty->pgrp); in tty_signal_session_leader() [all …]
|
D | pty.c | 202 struct pid *pgrp; in pty_signal() local 208 pgrp = tty_get_pgrp(tty->link); in pty_signal() 209 if (pgrp) in pty_signal() 210 kill_pgrp(pgrp, sig, 1); in pty_signal() 211 put_pid(pgrp); in pty_signal() 303 struct pid *pgrp, *rpgrp; in pty_resize() local 312 pgrp = tty_get_pgrp(tty); in pty_resize() 315 if (pgrp) in pty_resize() 316 kill_pgrp(pgrp, SIGWINCH, 1); in pty_resize() 317 if (rpgrp != pgrp && rpgrp) in pty_resize() [all …]
|
/linux-4.4.14/fs/autofs4/ |
D | inode.c | 130 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.4.14/kernel/ |
D | exit.c | 222 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 …]
|
D | sys.c | 181 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 …]
|
D | signal.c | 1273 int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument 1280 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info() 1284 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-zynq.c | 902 const struct zynq_pctrl_group *pgrp = &pctrl->groups[group]; in zynq_pinmux_set_mux() local 920 reg |= pgrp->pins[0] << func->mux_shift; in zynq_pinmux_set_mux() 926 for (i = 0; i < pgrp->npins; i++) { in zynq_pinmux_set_mux() 927 unsigned int pin = pgrp->pins[i]; in zynq_pinmux_set_mux() 1135 const struct zynq_pctrl_group *pgrp = &pctrl->groups[selector]; in zynq_pinconf_group_set() local 1137 for (i = 0; i < pgrp->npins; i++) { in zynq_pinconf_group_set() 1138 ret = zynq_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynq_pinconf_group_set()
|
/linux-4.4.14/arch/um/drivers/ |
D | line.c | 635 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.4.14/fs/proc/ |
D | array.c | 419 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() local 420 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat() 421 put_pid(pgrp); in do_task_stat()
|
/linux-4.4.14/include/linux/ |
D | tty.h | 282 struct pid *pgrp; /* Protected by ctrl lock */ member
|
D | sched.h | 2498 extern int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp);
|
/linux-4.4.14/Documentation/filesystems/ |
D | proc.txt | 286 pgrp pgrp of the process 289 tty_pgrp pgrp of the tty
|