/Linux-v4.19/drivers/tty/ |
D | tty_jobctrl.c | 34 struct pid *pgrp, *tty_pgrp; in __tty_check_change() local 41 pgrp = task_pgrp(current); in __tty_check_change() 44 tty_pgrp = tty->pgrp; in __tty_check_change() 47 if (tty_pgrp && pgrp != tty->pgrp) { in __tty_check_change() 54 kill_pgrp(pgrp, sig, 1); in __tty_check_change() 104 put_pid(tty->pgrp); in __proc_set_tty() 105 tty->pgrp = get_pid(task_pgrp(current)); in __proc_set_tty() 215 tty_pgrp = get_pid(tty->pgrp); in tty_signal_session_leader() 216 if (tty->pgrp) in tty_signal_session_leader() 217 p->signal->tty_old_pgrp = get_pid(tty->pgrp); in tty_signal_session_leader() [all …]
|
D | pty.c | 209 struct pid *pgrp; in pty_signal() local 215 pgrp = tty_get_pgrp(tty->link); in pty_signal() 216 if (pgrp) in pty_signal() 217 kill_pgrp(pgrp, sig, 1); in pty_signal() 218 put_pid(pgrp); in pty_signal() 304 struct pid *pgrp, *rpgrp; in pty_resize() local 313 pgrp = tty_get_pgrp(tty); in pty_resize() 316 if (pgrp) in pty_resize() 317 kill_pgrp(pgrp, SIGWINCH, 1); in pty_resize() 318 if (rpgrp != pgrp && rpgrp) in pty_resize() [all …]
|
D | tty_io.c | 627 put_pid(tty->pgrp); in __tty_hangup() 629 tty->pgrp = NULL; in __tty_hangup() 1444 put_pid(tty->pgrp); in release_one_tty() 2116 if (tty->pgrp) { in __tty_fasync() 2117 pid = tty->pgrp; in __tty_fasync() 2215 struct pid *pgrp; in tty_do_resize() local 2223 pgrp = tty_get_pgrp(tty); in tty_do_resize() 2224 if (pgrp) in tty_do_resize() 2225 kill_pgrp(pgrp, SIGWINCH, 1); in tty_do_resize() 2226 put_pid(pgrp); in tty_do_resize() [all …]
|
/Linux-v4.19/block/ |
D | ioprio.c | 97 struct pid *pgrp; in SYSCALL_DEFINE3() local 118 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 120 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 121 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 125 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 189 struct pid *pgrp; in SYSCALL_DEFINE2() local 206 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 208 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 209 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 217 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
|
/Linux-v4.19/fs/autofs/ |
D | inode.c | 128 int *pgrp, bool *pgrp_set, unsigned int *type, in parse_options() argument 175 *pgrp = option; in parse_options() 212 int pgrp = 0; in autofs_fill_super() local 266 &pgrp, &pgrp_set, &sbi->type, &sbi->min_proto, in autofs_fill_super() 290 sbi->oz_pgrp = find_get_pid(pgrp); in autofs_fill_super() 293 pgrp); in autofs_fill_super()
|
/Linux-v4.19/kernel/ |
D | exit.c | 330 static int will_become_orphaned_pgrp(struct pid *pgrp, in will_become_orphaned_pgrp() argument 335 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp() 341 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp() 344 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp() 360 static bool has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument 364 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs() 367 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs() 380 struct pid *pgrp = task_pgrp(tsk); in kill_orphaned_pgrp() local 394 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp() 396 will_become_orphaned_pgrp(pgrp, ignored_task) && in kill_orphaned_pgrp() [all …]
|
D | sys.c | 199 struct pid *pgrp; in SYSCALL_DEFINE3() local 225 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 227 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 228 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 230 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 269 struct pid *pgrp; in SYSCALL_DEFINE2() local 291 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 293 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 294 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 298 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2() [all …]
|
D | signal.c | 1338 int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument 1345 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info() 1349 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
|
/Linux-v4.19/drivers/pinctrl/ |
D | pinctrl-zynq.c | 906 const struct zynq_pctrl_group *pgrp = &pctrl->groups[group]; in zynq_pinmux_set_mux() local 924 reg |= pgrp->pins[0] << func->mux_shift; in zynq_pinmux_set_mux() 930 for (i = 0; i < pgrp->npins; i++) { in zynq_pinmux_set_mux() 931 unsigned int pin = pgrp->pins[i]; in zynq_pinmux_set_mux() 1139 const struct zynq_pctrl_group *pgrp = &pctrl->groups[selector]; in zynq_pinconf_group_set() local 1141 for (i = 0; i < pgrp->npins; i++) { in zynq_pinconf_group_set() 1142 ret = zynq_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynq_pinconf_group_set()
|
/Linux-v4.19/arch/um/drivers/ |
D | line.c | 636 struct pid *pgrp; in winch_interrupt() local 662 pgrp = tty_get_pgrp(tty); in winch_interrupt() 663 if (pgrp) in winch_interrupt() 664 kill_pgrp(pgrp, SIGWINCH, 1); in winch_interrupt() 665 put_pid(pgrp); in winch_interrupt()
|
/Linux-v4.19/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 772 const struct intel_padgroup *pgrp = &comm->gpps[j]; in intel_gpio_to_pin() local 774 if (pgrp->gpio_base < 0) in intel_gpio_to_pin() 777 if (offset >= pgrp->gpio_base && in intel_gpio_to_pin() 778 offset < pgrp->gpio_base + pgrp->size) { in intel_gpio_to_pin() 781 pin = pgrp->base + offset - pgrp->gpio_base; in intel_gpio_to_pin() 785 *padgrp = pgrp; in intel_gpio_to_pin()
|
/Linux-v4.19/fs/proc/ |
D | array.c | 473 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() local 474 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat() 475 put_pid(pgrp); in do_task_stat()
|
/Linux-v4.19/include/linux/sched/ |
D | signal.h | 328 extern int __kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp);
|
/Linux-v4.19/include/linux/ |
D | tty.h | 306 struct pid *pgrp; /* Protected by ctrl lock */ member
|
/Linux-v4.19/Documentation/filesystems/ |
D | proc.txt | 304 pgrp pgrp of the process 307 tty_pgrp pgrp of the tty
|