Home
last modified time | relevance | path

Searched refs:getpid (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/illumos-gate/usr/src/lib/libc/common/sys/
H A Dgetpid.s37 ANSI_PRAGMA_WEAK(getpid,function)
41 SYSCALL_NOERROR_RVAL1(getpid)
43 SET_SIZE(getpid)
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c109 "mkdir /tmp/nfsv4test.%d ; share /tmp/nfsv4test.%d", getpid(), in main()
110 getpid()); in main()
112 "unshare /tmp/nfsv4test.%d ; rmdir /tmp/nfsv4test.%d", getpid(), in main()
113 getpid()); in main()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dcrashtest1.c53 srand(getpid()); in do_some_sql()
66 printf("pid %d: cnt=%d\n", getpid(), cnt); in do_some_sql()
75 int parent = getpid(); in main()
H A Dthreadtest2.c48 fprintf(stderr,"pid=%d. %s\n", getpid(), argv[0]); in check_callback()
65 fprintf(stderr,"pid=%d, Integrity check returns %d\n", getpid(), rc); in integrity_check()
81 if( cnt%1000==0 ) printf("pid=%d: %d\n", getpid(), cnt); in worker()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/stop/
H A Dtst.stop2.d47 syscall::getpid:entry
54 syscall::getpid:return
H A Dtst.stop1.d47 syscall::getpid:entry
54 syscall::getpid:entry
/illumos-gate/usr/src/lib/libtnfctl/
H A Dinternal.c165 return (getpid()); in inprocess_getpid()
220 (void) sprintf(path, PROCFORMAT, (int) getpid()); in inprocess_loadobj_iter()
387 if (_tnfctl_externally_traced_pid == getpid()) { in _tnfctl_internal_getlock()
394 getpid())); in _tnfctl_internal_getlock()
/illumos-gate/usr/src/cmd/refer/
H A Dinv1.c105 sprintf(tmpa, "junk%di", getpid()); in main()
116 sprintf(tmpb, "junk%dj", getpid()); in main()
142 sprintf(tmpc, "junk%dk", getpid()); in main()
H A Drefer1.c117 sprintf(ofile, "/tmp/rj%db", getpid()); in main()
125 sprintf(tfile, "/tmp/rj%da", getpid()); in main()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmutmp.c68 up->ut_pid = getpid(); in account()
93 pid_t ownpid = getpid(); in checkut_line()
182 ownpid = getpid(); in getty_account()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlckpwdf.c72 if (lck_pid != 0 && lck_pid != getpid()) { in lckpwdf()
82 lck_pid = getpid(); in lckpwdf()
/illumos-gate/usr/src/cmd/truss/
H A Dipc.c182 gps->tpid[j] = getpid(); in procadd()
201 tpid = getpid(); in procdel()
226 tpid = getpid(); in lwptrace()
336 pid == getpid() || /* process opened truss's /proc file */ in checkproc()
/illumos-gate/usr/src/cmd/saf/
H A Dlog.c114 timestamp, getpid(), msg); in log()
178 (void) sprintf(buf, "%s; %ld; %s\n", timestamp, getpid(), msg); in debug()
H A Dsacadm.c746 ap->ac_pid = getpid();
767 ap->ac_pid = getpid();
788 ap->ac_pid = getpid();
809 ap->ac_pid = getpid();
832 ap->ac_pid = getpid();
875 ap->ac_pid = getpid();
1119 pid = getpid();
/illumos-gate/usr/src/man/man2/
H A DMakefile65 getpid.2 \
333 getpgid.2 := LINKSRC = getpid.2
334 getpgrp.2 := LINKSRC = getpid.2
335 getppid.2 := LINKSRC = getpid.2
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtrace_init.c168 _tnfw_b_control->tnf_pid = getpid(); in _tnf_trace_initialize()
245 sched->pid = getpid(); in _tnf_sched_init()
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_kadmind.c129 aug_save_pid(getpid()); /* process ID */ in common_audit()
130 aug_save_asid(getpid()); /* session ID */ in common_audit()
H A Daudit_krb5kdc.c88 aug_save_pid(getpid()); /* process ID */ in common_audit()
89 aug_save_asid(getpid()); /* session ID */ in common_audit()
H A Daudit_rexd.c131 info.ai_asid = getpid(); in audit_rexd_session_setup()
192 pid = getpid();
318 pid = getpid();
H A Daudit_rexecd.c99 info.ai_asid = getpid(); in audit_rexecd_session_setup()
179 pid = getpid();
290 pid = getpid();
/illumos-gate/usr/src/cmd/hal/hald/
H A Dlogger.c180 pid = getpid (); in logger_emit()
224 pid = getpid (); in logger_forward_debug()
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c190 EV_PID(scp) = getpid(); in sysevent_evc_bind()
219 if (EV_PID(scp) == getpid()) { in sysevent_evc_unbind()
279 if (EV_PID(scp) != getpid()) { in sysevent_evc_publish()
462 if (EV_PID(scp) != getpid()) { in sysevent_evc_subscribe_cmn()
702 if (EV_PID(scp) != getpid()) in sysevent_evc_unsubscribe()
788 if (EV_PID(scp) != getpid()) { in sysevent_evc_control()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c119 rcp->pid == getpid() && in rpc_call()
133 rcp->pid = getpid(); in rpc_call()
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c109 root_pid = getpid(); /* know who is root process for error */ in main()
135 if (getpid() == root_pid) { in main()
146 if (getpid() == root_pid) { in main()
276 pcbn->pcb_procno = getpid(); in mfork()
1078 if (getpid() == root_pid) { in int_handler()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dclock.c160 ev->ev_pid = getpid();
234 (void) kill(getpid(), SIGALRM);
350 mypid = getpid();
415 if (pid != getpid())

12345678910>>...19