/linux/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 | 200 struct pid *pgrp; in pty_signal() local 206 pgrp = tty_get_pgrp(tty->link); in pty_signal() 207 if (pgrp) in pty_signal() 208 kill_pgrp(pgrp, sig, 1); in pty_signal() 209 put_pid(pgrp); in pty_signal() 295 struct pid *pgrp, *rpgrp; in pty_resize() local 304 pgrp = tty_get_pgrp(tty); in pty_resize() 307 if (pgrp) in pty_resize() 308 kill_pgrp(pgrp, SIGWINCH, 1); in pty_resize() 309 if (rpgrp != pgrp && rpgrp) in pty_resize() [all …]
|
A D | tty_io.c | 645 put_pid(tty->ctrl.pgrp); in __tty_hangup() 647 tty->ctrl.pgrp = NULL; in __tty_hangup() 1554 put_pid(tty->ctrl.pgrp); in release_one_tty() 2250 if (tty->ctrl.pgrp) { in __tty_fasync() 2251 pid = tty->ctrl.pgrp; in __tty_fasync() 2349 struct pid *pgrp; in tty_do_resize() local 2357 pgrp = tty_get_pgrp(tty); in tty_do_resize() 2358 if (pgrp) in tty_do_resize() 2359 kill_pgrp(pgrp, SIGWINCH, 1); in tty_do_resize() 2360 put_pid(pgrp); in tty_do_resize() [all …]
|
/linux/block/ |
A D | ioprio.c | 104 struct pid *pgrp; in SYSCALL_DEFINE3() local 125 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 127 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 130 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 136 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 203 struct pid *pgrp; in SYSCALL_DEFINE2() local 220 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 222 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 224 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 232 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
|
/linux/fs/autofs/ |
A 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/kernel/ |
A D | exit.c | 275 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp() 281 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp() 284 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp() 300 static bool has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument 304 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs() 307 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs() 320 struct pid *pgrp = task_pgrp(tsk); in kill_orphaned_pgrp() local 334 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp() 337 has_stopped_jobs(pgrp)) { in kill_orphaned_pgrp() 338 __kill_pgrp_info(SIGHUP, SEND_SIG_PRIV, pgrp); in kill_orphaned_pgrp() [all …]
|
A D | sys.c | 209 struct pid *pgrp; in SYSCALL_DEFINE3() local 235 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 237 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 279 struct pid *pgrp; in SYSCALL_DEFINE2() local 301 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 303 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 1043 struct pid *pgrp; in SYSCALL_DEFINE2() local 1085 pgrp = task_pid(p); in SYSCALL_DEFINE2() 1089 pgrp = find_vpid(pgid); in SYSCALL_DEFINE2() 1090 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2() [all …]
|
A D | signal.c | 1451 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument 1458 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info() 1462 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
|
/linux/drivers/pinctrl/ |
A 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()
|
A D | pinctrl-zynq.c | 894 const struct zynq_pctrl_group *pgrp = &pctrl->groups[group]; in zynq_pinmux_set_mux() local 912 reg |= pgrp->pins[0] << func->mux_shift; in zynq_pinmux_set_mux() 918 for (i = 0; i < pgrp->npins; i++) { in zynq_pinmux_set_mux() 919 unsigned int pin = pgrp->pins[i]; in zynq_pinmux_set_mux() 1126 const struct zynq_pctrl_group *pgrp = &pctrl->groups[selector]; in zynq_pinconf_group_set() local 1128 for (i = 0; i < pgrp->npins; i++) { in zynq_pinconf_group_set() 1129 ret = zynq_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynq_pinconf_group_set()
|
A 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/arch/um/drivers/ |
A D | line.c | 624 struct pid *pgrp; in winch_interrupt() local 650 pgrp = tty_get_pgrp(tty); in winch_interrupt() 651 if (pgrp) in winch_interrupt() 652 kill_pgrp(pgrp, SIGWINCH, 1); in winch_interrupt() 653 put_pid(pgrp); in winch_interrupt()
|
/linux/drivers/pinctrl/intel/ |
A 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/fs/proc/ |
A D | array.c | 505 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() local 506 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat() 507 put_pid(pgrp); in do_task_stat()
|
/linux/include/linux/ |
A D | tty.h | 176 struct pid *pgrp; member
|
/linux/include/linux/sched/ |
A D | signal.h | 345 extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp);
|
/linux/Documentation/filesystems/ |
A D | proc.rst | 334 pgrp pgrp of the process 337 tty_pgrp pgrp of the tty
|
A D | autofs.rst | 311 processes is recorded unless the "pgrp=" option is given, in which
|