Searched defs:pgid (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dpgrpsys.c44 setpgrp(int flag, int pid, int pgid) argument
109 if (pgid == 0)
110 pgid = p->p_pid;
111 else if (pgid < 0 || pgid >= maxpid) {
116 if (p->p_pgrp == pgid) {
119 } else if (p->p_pid == pgid) {
131 if ((q = pgfind(pgid)) == NULL ||
H A Dsigqueue.c69 pid_t pgid; local
72 pgid = ttoproc(curthread)->p_pgrp;
74 pgid = -pid;
78 for (p = pgfind(pgid); p && !error; p = p->p_pglink) {
H A Dcorectl.c500 pid_t pgid; local
503 pgid = curproc->p_pgrp;
505 pgid = -pid;
508 for (p = pgfind(pgid); p != NULL; p = p->p_pglink) {
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dpgrpsys.c72 setpgid(pid_t pid, pid_t pgid) argument
74 return (syscall(SYS_pgrpsys, 5, pid, pgid));
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c87 id_t pgid; local
93 pgid = getpgrp();
94 (void) kill(-pgid, SIGTERM);
/illumos-gate/usr/src/cmd/acpihpd/
H A Dacpihpd.c217 id_t pgid; local
223 pgid = getpgrp();
224 (void) kill(-pgid, SIGTERM);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dioctl.c148 pid_t pgid; local
163 (pgid = *((pid_t *)arg)) != 0 &&
164 pgid == getpid() &&
165 setpgid(0, pgid) == 0) {
/illumos-gate/usr/src/cmd/id/
H A Did.c60 static void pgid(gid_t);
168 pgid(gid);
170 pgid(gid);
183 pgid(gid);
318 pgid(gid_t gid) function
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c203 "\tnohup -g [-Fa] pgid [pgid ...]\n"));
673 pid_t pgid; local
678 pgid = strtol(argv[i], &end, 10);
682 * meaning, so don't let pgid be 0 or 1.
684 if (*end == '\0' && pgid > 1)
698 if (pgids[j] == pgid)
705 pgids[npgids++] = pgid;
720 if (kill(-pgid, SIGSTOP) == -1) {
722 "stop process group %d: %s\n"), pgid,
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dpid.c362 pgfind_zone(pid_t pgid, zoneid_t zoneid) argument
369 pidp = pid_lookup(pgid);
374 if (zoneid == ALL_ZONES || pgid == 0 || p == NULL ||
382 * return the head of the list of processes whose process group ID is 'pgid',
386 pgfind(pid_t pgid) argument
394 return (pgfind_zone(pgid, zoneid));
572 * equal to 'pgid'
576 signal(pid_t pgid, int sig) argument
583 if (pgid == 0 || (pidp = pid_lookup(pgid))
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Djobs.c160 int pgid = pgrp; local
162 return(ioctl(fd, TIOCSPGRP, &pgid));
1203 sfprintf(sfstderr,"ksh: job line %4d: post pid=%d critical=%d job=%d pid=%d pgid=%d savesig=%d join=%d\n",__LINE__,getpid(),job.in_critical,pw->p_job,
H A Dpath.c126 static pid_t _spawnveg(const char *path, char* const argv[], char* const envp[], pid_t pgid) argument
134 pid = spawnveg(path,argv,envp,pgid);
/illumos-gate/usr/src/cmd/sh/
H A Djobs.c102 pgid2job(pid_t pgid) argument
106 for (jp = joblst; jp != 0 && jp->j_pid != pgid; jp = jp->j_nxtp)
/illumos-gate/usr/src/cmd/su/
H A Dsu.c950 pid_t pgid; local
968 pgid = getpgid(pid);
978 (void) tcsetpgrp(fd, pgid);
983 (void) sigsend(P_PGID, pgid, SIGCONT);
/illumos-gate/usr/src/uts/common/disp/
H A Dts.c1238 pid_t pid, pgid, sid; local
1272 pgid = p->p_pgrp;
1290 pgid = stp->sd_pgidp->pid_id;
1296 on = pgid;
1298 off = pgid;
1303 pid, pgid, p);
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c2060 long pgid; member in struct:a
2099 pid_t pgid; local
2111 long pgid; member in struct:a
2116 pgid = (pid_t)uap->pgid;
2163 au_uwrite(au_to_arg32(2, "pgid", pgid));
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c3525 int pgid = -1; local
3556 * session, make its pgid the foreground process group before running
3604 * If we changed the foreground process group, restore the old pgid
3609 (void) IOP_CTL(mdb.m_term, TIOCSPGRP, &pgid);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c3850 uint64_t pgid; local
3861 &pgid) == 0);
3871 VERIFY(nvlist_add_uint64(nvroot, ZPOOL_CONFIG_GUID, pgid) == 0);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c260 struct pid pid, pgid, sid; local
299 mdb_vread(&pgid, sizeof (pgid), (uintptr_t)pr.p_pgidp);
311 pstat2ch(pr.p_stat), pid.pid_id, pr.p_ppid, pgid.pid_id,
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_interface.h5505 __be32 pgid; member in struct:fw_port_cmd::fw_port::fw_port_dcb::fw_port_dcb_pgid
5507 } pgid; member in union:fw_port_cmd::fw_port::fw_port_dcb

Completed in 1573 milliseconds