Home
last modified time | relevance | path

Searched full:fpid (Results 1 – 9 of 9) sorted by relevance

/freebsd/tests/sys/kern/
H A Dptrace_test.c369 pid_t child, debugger, fpid, wpid; in ATF_TC_BODY() local
398 CHILD_REQUIRE((fpid = fork()) != -1); in ATF_TC_BODY()
399 if (fpid != 0) in ATF_TC_BODY()
546 pid_t fpid, wpid; in follow_fork_parent() local
550 CHILD_REQUIRE((fpid = vfork()) != -1); in follow_fork_parent()
552 CHILD_REQUIRE((fpid = fork()) != -1); in follow_fork_parent()
554 if (fpid == 0) in follow_fork_parent()
558 wpid = waitpid(fpid, &status, 0); in follow_fork_parent()
559 CHILD_REQUIRE_EQ(wpid, fpid); in follow_fork_parent()
635 pid_t children[2], fpid, wpid; in ATF_TC_BODY() local
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getpid.c61 pid_t ppid, fpid, cpid, tpid, wpid; in ATF_TC_BODY() local
67 fpid = fork(); in ATF_TC_BODY()
69 ATF_REQUIRE(fpid >= 0); in ATF_TC_BODY()
71 if (fpid == 0) { in ATF_TC_BODY()
82 if (tpid == fpid) in ATF_TC_BODY()
90 if (wpid != fpid) in ATF_TC_BODY()
/freebsd/crypto/openssl/apps/lib/
H A Dhttp_server.c137 pid_t fpid; in spawn_loop() local
144 if ((fpid = waitpid(-1, &status, 0)) > 0) { in spawn_loop()
146 if (kidpids[i] == fpid) { in spawn_loop()
155 (long) fpid); in spawn_loop()
161 (long)fpid, WEXITSTATUS(status)); in spawn_loop()
164 (long)fpid, WTERMSIG(status), in spawn_loop()
180 switch (fpid = fork()) { in spawn_loop()
199 kidpids[i] = fpid; in spawn_loop()
/freebsd/contrib/sendmail/libsmutil/
H A Dt-lockfile.c359 pid_t fpid; local
410 fpid = -1;
411 if (0 == reader && 0 == writer && (fpid = fork()) < 0)
418 if (reader || fpid == 0)
425 if (writer || fpid > 0)
427 fpid = getpid();
/freebsd/sys/contrib/device-tree/Bindings/leds/
H A Dleds-lgm.yaml26 - const: fpid
114 clock-names = "sso", "fpid";
/freebsd/tools/test/stress2/misc/
H A Dlstat.sh129 pid_t fpid, pd, pid;
143 if ((fpid = fork()) == 0)
195 waitpid(fpid, NULL, 0);
/freebsd/usr.sbin/daemon/
H A Ddaemon.c608 pid_t fpid; in open_pid_files() local
612 state->child_pidfh = pidfile_open(state->child_pidfile, 0600, &fpid); in open_pid_files()
616 fpid); in open_pid_files()
623 state->parent_pidfh= pidfile_open(state->parent_pidfile, 0600, &fpid); in open_pid_files()
630 fpid); in open_pid_files()
/freebsd/usr.sbin/lpr/lpd/
H A Dprintjob.c1341 pid_t fpid, wpid; in execfilter() local
1346 fpid = dofork(pp, DORETURN); in execfilter()
1347 if (fpid != 0) { in execfilter()
1353 if (fpid < 0) in execfilter()
1357 wpid != fpid) in execfilter()
/freebsd/sys/kern/
H A Dkern_descrip.c5104 "GCFl", "Count", "MCount", XPTRWIDTH, "Vnode", "FPID", in db_print_file()