/linux-6.3-rc2/drivers/tty/ |
A D | tty_jobctrl.c | 43 pgrp = task_pgrp(current); in __tty_check_change() 46 tty_pgrp = tty->ctrl.pgrp; in __tty_check_change() 56 kill_pgrp(pgrp, sig, 1); in __tty_check_change() 108 put_pid(tty->ctrl.pgrp); in __proc_set_tty() 223 if (tty->ctrl.pgrp) in tty_signal_session_leader() 419 struct pid *pgrp; in tty_get_pgrp() local 422 pgrp = get_pid(tty->ctrl.pgrp); in tty_get_pgrp() 425 return pgrp; in tty_get_pgrp() 490 struct pid *pgrp; in tiocspgrp() local 514 if (!pgrp) in tiocspgrp() [all …]
|
A D | pty.c | 190 struct pid *pgrp; in pty_signal() local 196 pgrp = tty_get_pgrp(tty->link); in pty_signal() 197 if (pgrp) in pty_signal() 198 kill_pgrp(pgrp, sig, 1); in pty_signal() 199 put_pid(pgrp); in pty_signal() 285 struct pid *pgrp, *rpgrp; in pty_resize() local 294 pgrp = tty_get_pgrp(tty); in pty_resize() 297 if (pgrp) in pty_resize() 298 kill_pgrp(pgrp, SIGWINCH, 1); in pty_resize() 299 if (rpgrp != pgrp && rpgrp) in pty_resize() [all …]
|
A D | tty_io.c | 637 put_pid(tty->ctrl.pgrp); in __tty_hangup() 639 tty->ctrl.pgrp = NULL; in __tty_hangup() 1539 put_pid(tty->ctrl.pgrp); in release_one_tty() 2230 if (tty->ctrl.pgrp) { in __tty_fasync() 2231 pid = tty->ctrl.pgrp; in __tty_fasync() 2329 struct pid *pgrp; in tty_do_resize() local 2337 pgrp = tty_get_pgrp(tty); in tty_do_resize() 2338 if (pgrp) in tty_do_resize() 2339 kill_pgrp(pgrp, SIGWINCH, 1); in tty_do_resize() 2340 put_pid(pgrp); in tty_do_resize() [all …]
|
/linux-6.3-rc2/block/ |
A D | ioprio.c | 72 struct pid *pgrp; in SYSCALL_DEFINE3() local 93 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 95 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 98 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 104 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 213 struct pid *pgrp; in SYSCALL_DEFINE2() local 230 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 232 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 234 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 242 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
|
/linux-6.3-rc2/fs/autofs/ |
A D | inode.c | 133 struct inode *root, int *pgrp, bool *pgrp_set, in parse_options() argument 186 *pgrp = option; in parse_options() 228 int pgrp = 0; in autofs_fill_super() local 283 if (parse_options(data, root_inode, &pgrp, &pgrp_set, sbi)) { in autofs_fill_super() 306 sbi->oz_pgrp = find_get_pid(pgrp); in autofs_fill_super() 309 pgrp); in autofs_fill_super()
|
/linux-6.3-rc2/kernel/ |
A D | exit.c | 330 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp() 336 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp() 339 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp() 355 static bool has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument 359 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs() 362 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs() 375 struct pid *pgrp = task_pgrp(tsk); in kill_orphaned_pgrp() local 389 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp() 392 has_stopped_jobs(pgrp)) { in kill_orphaned_pgrp() 393 __kill_pgrp_info(SIGHUP, SEND_SIG_PRIV, pgrp); in kill_orphaned_pgrp() [all …]
|
A D | sys.c | 217 struct pid *pgrp; in SYSCALL_DEFINE3() local 242 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 244 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 287 struct pid *pgrp; in SYSCALL_DEFINE2() local 308 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 310 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 1059 struct pid *pgrp; in SYSCALL_DEFINE2() local 1101 pgrp = task_pid(p); in SYSCALL_DEFINE2() 1105 pgrp = find_vpid(pgid); in SYSCALL_DEFINE2() 1106 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2() [all …]
|
A D | signal.c | 1454 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument 1461 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info() 1465 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
|
/linux-6.3-rc2/drivers/pinctrl/ |
A D | pinctrl-zynqmp.c | 201 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[group]; in zynqmp_pinmux_set_mux() local 204 for (i = 0; i < pgrp->npins; i++) { in zynqmp_pinmux_set_mux() 205 unsigned int pin = pgrp->pins[i]; in zynqmp_pinmux_set_mux() 463 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[selector]; in zynqmp_pinconf_group_set() local 465 for (i = 0; i < pgrp->npins; i++) { in zynqmp_pinconf_group_set() 466 ret = zynqmp_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynqmp_pinconf_group_set()
|
A D | pinctrl-zynq.c | 895 const struct zynq_pctrl_group *pgrp = &pctrl->groups[group]; in zynq_pinmux_set_mux() local 913 reg |= pgrp->pins[0] << func->mux_shift; in zynq_pinmux_set_mux() 919 for (i = 0; i < pgrp->npins; i++) { in zynq_pinmux_set_mux() 920 unsigned int pin = pgrp->pins[i]; in zynq_pinmux_set_mux() 1127 const struct zynq_pctrl_group *pgrp = &pctrl->groups[selector]; in zynq_pinconf_group_set() local 1129 for (i = 0; i < pgrp->npins; i++) { in zynq_pinconf_group_set() 1130 ret = zynq_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynq_pinconf_group_set()
|
A D | pinctrl-bm1880.c | 988 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[group]; in bm1880_pinmux_set_mux() local 992 for (i = 0; i < pgrp->npins; i++) { in bm1880_pinmux_set_mux() 993 unsigned int pin = pgrp->pins[i]; in bm1880_pinmux_set_mux() 1275 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[selector]; in bm1880_pinconf_group_set() local 1277 for (i = 0; i < pgrp->npins; i++) { in bm1880_pinconf_group_set() 1278 ret = bm1880_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in bm1880_pinconf_group_set()
|
/linux-6.3-rc2/arch/um/drivers/ |
A D | line.c | 628 struct pid *pgrp; in winch_interrupt() local 654 pgrp = tty_get_pgrp(tty); in winch_interrupt() 655 if (pgrp) in winch_interrupt() 656 kill_pgrp(pgrp, SIGWINCH, 1); in winch_interrupt() 657 put_pid(pgrp); in winch_interrupt()
|
/linux-6.3-rc2/drivers/pinctrl/intel/ |
A D | pinctrl-intel.c | 900 const struct intel_padgroup *pgrp = &comm->gpps[j]; in intel_gpio_to_pin() local 902 if (pgrp->gpio_base == INTEL_GPIO_BASE_NOMAP) in intel_gpio_to_pin() 905 if (offset >= pgrp->gpio_base && in intel_gpio_to_pin() 906 offset < pgrp->gpio_base + pgrp->size) { in intel_gpio_to_pin() 909 pin = pgrp->base + offset - pgrp->gpio_base; in intel_gpio_to_pin() 913 *padgrp = pgrp; in intel_gpio_to_pin()
|
/linux-6.3-rc2/fs/proc/ |
A D | array.c | 506 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() local 507 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat() 508 put_pid(pgrp); in do_task_stat()
|
/linux-6.3-rc2/include/linux/ |
A D | tty.h | 223 struct pid *pgrp; member
|
/linux-6.3-rc2/include/linux/sched/ |
A D | signal.h | 337 extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp);
|
/linux-6.3-rc2/Documentation/filesystems/ |
A D | autofs.rst | 311 processes is recorded unless the "pgrp=" option is given, in which
|
A D | proc.rst | 336 pgrp pgrp of the process 339 tty_pgrp pgrp of the tty
|