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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/
H A Dgenrand.c93 uint32 v1, v2; struct timeval tval; pid_t mypid; local
132 mypid = sys_getpid();
133 v1 = (counter++) + mypid + tval.tv_sec;
134 v2 = (counter++) * mypid + tval.tv_usec;
H A Dsystem.c1353 Wrapper for fork. Ensures that mypid is reset. Used so we can write
1357 static pid_t mypid = (pid_t)-1; variable
1363 if (forkret == (pid_t)0) /* Child - reset mypid so sys_getpid does a system call. */
1364 mypid = (pid_t) -1;
1375 if (mypid == (pid_t)-1)
1376 mypid = getpid();
1378 return mypid;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/
H A Ddmapi.c60 pid_t mypid; local
62 mypid = sys_getpid();
63 if (mypid != lastpid) {
66 lastpid = mypid;
H A Dconnection.c90 pid_t mypid; member in struct:count_stat
137 cs.mypid = sys_getpid();
H A Dprocess.c1269 static pid_t mypid = 0; local
1285 if (mypid != getpid()) { /* First time or fork happened meanwhile */
1291 mypid = getpid();
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/bfa/
H A Dbfa_port_priv.h49 u32 mypid:24; member in struct:bfa_fcport_s
H A Dbfa_fcport.c1574 return fcport->mypid;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/accounting/
H A Dgetdelays.c252 __u32 mypid; local
349 mypid = getpid();
358 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET,
374 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET,
389 rc = send_cmd(nl_sd, id, mypid, CGROUPSTATS_CMD_GET,
492 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/torture/
H A Drpctorture.c175 pid_t mypid = getpid(); local
176 sys_srandom(mypid ^ time(NULL));
H A Dtorture.c4908 pid_t mypid = getpid(); local
4909 sys_srandom(((int)mypid) ^ ((int)time(NULL)));
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/procps/
H A Dfuser.c302 pid_t mypid = getpid(); local
308 if (curr->pid > 0 && curr->pid != mypid) {
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/loginutils/
H A Dgetty.c651 int mypid = getpid(); local
667 && !(utp->ut_type == INIT_PROCESS && utp->ut_pid == mypid))
686 ut.ut_pid = mypid;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Dsysscript.tcl33 set mypid [pid]
56 puts "Beginning execution for $mypid"
66 set err [catch {error_check_good $mypid:dbenv [is_substr $dbenv env] 1} ret]
76 set err [catch {error_check_bad $mypid:dbopen $db_set($i) NULL} ret]
81 set err [catch {error_check_bad $mypid:dbopen [is_substr $db_set($i) \
101 set err [catch {error_check_good $mypid:txn_begin [is_substr $txn \
111 set err [catch {error_check_good $mypid:cursor_open \
128 $mypid:cursor_close \
135 set err [catch {error_check_good $mypid:txn_abort \
169 $mypid
[all...]
H A Dtestutils.tcl3380 set mypid [pid]
3381 if { $mypid < 0 } {
3382 set mypid [expr - $mypid]
3384 puts "PID: [pid] $mypid\n"
3385 return $mypid
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zeroconf-0.9/
H A Dzeroconf.c127 pid_t mypid = -1; variable
223 mypid = getpid();
225 fprintf(pidfile, "%d\n", mypid);
1325 (n->nlmsg_pid == mypid))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dauth.c267 int mypid = getpid(); local
279 fprintf(fp, "%s:%d\n", pwd->pw_name, mypid);
287 fprintf(fp, "%s:%d\n", pwd->pw_name, mypid);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/printing/
H A Dprinting.c1559 uint32 mypid = (uint32)sys_getpid(); local
1601 if (IVAL(data.dptr,i) == mypid) {
1617 SIVAL(data.dptr,data.dsize - 8,mypid);
1650 uint32 mypid = (uint32)sys_getpid(); local
1691 if (IVAL(data.dptr,i) == mypid) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/
H A Dsys-linux.c2148 pid_t mypid = getpid(); local
2159 while ((utp = getutent()) && (utp->ut_pid != mypid))
2177 ut.ut_pid = mypid;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/pppd/
H A Dsys-linux.c2042 pid_t mypid = getpid(); local
2053 while ((utp = getutent()) && (utp->ut_pid != mypid))
2074 ut.ut_pid = mypid;

Completed in 237 milliseconds