Searched refs:mypid (Results 1 - 14 of 14) sorted by relevance

/freebsd-10-stable/contrib/netbsd-tests/lib/librumpclient/
H A Dh_execthr.c82 getproc(pid_t mypid, struct kinfo_proc2 *p) argument
90 name[3] = mypid;
103 pid_t mypid; local
122 mypid = rump_sys_getpid();
143 getproc(mypid, &p);
193 getproc(mypid, &p);
/freebsd-10-stable/crypto/heimdal/appl/login/
H A Dutmpx_login.c71 pid_t mypid = getpid(); local
84 if (ut->ut_pid == mypid
98 newut.ut_pid = mypid;
/freebsd-10-stable/contrib/netbsd-tests/rump/rumpkern/
H A Dt_lwproc.c149 pid_t mypid; local
156 mypid = rump_sys_getpid();
161 mypid = rump_sys_getpid();
162 ATF_REQUIRE(mypid != -1 && mypid != 0);
163 RZ(rump_pub_lwproc_newlwp(mypid));
172 ATF_REQUIRE_EQ(rump_sys_getpid(), mypid); local
179 ATF_REQUIRE_EQ(rump_pub_lwproc_newlwp(mypid), ESRCH);
/freebsd-10-stable/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_stresscli.c24 static pid_t mypid; variable
102 if (pidi != mypid)
103 errx(1, "mypid mismatch");
162 mypid = rump_sys_getpid();
163 sprintf(hostnamebuf, HOSTNAMEBASE "%d", mypid);
/freebsd-10-stable/bin/pkill/
H A Dpkill.c73 #define PSKIP(kp) ((kp)->ki_pid == mypid || \
112 static pid_t mypid; variable
309 mypid = getpid();
498 pid = mypid;
510 if (pid == mypid)
699 li->li_number = getsid(mypid);
/freebsd-10-stable/usr.bin/killall/
H A Dkillall.c116 pid_t mypid; local
328 mypid = getpid();
341 if (thispid == mypid)
/freebsd-10-stable/contrib/sendmail/libsm/
H A Dclock.c323 pid_t mypid; local
348 mypid = getpid();
380 kill(mypid, sig);
389 (ev->ev_pid != mypid ||
/freebsd-10-stable/release/picobsd/tinyware/oinit/
H A Doinit.c511 pid_t mypid; local
527 mypid=getpid();
533 printf("(%d)%s%s",mypid,cwd,prompt);
/freebsd-10-stable/sbin/routed/
H A Dmain.c54 pid_t mypid; variable
305 mypid = getpid();
309 srandom((int)(clk.tv_sec ^ clk.tv_usec ^ mypid));
H A Ddefs.h448 extern pid_t mypid;
H A Dtable.c1187 && m.r.rtm.rtm_pid == mypid) {
/freebsd-10-stable/contrib/amd/hlfsd/
H A Dhlfsd.c888 int mypid = getpid(); /* XXX: should this be the global am_mypid */ local
890 if (mypid == masterpid)
892 else if (mypid == serverpid)
/freebsd-10-stable/contrib/sendmail/src/
H A Dutil.c2794 pid_t mypid = getpid(); local
2804 ProcListVec[i].proc_pid == mypid)
/freebsd-10-stable/contrib/tcsh/
H A Dsh.c2425 pid_t mypid = getpid(); local
2431 np->p_parentid == mypid) {

Completed in 143 milliseconds