Searched refs:ppid (Results 1 - 20 of 20) sorted by relevance

/ast/src/cmd/tests/vmalloc/
H A Dtmmopen.c32 pid_t ppid, cpid; local
64 { ppid = getpid();
70 tinfo("Parent[pid=%d]: %s: opening shm region", ppid, shmfile);
72 tinfo("Parent[pid=%d]: %s: shm region opened", ppid, shmfile);
78 tinfo("Parent[pid=%d]: %s: opening map region", ppid, mapfile);
80 tinfo("Parent[pid=%d]: %s: map region opened", ppid, mapfile);
/ast/src/cmd/tests/cdt/
H A Dtvsafehash.c230 pid_t cpid[N_CONCUR], ppid, pid; local
243 if((ppid = getpid()) < 0 )
250 tinfo("\tParent[pid=%d]: initializing shared dictionaries for %s", ppid, aso);
251 if(!(mapdt = opendictionary(0, ppid, Mapstore)) )
252 terror("Parent[pid=%d]: Can't open dictionary for %s", ppid, Mapstore);
254 terror("Parent[pid=%d]: Can't get discipline for %s", ppid, Mapstore);
257 if(!(shmdt = opendictionary(0, ppid, Shmstore)) )
258 terror("Parent[pid=%d]: Can't open dictionary for %s", ppid, Shmstore);
260 terror("Parent[pid=%d]: Can't get discipline for %s", ppid, Shmstore);
266 terror("Parent[pid=%d]: vmalloc failed k=%d store=%s", ppid,
[all...]
H A Dtvsaferehash.c232 pid_t cpid[N_CONCUR], ppid, pid; local
245 if((ppid = getpid()) < 0 )
252 tinfo("\tParent[pid=%d]: initializing shared dictionaries", ppid);
253 if(!(mapdt = opendictionary(0, ppid, Mapstore)) )
254 terror("Parent[pid=%d]: Can't open dictionary for %s", ppid, Mapstore);
256 terror("Parent[pid=%d]: Can't get discipline for %s", ppid, Mapstore);
259 if(!(shmdt = opendictionary(0, ppid, Shmstore)) )
260 terror("Parent[pid=%d]: Can't open dictionary for %s", ppid, Shmstore);
262 terror("Parent[pid=%d]: Can't get discipline for %s", ppid, Shmstore);
268 terror("Parent[pid=%d]: vmalloc failed k=%d store=%s", ppid,
[all...]
H A Dtvsafetree.c229 pid_t cpid[N_CONCUR], ppid, pid; local
242 if((ppid = getpid()) < 0 )
249 tinfo("\tParent[pid=%d]: initializing shared dictionaries", ppid);
250 if(!(mapdt = opendictionary(0, ppid, Mapstore)) )
251 terror("Parent[pid=%d]: Can't open dictionary for %s", ppid, Mapstore);
253 terror("Parent[pid=%d]: Can't get discipline for %s", ppid, Mapstore);
256 if(!(shmdt = opendictionary(0, ppid, Shmstore)) )
257 terror("Parent[pid=%d]: Can't open dictionary for %s", ppid, Shmstore);
259 terror("Parent[pid=%d]: Can't get discipline for %s", ppid, Shmstore);
265 terror("Parent[pid=%d]: vmalloc failed k=%d store=%s", ppid,
[all...]
H A Dtvsharemem.c518 pid_t wpid[N_INSERT+N_DELETE+N_SEARCH], ppid, pid; local
551 if((ppid = getpid()) < 0 )
586 tinfo("parent %s [pid=%d]: Testing %s concurrent accesses", type, ppid, type);
589 tinfo("parent %s [pid=%d]: initializing dictionary", type, ppid);
590 if(!(dt = opendictionary("parent", type, 0, ppid, store)) )
591 terror("parent %s [pid=%d]: Can't open %s dictionary", type, ppid, type);
593 terror("parent %s [pid=%d]: Can't get dictionary discipline", type, ppid);
594 tinfo("parent %s [pid=%d]: share dictionary created", type, ppid);
598 terror("parent %s [pid=%d]: Could not make inserter process %d", type, ppid, i);
602 terror("parent %s [pid=%d]: Could not make deleter process %d", type, ppid,
[all...]
/ast/src/cmd/3d/
H A Dfork3d.c45 pid_t ppid; local
49 ppid = state.pid;
64 if (!fscall(mp, MSG_INIT(MSG_fork, 01511, 0), ppid, state.path.name, sizeof(state.path.name)) && state.ret > 0)
89 fscall(mp, MSG_fork, ppid);
/ast/src/cmd/std/
H A Dpss-cygwin.c164 pe->ppid = pr->ppid;
H A Dpss-info.c174 pe->ppid = pr->ppid;
H A Dpss.h123 Pss_id_t ppid; member in struct:Pssent_s
H A Dps.c32 #define FIELDS_f "user,pid,ppid,start,tty,time,cmd"
34 #define FIELDS_l "flags,state,user,pid,ppid,pri,nice,size,rss,wchan,tty,time,cmd"
368 "ppid",
713 n = pp->ps->ppid;
907 n = pr->ppid;
1058 } while ((xp = (Ps_t*)dtmatch(state.bypid, &xp->ps->ppid)) && !xp->ps->pss);
1075 } while ((xp = (Ps_t*)dtmatch(state.bypid, &xp->ps->ppid)) && !xp->ps->pss);
1078 } while (xp->ps->ppid != xp->ps->pid && (xp = (Ps_t*)dtmatch(state.bypid, &xp->ps->ppid)));
1084 if (pp->ps->ppid !
[all...]
H A Dpss-getprocs.c187 pe->ppid = pr->pi_ppid;
H A Dpss-pstat.c158 pe->ppid = pr->pst_ppid;
H A Dpss-kvm.c240 pe->ppid = state->px->e_ppid;
H A Dpss.c224 if (pe->pid <= 1 && pe->ppid > 1)
226 pe->ppid = 0;
H A Dpss-procfs.c354 pe->ppid = pr->pr_ppid;
H A Dpss-ps.c266 pe->ppid = number(s, &e, 10);
/ast/src/cmd/ksh93/sh/
H A Dmain.c150 shp->gd->ppid = getppid();
167 if(shp->gd->ppid==1)
H A Dinit.c732 nv_putval(np,(pid==shp->gd->ppid?cp+1:0),0);
1282 shgd->ppid = getppid();
1904 (PPIDNOD)->nvalue.lp = (&shp->gd->ppid);
H A Djobs.c1138 if(sig==SIGSTOP && pid==shp->gd->pid && shp->gd->ppid==1)
/ast/src/cmd/ksh93/include/
H A Ddefs.h126 int32_t ppid; member in struct:shared

Completed in 41 milliseconds