/Linux-v5.4/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 | 210 struct pid *pgrp; in pty_signal() local 216 pgrp = tty_get_pgrp(tty->link); in pty_signal() 217 if (pgrp) in pty_signal() 218 kill_pgrp(pgrp, sig, 1); in pty_signal() 219 put_pid(pgrp); in pty_signal() 305 struct pid *pgrp, *rpgrp; in pty_resize() local 314 pgrp = tty_get_pgrp(tty); in pty_resize() 317 if (pgrp) in pty_resize() 318 kill_pgrp(pgrp, SIGWINCH, 1); in pty_resize() 319 if (rpgrp != pgrp && rpgrp) in pty_resize() [all …]
|
D | tty_io.c | 630 put_pid(tty->pgrp); in __tty_hangup() 632 tty->pgrp = NULL; in __tty_hangup() 1462 put_pid(tty->pgrp); in release_one_tty() 2136 if (tty->pgrp) { in __tty_fasync() 2137 pid = tty->pgrp; in __tty_fasync() 2236 struct pid *pgrp; in tty_do_resize() local 2244 pgrp = tty_get_pgrp(tty); in tty_do_resize() 2245 if (pgrp) in tty_do_resize() 2246 kill_pgrp(pgrp, SIGWINCH, 1); in tty_do_resize() 2247 put_pid(pgrp); in tty_do_resize() [all …]
|
/Linux-v5.4/block/ |
D | ioprio.c | 98 struct pid *pgrp; in SYSCALL_DEFINE3() local 119 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 121 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 122 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 126 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 190 struct pid *pgrp; in SYSCALL_DEFINE2() local 207 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 209 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 210 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 218 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
|
/Linux-v5.4/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-v5.4/kernel/ |
D | exit.c | 270 static int will_become_orphaned_pgrp(struct pid *pgrp, in will_become_orphaned_pgrp() argument 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() 336 will_become_orphaned_pgrp(pgrp, ignored_task) && in kill_orphaned_pgrp() [all …]
|
D | sys.c | 202 struct pid *pgrp; in SYSCALL_DEFINE3() local 228 pgrp = find_vpid(who); in SYSCALL_DEFINE3() 230 pgrp = task_pgrp(current); in SYSCALL_DEFINE3() 231 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 233 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 272 struct pid *pgrp; in SYSCALL_DEFINE2() local 294 pgrp = find_vpid(who); in SYSCALL_DEFINE2() 296 pgrp = task_pgrp(current); in SYSCALL_DEFINE2() 297 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 301 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2() [all …]
|
D | signal.c | 1418 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument 1425 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info() 1429 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
|
/Linux-v5.4/drivers/pinctrl/ |
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() 1124 const struct zynq_pctrl_group *pgrp = &pctrl->groups[selector]; in zynq_pinconf_group_set() local 1126 for (i = 0; i < pgrp->npins; i++) { in zynq_pinconf_group_set() 1127 ret = zynq_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynq_pinconf_group_set()
|
D | pinctrl-bm1880.c | 985 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[group]; in bm1880_pinmux_set_mux() local 989 for (i = 0; i < pgrp->npins; i++) { in bm1880_pinmux_set_mux() 990 unsigned int pin = pgrp->pins[i]; in bm1880_pinmux_set_mux() 1272 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[selector]; in bm1880_pinconf_group_set() local 1274 for (i = 0; i < pgrp->npins; i++) { in bm1880_pinconf_group_set() 1275 ret = bm1880_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in bm1880_pinconf_group_set()
|
/Linux-v5.4/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-v5.4/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 832 const struct intel_padgroup *pgrp = &comm->gpps[j]; in intel_gpio_to_pin() local 834 if (pgrp->gpio_base < 0) in intel_gpio_to_pin() 837 if (offset >= pgrp->gpio_base && in intel_gpio_to_pin() 838 offset < pgrp->gpio_base + pgrp->size) { in intel_gpio_to_pin() 841 pin = pgrp->base + offset - pgrp->gpio_base; in intel_gpio_to_pin() 845 *padgrp = pgrp; in intel_gpio_to_pin()
|
/Linux-v5.4/fs/proc/ |
D | array.c | 483 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() local 484 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat() 485 put_pid(pgrp); in do_task_stat()
|
/Linux-v5.4/include/linux/sched/ |
D | signal.h | 325 extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp);
|
/Linux-v5.4/include/linux/ |
D | tty.h | 306 struct pid *pgrp; /* Protected by ctrl lock */ member
|
/Linux-v5.4/Documentation/filesystems/ |
D | proc.txt | 321 pgrp pgrp of the process 324 tty_pgrp pgrp of the tty
|