taglinefilesource code
pgrp123include/linux/sched.hlong pid,pgrp,session,leader;
pgrp147include/linux/tty.hint pgrp;
pgrp230include/linux/tty.hextern int is_orphaned_pgrp(int pgrp);
pgrp233include/linux/tty.hextern int kill_pg(int pgrp, int sig, int priv);
pgrp48kernel/chr_drv/pty.cif (tty->link->pgrp > 0)
pgrp49kernel/chr_drv/pty.ckill_pg(tty->link->pgrp,SIGHUP,1);
pgrp120kernel/chr_drv/serial.cif ((status & 0x88) == 0x08 && info->tty->pgrp > 0)
pgrp121kernel/chr_drv/serial.ckill_pg(info->tty->pgrp,SIGHUP,1);
pgrp216kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGINT, 1);
pgrp222kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGQUIT, 1);
pgrp228kernel/chr_drv/tty_io.cif (!is_orphaned_pgrp(tty->pgrp))
pgrp229kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGTSTP, 1);
pgrp278kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp,sig,1);
pgrp316kernel/chr_drv/tty_io.cif ((tty->pgrp > 0) &&
pgrp318kernel/chr_drv/tty_io.c(tty->pgrp != current->pgrp))
pgrp319kernel/chr_drv/tty_io.cif (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp))
pgrp399kernel/chr_drv/tty_io.cif (L_TOSTOP(tty) && (tty->pgrp > 0) &&
pgrp400kernel/chr_drv/tty_io.c(current->tty == channel) && (tty->pgrp != current->pgrp)) {
pgrp401kernel/chr_drv/tty_io.cif (is_orphaned_pgrp(tty->pgrp))
pgrp535kernel/chr_drv/tty_io.ctty->pgrp = current->pgrp;
pgrp19kernel/chr_drv/tty_ioctl.cextern int session_of_pgrp(int pgrp);
pgrp21kernel/chr_drv/tty_ioctl.cextern int kill_pg(int pgrp, int sig, int priv);
pgrp131kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
pgrp132kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
pgrp173kernel/chr_drv/tty_ioctl.c(tty->pgrp > 0) &&
pgrp174kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
pgrp175kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
pgrp211kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGWINCH, 1);
pgrp234kernel/chr_drv/tty_ioctl.cint pgrp;
pgrp317kernel/chr_drv/tty_ioctl.cput_fs_long(tty->pgrp,(unsigned long *) arg);
pgrp324kernel/chr_drv/tty_ioctl.cpgrp=get_fs_long((unsigned long *) arg);
pgrp325kernel/chr_drv/tty_ioctl.cif (pgrp < 0)
pgrp327kernel/chr_drv/tty_ioctl.cif (session_of_pgrp(pgrp) != current->session)
pgrp329kernel/chr_drv/tty_ioctl.ctty->pgrp = pgrp;      
pgrp405kernel/chr_drv/tty_ioctl.cif (tty->pgrp > 0)
pgrp406kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGHUP, 0);
pgrp407kernel/chr_drv/tty_ioctl.ctty->pgrp = -1;
pgrp171kernel/exit.cint session_of_pgrp(int pgrp)
pgrp180kernel/exit.cif ((*p)->pgrp == pgrp)
pgrp182kernel/exit.cif ((*p)->pid == pgrp)
pgrp188kernel/exit.cint kill_pg(int pgrp, int sig, int priv)
pgrp194kernel/exit.cif (sig<0 || sig>32 || pgrp<=0)
pgrp197kernel/exit.cif (*p && (*p)->pgrp == pgrp) {
pgrp228kernel/exit.creturn(kill_pg(current->pgrp,sig,0));
pgrp252kernel/exit.cint is_orphaned_pgrp(int pgrp)
pgrp258kernel/exit.c((*p)->pgrp != pgrp) || 
pgrp262kernel/exit.cif (((*p)->p_pptr->pgrp != pgrp) &&
pgrp269kernel/exit.cstatic int has_stopped_jobs(int pgrp)
pgrp274kernel/exit.cif (!*p || (*p)->pgrp != pgrp)
pgrp328kernel/exit.cif ((current->p_pptr->pgrp != current->pgrp) &&
pgrp330kernel/exit.cis_orphaned_pgrp(current->pgrp) &&
pgrp331kernel/exit.chas_stopped_jobs(current->pgrp)) {
pgrp332kernel/exit.ckill_pg(current->pgrp,SIGHUP,1);
pgrp333kernel/exit.ckill_pg(current->pgrp,SIGCONT,1);
pgrp365kernel/exit.cif ((p->pgrp != current->pgrp) &&
pgrp367kernel/exit.cis_orphaned_pgrp(p->pgrp) &&
pgrp368kernel/exit.chas_stopped_jobs(p->pgrp)) {
pgrp369kernel/exit.ckill_pg(p->pgrp,SIGHUP,1);
pgrp370kernel/exit.ckill_pg(p->pgrp,SIGCONT,1);
pgrp379kernel/exit.cif (tty->pgrp > 0)
pgrp380kernel/exit.ckill_pg(tty->pgrp, SIGHUP, 1);
pgrp381kernel/exit.ctty->pgrp = -1;
pgrp431kernel/exit.cif (p->pgrp != current->pgrp)
pgrp434kernel/exit.cif (p->pgrp != -pid)
pgrp83kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid)
pgrp31kernel/sys.cextern int session_of_pgrp(int pgrp);
pgrp44kernel/sys.cwho = current->pgrp;
pgrp45kernel/sys.creturn(p->pgrp == who);
pgrp374kernel/sys.ctask[i]->pgrp = pgid;
pgrp382kernel/sys.creturn current->pgrp;
pgrp390kernel/sys.ccurrent->session = current->pgrp = current->pid;
pgrp392kernel/sys.creturn current->pgrp;