Searched refs:pgrp (Results 1 - 16 of 16) sorted by relevance

/linux-master/block/
H A Dioprio.c73 struct pid *pgrp; local
94 pgrp = task_pgrp(current);
96 pgrp = find_vpid(who);
99 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) {
105 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p);
188 struct pid *pgrp; local
205 pgrp = task_pgrp(current);
207 pgrp = find_vpid(who);
209 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) {
217 } while_each_pid_thread(pgrp, PIDTYPE_PGI
[all...]
/linux-master/drivers/tty/
H A Dtty_jobctrl.c36 struct pid *pgrp, *tty_pgrp; local
43 pgrp = task_pgrp(current);
46 tty_pgrp = tty->ctrl.pgrp;
49 if (tty_pgrp && pgrp != tty_pgrp) {
56 kill_pgrp(pgrp, sig, 1);
64 tty_warn(tty, "sig=%d, tty->pgrp == NULL!\n", sig);
104 * The session and fg pgrp references will be non-NULL if
108 put_pid(tty->ctrl.pgrp);
109 tty->ctrl.pgrp = get_pid(task_pgrp(current));
222 tty_pgrp = get_pid(tty->ctrl.pgrp);
424 struct pid *pgrp; local
441 session_of_pgrp(struct pid *pgrp) argument
495 struct pid *pgrp; local
[all...]
H A Dpty.c190 struct pid *pgrp; local
196 pgrp = tty_get_pgrp(tty->link);
197 if (pgrp)
198 kill_pgrp(pgrp, sig, 1);
199 put_pid(pgrp);
285 struct pid *pgrp, *rpgrp; local
294 pgrp = tty_get_pgrp(tty);
297 if (pgrp)
298 kill_pgrp(pgrp, SIGWINCH, 1);
299 if (rpgrp != pgrp
[all...]
H A Dtty_io.c636 put_pid(tty->ctrl.pgrp);
638 tty->ctrl.pgrp = NULL;
1546 put_pid(tty->ctrl.pgrp);
2237 if (tty->ctrl.pgrp) {
2238 pid = tty->ctrl.pgrp;
2336 struct pid *pgrp; local
2344 pgrp = tty_get_pgrp(tty);
2345 if (pgrp)
2346 kill_pgrp(pgrp, SIGWINCH, 1);
2347 put_pid(pgrp);
[all...]
/linux-master/drivers/pinctrl/
H A Dpinctrl-zynqmp.c201 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[group]; local
204 for (i = 0; i < pgrp->npins; i++) {
205 unsigned int pin = pgrp->pins[i];
472 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[selector]; local
474 for (i = 0; i < pgrp->npins; i++) {
475 ret = zynqmp_pinconf_cfg_set(pctldev, pgrp->pins[i], configs,
H A Dpinctrl-zynq.c895 const struct zynq_pctrl_group *pgrp = &pctrl->groups[group]; local
913 reg |= pgrp->pins[0] << func->mux_shift;
919 for (i = 0; i < pgrp->npins; i++) {
920 unsigned int pin = pgrp->pins[i];
1127 const struct zynq_pctrl_group *pgrp = &pctrl->groups[selector]; local
1129 for (i = 0; i < pgrp->npins; i++) {
1130 ret = zynq_pinconf_cfg_set(pctldev, pgrp->pins[i], configs,
H A Dpinctrl-bm1880.c988 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[group]; local
992 for (i = 0; i < pgrp->npins; i++) {
993 unsigned int pin = pgrp->pins[i];
1275 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[selector]; local
1277 for (i = 0; i < pgrp->npins; i++) {
1278 ret = bm1880_pinconf_cfg_set(pctldev, pgrp->pins[i], configs,
/linux-master/fs/autofs/
H A Dinode.c76 seq_printf(m, ",pgrp=%d", pid_vnr(sbi->oz_pgrp));
135 fsparam_u32 ("pgrp", Opt_pgrp),
144 int pgrp; member in struct:autofs_fs_context
220 ctx->pgrp = result.uint_32;
348 sbi->oz_pgrp = find_get_pid(ctx->pgrp);
351 ctx->pgrp);
362 pr_debug("pipe fd = %d, pgrp = %u\n",
/linux-master/arch/um/drivers/
H A Dline.c628 struct pid *pgrp; local
657 pgrp = tty_get_pgrp(tty);
658 if (pgrp)
659 kill_pgrp(pgrp, SIGWINCH, 1);
660 put_pid(pgrp);
/linux-master/kernel/
H A Dexit.c328 static int will_become_orphaned_pgrp(struct pid *pgrp, argument
333 do_each_pid_task(pgrp, PIDTYPE_PGID, p) {
339 if (task_pgrp(p->real_parent) != pgrp &&
342 } while_each_pid_task(pgrp, PIDTYPE_PGID, p);
358 static bool has_stopped_jobs(struct pid *pgrp) argument
362 do_each_pid_task(pgrp, PIDTYPE_PGID, p) {
365 } while_each_pid_task(pgrp, PIDTYPE_PGID, p);
378 struct pid *pgrp = task_pgrp(tsk); local
382 /* exit: our father is in a different pgrp than
387 /* reparent: our child is in a different pgrp tha
[all...]
H A Dsys.c233 struct pid *pgrp; local
258 pgrp = find_vpid(who);
260 pgrp = task_pgrp(current);
262 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) {
264 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p);
303 struct pid *pgrp; local
324 pgrp = find_vpid(who);
326 pgrp = task_pgrp(current);
328 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) {
332 } while_each_pid_thread(pgrp, PIDTYPE_PGI
1086 struct pid *pgrp; local
[all...]
H A Dsignal.c1461 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) argument
1466 do_each_pid_task(pgrp, PIDTYPE_PGID, p) {
1476 } while_each_pid_task(pgrp, PIDTYPE_PGID, p);
1906 static int kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) argument
1910 ret = __kill_pgrp_info(sig, info, pgrp);
2842 * do nothing in an orphaned pgrp, but SIGSTOP
/linux-master/drivers/pinctrl/intel/
H A Dpinctrl-intel.c868 const struct intel_padgroup *pgrp = &comm->gpps[j]; local
870 if (pgrp->gpio_base == INTEL_GPIO_BASE_NOMAP)
873 if (offset >= pgrp->gpio_base &&
874 offset < pgrp->gpio_base + pgrp->size) {
877 pin = pgrp->base + offset - pgrp->gpio_base;
881 *padgrp = pgrp;
/linux-master/fs/proc/
H A Darray.c517 struct pid *pgrp = tty_get_pgrp(sig->tty); local
518 tty_pgrp = pid_nr_ns(pgrp, ns);
519 put_pid(pgrp);
/linux-master/include/linux/
H A Dtty.h155 * @ctrl.pgrp: process group of this tty (setpgrp(2))
218 struct pid *pgrp; member in struct:tty_struct::__anon2630
/linux-master/include/linux/sched/
H A Dsignal.h329 extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp);

Completed in 193 milliseconds