Home
last modified time | relevance | path

Searched refs:pgrp (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/tty/
H A Dtty_jobctrl.c34 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 …]
H A Dpty.c200 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 …]
H A Dtty_io.c630 put_pid(tty->pgrp); in __tty_hangup()
632 tty->pgrp = NULL; in __tty_hangup()
1547 put_pid(tty->pgrp); in release_one_tty()
2217 if (tty->pgrp) { in __tty_fasync()
2218 pid = tty->pgrp; in __tty_fasync()
2316 struct pid *pgrp; in tty_do_resize() local
2324 pgrp = tty_get_pgrp(tty); in tty_do_resize()
2325 if (pgrp) in tty_do_resize()
2326 kill_pgrp(pgrp, SIGWINCH, 1); in tty_do_resize()
2327 put_pid(pgrp); in tty_do_resize()
[all …]
/OK3568_Linux_fs/kernel/block/
H A Dioprio.c105 struct pid *pgrp; in SYSCALL_DEFINE3() local
126 pgrp = task_pgrp(current); in SYSCALL_DEFINE3()
128 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
129 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
133 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
197 struct pid *pgrp; in SYSCALL_DEFINE2() local
214 pgrp = task_pgrp(current); in SYSCALL_DEFINE2()
216 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
218 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
226 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
/OK3568_Linux_fs/kernel/fs/autofs/
H A Dinode.c132 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()
/OK3568_Linux_fs/kernel/kernel/
H A Dexit.c270 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 …]
H A Dsys.c213 struct pid *pgrp; in SYSCALL_DEFINE3() local
239 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
241 pgrp = task_pgrp(current); in SYSCALL_DEFINE3()
242 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
244 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
283 struct pid *pgrp; in SYSCALL_DEFINE2() local
305 pgrp = find_vpid(who); in SYSCALL_DEFINE2()
307 pgrp = task_pgrp(current); in SYSCALL_DEFINE2()
308 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
312 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
[all …]
H A Dsignal.c1436 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info() argument
1443 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info()
1447 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-zynq.c894 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()
H A Dpinctrl-bm1880.c986 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()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/xorg-app/xterm/
H A D0001-Add-configure-time-check-for-setsid.patch60 int pgrp = setsid(); /* variable may not be used... */
62 int pgrp = getpid();
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dline.c623 struct pid *pgrp; in winch_interrupt() local
649 pgrp = tty_get_pgrp(tty); in winch_interrupt()
650 if (pgrp) in winch_interrupt()
651 kill_pgrp(pgrp, SIGWINCH, 1); in winch_interrupt()
652 put_pid(pgrp); in winch_interrupt()
/OK3568_Linux_fs/kernel/drivers/pinctrl/intel/
H A Dpinctrl-intel.c868 const struct intel_padgroup *pgrp = &comm->gpps[j]; in intel_gpio_to_pin() local
870 if (pgrp->gpio_base == INTEL_GPIO_BASE_NOMAP) in intel_gpio_to_pin()
873 if (offset >= pgrp->gpio_base && in intel_gpio_to_pin()
874 offset < pgrp->gpio_base + pgrp->size) { in intel_gpio_to_pin()
877 pin = pgrp->base + offset - pgrp->gpio_base; in intel_gpio_to_pin()
881 *padgrp = pgrp; in intel_gpio_to_pin()
/OK3568_Linux_fs/u-boot/common/
H A Dcli_hush.c253 pid_t pgrp; /* process group ID for the job */ member
687 tcsetpgrp(shell_terminal, pi->pgrp); in builtin_fg_bg()
694 if ( (i=kill(- pi->pgrp, SIGCONT)) < 0) { in builtin_fg_bg()
1566 pi->pgrp = -1;
1728 if (pi->pgrp < 0) {
1729 pi->pgrp = getpid();
1731 if (setpgid(0, pi->pgrp) == 0) {
1732 tcsetpgrp(2, pi->pgrp);
1742 if (pi->pgrp < 0) {
1743 pi->pgrp = child->pid;
[all …]
/OK3568_Linux_fs/kernel/fs/proc/
H A Darray.c486 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat() local
487 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat()
488 put_pid(pgrp); in do_task_stat()
/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dsignal.h341 extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp);
/OK3568_Linux_fs/kernel/include/linux/
H A Dtty.h316 struct pid *pgrp; /* Protected by ctrl lock */ member
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dproc.rst332 pgrp pgrp of the process
335 tty_pgrp pgrp of the tty
H A Dautofs.rst311 processes is recorded unless the "pgrp=" option is given, in which
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...