/titanic_41/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 110 pid_t pid, ppid; in reap() local 131 ppid = psinfo.pr_ppid; in reap() 133 if (ppid == 1) { in reap() 155 if ((Pr = Pgrab(ppid, Fflag | PGRAB_NOSTOP, &gret)) == NULL) { in reap() 157 (int)ppid, Pgrab_error(gret)); in reap() 178 (int)ppid, strerror(errno)); in reap() 185 command, (int)ppid, strerror(errno)); in reap()
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.ppid.d | 37 @a[ppid] = count(); 42 @a[ppid] = count();
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/vars/ |
H A D | tst.ppid.d | 32 /curpsinfo->pr_ppid == ppid/ 39 printf("%d != %d\n", curpsinfo->pr_ppid, ppid);
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.progenyof.d | 48 res_1 = progenyof($ppid); /* this will always be true */ 49 res_2 = progenyof($ppid + 1); /* this will always be false */
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/scripting/ |
H A D | tst.ppid.ksh | 54 /\$ppid != \$1/ 60 /\$ppid == \$1/
|
H A D | tst.ppid.d | 41 printf("The ppid is %d\n", $ppid);
|
/titanic_41/usr/src/cmd/ptools/ptree/ |
H A D | ptree.c | 59 pid_t ppid; member 233 p->ppid = info.pr_ppid; in main() 252 if (p->pid == p->ppid) in main() 330 (p->ppid != 0 || aflag))) { in main() 337 if ((p->ppid != 0 || aflag) && in main() 463 pp->ppid = ct_status_get_holder(hdl); in ctsort() 484 if (pp != NULL && p != pp && p->ppid == pp->pid) { in prsort()
|
/titanic_41/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 310 socklen_t tolen, uint32_t ppid, uint32_t sinfo_flags, uint16_t stream_no, in sctp_send_common() argument 338 sinfo->sinfo_ppid = ppid; in sctp_send_common() 364 socklen_t tolen, uint32_t ppid, uint32_t flags, uint16_t stream_no, in sctp_sendmsg() argument 367 return (sctp_send_common(s, msg, len, to, tolen, ppid, flags, in sctp_sendmsg()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_sctp.c | 729 uint32_t ppid; in parse_data_chunk() local 740 ppid = ntohl(dcp->sdc_payload_id); in parse_data_chunk() 761 "Payload Protocol ID = 0x%.8x", ppid); in parse_data_chunk() 769 ntohs(dcp->sdc_sid), ntohs(dcp->sdc_ssn), ppid)); in parse_data_chunk() 790 datalen) && ppid != 0) { in parse_data_chunk() 792 interpret_protoid(flags, ppid, payload, datalen); in parse_data_chunk() 1175 interpret_protoid(int flags, uint32_t ppid, char *data, int dlen) in interpret_protoid() argument 1187 if (ppid == p->pid_num) { in interpret_protoid()
|
/titanic_41/usr/src/lib/libxcurses/h/posix/ |
H A D | mkslocal.h | 1099 m_textstr(4866, "pid,ppid,pcpu=C", "I"),\ 1105 m_textstr(4866, "pid,ppid,pcpu=C", "I"),\
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | auth.c | 647 pid_t pid, *ppid; in run_auth_hook() local 720 ppid = xmalloc(sizeof (pid_t)); in run_auth_hook() 721 *ppid = pid; in run_auth_hook() 722 fatal_add_cleanup((void (*)(void *))kill_hook, (void *) ppid); in run_auth_hook() 751 fatal_remove_cleanup((void (*)(void *))kill_hook, (void *) ppid); in run_auth_hook()
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.sem.c | 196 int ppid; local 207 ppid = pcurrjob ? pcurrjob->p_jobid : pid; 209 setpgid (ppid, ppid);
|
/titanic_41/usr/src/cmd/hal/hald-runner/ |
H A D | main.c | 161 gint64 ppid = pid; in handle_start() local 164 DBUS_TYPE_INT64, &ppid, in handle_start()
|
H A D | runner.c | 185 gint64 ppid = rd->pid; in run_exited() local 190 DBUS_TYPE_INT64, &(ppid), in run_exited()
|
/titanic_41/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_change.c | 623 pid_t ppid; in is_peruser_nscd() local 627 ppid = pinfo.pr_ppid; in is_peruser_nscd() 628 if (get_nscd_psinfo(ppid, &pinfo) && pinfo.pr_euid == 0) in is_peruser_nscd()
|
/titanic_41/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_svc.c | 464 int ppid; in main() local 592 ppid = _enter_daemon_lock(STATD); in main() 593 switch (ppid) { in main()
|
/titanic_41/usr/src/lib/libcontract/common/ |
H A D | process.c | 117 ct_pr_event_get_ppid(ct_evthdl_t evthdl, pid_t *ppid) in ct_pr_event_get_ppid() argument 126 return (nvlist_lookup_uint32(info->nvl, CTPE_PPID, (uint_t *)ppid)); in ct_pr_event_get_ppid()
|
/titanic_41/usr/src/cmd/ptools/pfiles/ |
H A D | pfiles.c | 467 show_peer_process(pid_t ppid) in show_peer_process() argument 471 if (proc_get_psinfo(ppid, &psinfo) == 0) in show_peer_process() 472 (void) printf(" %s[%d]", psinfo.pr_fname, (int)ppid); in show_peer_process() 474 (void) printf(" pid %d", (int)ppid); in show_peer_process()
|
/titanic_41/usr/src/cmd/avs/dsw/ |
H A D | iiadm.c | 2481 char *ppid; local 2500 ppid = getenv("IIADM_PPID"); 2501 if (ppid) { 2502 acopy_args->pid = atoi(ppid); 2503 (void) fprintf(stderr, "(using %s for ppid)\n", ppid); 2592 char *ppid; local 2617 ppid = getenv("IIADM_PPID"); 2618 if (ppid) { 2619 copy_args.pid = atoi(ppid); 2620 (void) fprintf(stderr, "(using %s for ppid)\n", ppid); [all …]
|
/titanic_41/usr/src/cmd/vi/port/ |
H A D | ex.c | 169 ppid = getpid(); in main() 469 ppid = 0; in main()
|
/titanic_41/usr/src/lib/libshell/common/scripts/ |
H A D | termclock.sh | 297 scratchfile="${ mktemp -t "termclock.ppid${PPID}_pid$$.XXXXXX" ; }"
|
/titanic_41/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 761 pid_t ppid; in pctx_run() local 765 ppid = pid; in pctx_run() 783 (*forkfn)(pctx, ppid, pid, in pctx_run()
|
/titanic_41/usr/src/lib/libc/i386/sys/ |
H A D | ptrace.c | 538 pid_t ppid; in GrabProc() local 554 ppid = getpid(); in GrabProc() 562 cp->pstatus.pr_ppid == ppid && in GrabProc()
|
/titanic_41/usr/src/lib/libc/sparc/sys/ |
H A D | ptrace.c | 546 pid_t ppid; in GrabProc() local 562 ppid = getpid(); in GrabProc() 570 cp->pstatus.pr_ppid == ppid && in GrabProc()
|
/titanic_41/usr/src/cmd/ps/ |
H A D | ucbps.c | 161 pid_t ppid; /* ppid: parent process id */ in ucbmain() local 446 ppid = info.pr_ppid; in ucbmain() 459 if ((ppid == 1) && !(gflg)) in ucbmain()
|