Home
last modified time | relevance | path

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

123456

/linux-2.4.37.9/kernel/
Dexit.c81 int session_of_pgrp(int pgrp) in session_of_pgrp() argument
91 if (p->pgrp == pgrp) { in session_of_pgrp()
95 if (p->pid == pgrp) in session_of_pgrp()
110 static int will_become_orphaned_pgrp(int pgrp, struct task_struct * ignored_task) in will_become_orphaned_pgrp() argument
116 if ((p == ignored_task) || (p->pgrp != pgrp) || in will_become_orphaned_pgrp()
120 if ((p->p_pptr->pgrp != pgrp) && in will_become_orphaned_pgrp()
130 int is_orphaned_pgrp(int pgrp) in is_orphaned_pgrp() argument
132 return will_become_orphaned_pgrp(pgrp, 0); in is_orphaned_pgrp()
135 static inline int has_stopped_jobs(int pgrp) in has_stopped_jobs() argument
142 if (p->pgrp != pgrp) in has_stopped_jobs()
[all …]
Dcapability.c79 static void cap_set_pg(int pgrp, in cap_set_pg() argument
89 if (target->pgrp != pgrp) in cap_set_pg()
Dsys.c205 who = current->pgrp; in proc_sel()
206 return(p->pgrp == who); in proc_sel()
866 if (tmp->pgrp == pgid && in sys_setpgid()
874 p->pgrp = pgid; in sys_setpgid()
885 return current->pgrp; in sys_getpgid()
895 retval = p->pgrp; in sys_getpgid()
904 return current->pgrp; in sys_getpgrp()
933 if (p->pgrp == current->pid) in sys_setsid()
938 current->session = current->pgrp = current->pid; in sys_setsid()
941 err = current->pgrp; in sys_setsid()
Dsignal.c626 kill_pg_info(int sig, struct siginfo *info, pid_t pgrp) in kill_pg_info() argument
629 if (pgrp > 0) { in kill_pg_info()
635 if (p->pgrp == pgrp && thread_group_leader(p)) { in kill_pg_info()
706 return kill_pg_info(sig, info, current->pgrp); in kill_something_info()
746 kill_pg(pid_t pgrp, int sig, int priv) in kill_pg() argument
748 return kill_pg_info(sig, (void *)(long)(priv != 0), pgrp); in kill_pg()
Dfork.c109 p->pgrp == last_pid || in get_pid()
125 if(p->pgrp > last_pid && next_safe > p->pgrp) in get_pid()
126 next_safe = p->pgrp; in get_pid()
/linux-2.4.37.9/drivers/char/
Dtty_io.c630 if (tty->pgrp <= 0) { in tty_check_change()
634 if (current->pgrp == tty->pgrp) in tty_check_change()
638 if (is_orphaned_pgrp(current->pgrp)) in tty_check_change()
640 (void) kill_pg(current->pgrp,SIGTTOU,1); in tty_check_change()
828 if (tty->pgrp > 0) in do_tty_hangup()
829 p->tty_old_pgrp = tty->pgrp; in do_tty_hangup()
838 tty->pgrp = -1; in do_tty_hangup()
913 tty_pgrp = tty->pgrp; in disassociate_ctty()
931 tty->pgrp = -1; in disassociate_ctty()
995 (tty->pgrp > 0) && in tty_read()
[all …]
Driscom8.h78 long pgrp; member
Dspecialix_io8.h117 long pgrp; member
Dn_tty.c512 if (tty->pgrp > 0) in isig()
513 kill_pg(tty->pgrp, sig, 1); in isig()
1139 if (tty->pgrp <= 0) in job_control()
1141 else if (current->pgrp != tty->pgrp) { in job_control()
1143 is_orphaned_pgrp(current->pgrp)) in job_control()
1145 kill_pg(current->pgrp, SIGTTIN, 1); in job_control()
Dpcxx.h82 long pgrp; member
Depca.h128 long pgrp; member
/linux-2.4.37.9/fs/autofs/
Dinode.c50 static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid, pid_t *pgrp, int *minp… in parse_options() argument
56 *pgrp = current->pgrp; in parse_options()
90 *pgrp = simple_strtoul(value,&value,0); in parse_options()
132 sbi->oz_pgrp = current->pgrp; in autofs_read_super()
Dautofs_i.h120 return sbi->catatonic || current->pgrp == sbi->oz_pgrp; in autofs_oz_mode()
/linux-2.4.37.9/fs/autofs4/
Dinode.c101 pid_t *pgrp, int *minproto, int *maxproto) in parse_options() argument
107 *pgrp = current->pgrp; in parse_options()
142 *pgrp = simple_strtoul(value,&value,0); in parse_options()
197 sbi->oz_pgrp = current->pgrp; in autofs4_read_super()
Dautofs_i.h114 return sbi->catatonic || current->pgrp == sbi->oz_pgrp; in autofs4_oz_mode()
/linux-2.4.37.9/include/net/irda/
Dircomm_tty.h106 long pgrp; /* pgrp of opening process */ member
/linux-2.4.37.9/drivers/sbus/char/
Daurora.h251 long pgrp; member
/linux-2.4.37.9/arch/cris/drivers/
Dserial.h90 long pgrp; /* pgrp of opening process */ member
/linux-2.4.37.9/include/linux/
Dstallion.h88 long pgrp; member
Distallion.h70 long pgrp; member
Dgeneric_serial.h44 long pgrp; member
Dhayesesp.h100 long pgrp; /* pgrp of opening process */ member
Dserial167.h47 long pgrp; /* pgrp of opening process */ member
DserialP.h83 long pgrp; /* pgrp of opening process */ member
/linux-2.4.37.9/drivers/char/ip2/
Di2lib.h95 int pgrp; // Defined in tty.h member

123456