/linux-5.19.10/drivers/tty/ |
D | tty_jobctrl.c | 36 struct pid *pgrp, *tty_pgrp; in __tty_check_change() local 43 pgrp = task_pgrp(current); in __tty_check_change() 46 tty_pgrp = tty->ctrl.pgrp; in __tty_check_change() 49 if (tty_pgrp && pgrp != tty_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() 109 tty->ctrl.pgrp = get_pid(task_pgrp(current)); in __proc_set_tty() 222 tty_pgrp = get_pid(tty->ctrl.pgrp); in tty_signal_session_leader() 223 if (tty->ctrl.pgrp) in tty_signal_session_leader() 225 get_pid(tty->ctrl.pgrp); in tty_signal_session_leader() [all …]
|
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 …]
|
D | tty_io.c | 643 put_pid(tty->ctrl.pgrp); in __tty_hangup() 645 tty->ctrl.pgrp = NULL; in __tty_hangup() 1544 put_pid(tty->ctrl.pgrp); in release_one_tty() 2235 if (tty->ctrl.pgrp) { in __tty_fasync() 2236 pid = tty->ctrl.pgrp; in __tty_fasync() 2330 struct pid *pgrp; in tty_do_resize() local 2338 pgrp = tty_get_pgrp(tty); in tty_do_resize() 2339 if (pgrp) in tty_do_resize() 2340 kill_pgrp(pgrp, SIGWINCH, 1); in tty_do_resize() 2341 put_pid(pgrp); in tty_do_resize() [all …]
|
/linux-5.19.10/block/ |
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() 171 struct pid *pgrp; in SYSCALL_DEFINE2() local 188 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 190 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 192 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 200 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
|
/linux-5.19.10/fs/autofs/ |
D | inode.c | 132 struct inode *root, int *pgrp, bool *pgrp_set, in parse_options() argument 185 *pgrp = option; in parse_options() 227 int pgrp = 0; in autofs_fill_super() local 282 if (parse_options(data, root_inode, &pgrp, &pgrp_set, sbi)) { in autofs_fill_super() 305 sbi->oz_pgrp = find_get_pid(pgrp); in autofs_fill_super() 308 pgrp); in autofs_fill_super()
|
/linux-5.19.10/kernel/ |
D | exit.c | 273 static int will_become_orphaned_pgrp(struct pid *pgrp, in will_become_orphaned_pgrp() argument 278 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp() 284 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp() 287 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp() 303 static bool has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument 307 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs() 310 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs() 323 struct pid *pgrp = task_pgrp(tsk); in kill_orphaned_pgrp() local 337 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp() 339 will_become_orphaned_pgrp(pgrp, ignored_task) && in kill_orphaned_pgrp() [all …]
|
D | sys.c | 216 struct pid *pgrp; in SYSCALL_DEFINE3() local 241 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 243 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 245 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 247 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 286 struct pid *pgrp; in SYSCALL_DEFINE2() local 307 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 309 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 311 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 315 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2() [all …]
|
D | signal.c | 1453 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument 1460 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info() 1464 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
|
/linux-5.19.10/drivers/pinctrl/ |
D | pinctrl-zynqmp.c | 196 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[group]; in zynqmp_pinmux_set_mux() local 199 for (i = 0; i < pgrp->npins; i++) { in zynqmp_pinmux_set_mux() 200 unsigned int pin = pgrp->pins[i]; in zynqmp_pinmux_set_mux() 458 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[selector]; in zynqmp_pinconf_group_set() local 460 for (i = 0; i < pgrp->npins; i++) { in zynqmp_pinconf_group_set() 461 ret = zynqmp_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynqmp_pinconf_group_set()
|
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()
|
D | pinctrl-bm1880.c | 986 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[group]; in bm1880_pinmux_set_mux() local 990 for (i = 0; i < pgrp->npins; i++) { in bm1880_pinmux_set_mux() 991 unsigned int pin = pgrp->pins[i]; in bm1880_pinmux_set_mux() 1273 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[selector]; in bm1880_pinconf_group_set() local 1275 for (i = 0; i < pgrp->npins; i++) { in bm1880_pinconf_group_set() 1276 ret = bm1880_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in bm1880_pinconf_group_set()
|
/linux-5.19.10/arch/um/drivers/ |
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-5.19.10/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 876 const struct intel_padgroup *pgrp = &comm->gpps[j]; in intel_gpio_to_pin() local 878 if (pgrp->gpio_base == INTEL_GPIO_BASE_NOMAP) in intel_gpio_to_pin() 881 if (offset >= pgrp->gpio_base && in intel_gpio_to_pin() 882 offset < pgrp->gpio_base + pgrp->size) { in intel_gpio_to_pin() 885 pin = pgrp->base + offset - pgrp->gpio_base; in intel_gpio_to_pin() 889 *padgrp = pgrp; in intel_gpio_to_pin()
|
/linux-5.19.10/fs/proc/ |
D | array.c | 508 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() local 509 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat() 510 put_pid(pgrp); in do_task_stat()
|
/linux-5.19.10/include/linux/ |
D | tty.h | 226 struct pid *pgrp; member
|
/linux-5.19.10/include/linux/sched/ |
D | signal.h | 336 extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp);
|
/linux-5.19.10/Documentation/filesystems/ |
D | autofs.rst | 311 processes is recorded unless the "pgrp=" option is given, in which
|
D | proc.rst | 334 pgrp pgrp of the process 337 tty_pgrp pgrp of the tty
|