/openbmc/linux/drivers/tty/ |
H A 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 …]
|
H 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 …]
|
H A D | tty_io.c | 636 put_pid(tty->ctrl.pgrp); in __tty_hangup() 638 tty->ctrl.pgrp = NULL; in __tty_hangup() 1538 put_pid(tty->ctrl.pgrp); in release_one_tty() 2229 if (tty->ctrl.pgrp) { in __tty_fasync() 2230 pid = tty->ctrl.pgrp; in __tty_fasync() 2328 struct pid *pgrp; in tty_do_resize() local 2336 pgrp = tty_get_pgrp(tty); in tty_do_resize() 2337 if (pgrp) in tty_do_resize() 2338 kill_pgrp(pgrp, SIGWINCH, 1); in tty_do_resize() 2339 put_pid(pgrp); in tty_do_resize() [all …]
|
/openbmc/linux/block/ |
H A D | ioprio.c | 73 struct pid *pgrp; in SYSCALL_DEFINE3() local 94 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 96 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 99 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 105 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 214 struct pid *pgrp; in SYSCALL_DEFINE2() local 231 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 233 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 235 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 243 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
|
/openbmc/linux/fs/autofs/ |
H 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()
|
/openbmc/linux/kernel/ |
H A D | exit.c | 326 static int will_become_orphaned_pgrp(struct pid *pgrp, in will_become_orphaned_pgrp() argument 331 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp() 337 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp() 340 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp() 356 static bool has_stopped_jobs(struct pid *pgrp) in has_stopped_jobs() argument 360 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs() 363 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs() 376 struct pid *pgrp = task_pgrp(tsk); in kill_orphaned_pgrp() local 390 if (task_pgrp(parent) != pgrp && in kill_orphaned_pgrp() 392 will_become_orphaned_pgrp(pgrp, ignored_task) && in kill_orphaned_pgrp() [all …]
|
H A D | sys.c | 224 struct pid *pgrp; in SYSCALL_DEFINE3() local 249 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 251 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 253 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 255 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 294 struct pid *pgrp; in SYSCALL_DEFINE2() local 315 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 317 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 319 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 323 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2() [all …]
|
H A D | signal.c | 1472 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument 1479 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info() 1483 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-zynqmp.c | 200 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[group]; in zynqmp_pinmux_set_mux() local 203 for (i = 0; i < pgrp->npins; i++) { in zynqmp_pinmux_set_mux() 204 unsigned int pin = pgrp->pins[i]; in zynqmp_pinmux_set_mux() 471 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[selector]; in zynqmp_pinconf_group_set() local 473 for (i = 0; i < pgrp->npins; i++) { in zynqmp_pinconf_group_set() 474 ret = zynqmp_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynqmp_pinconf_group_set()
|
H 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()
|
H 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()
|
/openbmc/linux/arch/um/drivers/ |
H A D | line.c | 630 struct pid *pgrp; in winch_interrupt() local 656 pgrp = tty_get_pgrp(tty); in winch_interrupt() 657 if (pgrp) in winch_interrupt() 658 kill_pgrp(pgrp, SIGWINCH, 1); in winch_interrupt() 659 put_pid(pgrp); in winch_interrupt()
|
/openbmc/qemu/bsd-user/ |
H A D | bsd-proc.h | 263 static inline abi_long do_bsd_setpgid(int pid, int pgrp) in do_bsd_setpgid() argument 265 return get_errno(setpgid(pid, pgrp)); in do_bsd_setpgid()
|
/openbmc/u-boot/common/ |
H A D | cli_hush.c | 252 pid_t pgrp; /* process group ID for the job */ member 686 tcsetpgrp(shell_terminal, pi->pgrp); in builtin_fg_bg() 693 if ( (i=kill(- pi->pgrp, SIGCONT)) < 0) { in builtin_fg_bg() 1565 pi->pgrp = -1; 1727 if (pi->pgrp < 0) { 1728 pi->pgrp = getpid(); 1730 if (setpgid(0, pi->pgrp) == 0) { 1731 tcsetpgrp(2, pi->pgrp); 1741 if (pi->pgrp < 0) { 1742 pi->pgrp = child->pid; [all …]
|
/openbmc/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-intel.c | 902 const struct intel_padgroup *pgrp = &comm->gpps[j]; in intel_gpio_to_pin() local 904 if (pgrp->gpio_base == INTEL_GPIO_BASE_NOMAP) in intel_gpio_to_pin() 907 if (offset >= pgrp->gpio_base && in intel_gpio_to_pin() 908 offset < pgrp->gpio_base + pgrp->size) { in intel_gpio_to_pin() 911 pin = pgrp->base + offset - pgrp->gpio_base; in intel_gpio_to_pin() 915 *padgrp = pgrp; in intel_gpio_to_pin()
|
/openbmc/linux/fs/proc/ |
H A D | array.c | 517 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() local 518 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat() 519 put_pid(pgrp); in do_task_stat()
|
/openbmc/linux/include/linux/ |
H A D | tty.h | 224 struct pid *pgrp; member
|
/openbmc/linux/include/linux/sched/ |
H A D | signal.h | 337 extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp);
|
/openbmc/linux/Documentation/filesystems/ |
H A D | autofs.rst | 311 processes is recorded unless the "pgrp=" option is given, in which
|
H A D | proc.rst | 338 pgrp pgrp of the process 341 tty_pgrp pgrp of the tty
|