Searched refs:pid (Results 151 - 175 of 1170) sorted by relevance

1234567891011>>

/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/
H A Dtst.linkmap.ksh31 pid\$target:LM1\`ld.so.1:strstr:entry,
32 pid\$target:libc.so.1:strstr:entry
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i386/pid/
H A Dtst.retlist.ksh41 match=`$dtrace -l -n pid$PID:a.out:simple: -n pid$PID:a.out:complex: | wc -l`
/freebsd-13-stable/contrib/apr/threadproc/unix/
H A Dprocsup.c91 int waitpid(pid_t pid, int *statusp, int options) argument
94 if (kill(pid, 0) == -1) {
98 while (((tmp_pid = wait3(statusp, options, 0)) != pid) &&
99 (tmp_pid != -1) && (tmp_pid != 0) && (pid != -1))
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/
H A Dzpool_wait_initialize_basic.ksh35 kill_if_running $pid
45 typeset pid default_chunk_sz
59 pid=$!
61 check_while_waiting $pid "is_vdev_initializing $TESTPOOL"
H A Dzpool_wait_trim_basic.ksh35 kill_if_running $pid
53 typeset pid
64 pid=$!
66 check_while_waiting $pid "trim_in_progress $TESTPOOL"
/freebsd-13-stable/contrib/opie/libopie/
H A Dunlock.c47 int fh, rval = -1, pid, t, i; variable
75 if (!(pid = atoi(buffer)))
81 if ((pid != getpid()) && (time(0) <= OPIE_LOCK_TIMEOUT + t) && (!kill(pid, 0))) {
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/termios/
H A Dt_tcsetpgrp.c51 pid_t pid; local
56 pid = fork();
57 ATF_REQUIRE(pid >= 0);
59 if (pid == 0) {
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dpid.h47 #define pid_task(pid, type) ({ \
50 __ts = linux_pid_task(pid); \
54 #define get_pid_task(pid, type) ({ \
57 __ts = linux_get_pid_task(pid); \
/freebsd-13-stable/contrib/kyua/utils/process/
H A Doperations.cpp79 const pid_t pid = ::wait(&stat_loc); local
80 if (pid == -1) {
85 return process::status(pid, stat_loc);
91 /// \param pid The identifier of the process to wait for.
97 safe_waitpid(const pid_t pid) argument
99 LD(F("Waiting for pid=%s") % pid);
101 if (process::detail::syscall_waitpid(pid, &stat_loc, 0) == -1) {
103 throw process::system_error(F("Failed to wait for PID %s") % pid,
106 return process::status(pid, stat_lo
248 wait(const int pid) argument
[all...]
/freebsd-13-stable/contrib/wpa/wpa_supplicant/examples/
H A Dudhcpd-p2p.conf62 # The location of the pid file
63 pidfile /var/run/udhcpd-wlan2.pid #default: /var/run/udhcpd.pid
/freebsd-13-stable/lib/csu/tests/
H A Dfini_test.c73 pid_t pid, wpid; local
76 pid = fork();
77 switch(pid) {
84 while ((wpid = waitpid(pid, &status, 0)) == -1 &&
115 pid_t pid, wpid; local
118 pid = fork();
119 switch(pid) {
126 while ((wpid = waitpid(pid, &status, 0)) == -1 &&
/freebsd-13-stable/lib/libc/gen/
H A Dwaitpid.c48 __waitpid(pid_t pid, int *istat, int options) argument
52 __libc_interposing[INTERPOS_wait4])(pid, istat, options, NULL));
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/
H A Derr.cpcvscpustatpart2.ksh63 pid=$!
69 kill $pid
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/
H A Drtime.d48 printf("%d/%d spent %d nsecs in read(2)\n", pid,
H A Dkstat.d40 pid$1:libkstat:kstat_data_lookup:entry
45 pid$1:libkstat:kstat_data_lookup:return
53 pid$1:libkstat:kstat_data_lookup:return
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/
H A Dtst.sigwait.d38 /pid == $1 && args[0] == SIGUSR1 && sent/
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/
H A Dtst.args.d36 /pid == $1 && arg0 == 0 && arg1 == 1 && arg2 == 2 && arg3 == 3 &&
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_assert.c74 pid_t pid; local
77 pid = fork();
78 ATF_REQUIRE(pid >= 0);
80 if (pid == 0) {
112 pid_t pid; local
115 pid = fork();
116 ATF_REQUIRE(pid >= 0);
118 if (pid == 0) {
/freebsd-13-stable/usr.bin/top/
H A Dutils.h24 int find_pid(pid_t pid);
/freebsd-13-stable/tools/regression/sockets/unix_close_race/
H A Dunix_close_race.c66 int listenfd, connfd, pid; local
98 pid = fork();
99 if (pid == -1)
101 if (pid != 0) {
113 (void)kill(pid, SIGTERM);
118 (void)kill(pid, SIGTERM);
122 (void)kill(pid, SIGTERM);
127 (void)kill(pid, SIGTERM);
/freebsd-13-stable/lib/libc/stdlib/
H A Dsystem.c63 pid_t pid, savedpid; local
76 switch(pid = vfork()) {
103 savedpid = pid;
105 pid = _wait4(savedpid, &pstat, 0, (struct rusage *)0);
106 } while (pid == -1 && errno == EINTR);
110 return (pid == -1 ? -1 : pstat);
/freebsd-13-stable/libexec/rc/
H A Drc.resume40 if [ -r /var/run/rc.suspend.pid ]; then
41 kill -9 `cat /var/run/rc.suspend.pid`
42 /bin/rm -f /var/run/rc.suspend.pid
H A Drc.suspend40 if [ -r /var/run/rc.suspend.pid ]; then
44 echo $$ 2> /dev/null > /var/run/rc.suspend.pid
59 /bin/rm -f /var/run/rc.suspend.pid
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.d33 /pid == $1 && arg0 == -1u/
39 /pid == $1 && arg0 != -1u && arg1 == 0 && arg2 == NULL/
51 /pid == $1/
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.args1.d32 * SECTION: pid provider
46 /pid == $1/
56 pid$1:a.out:go:entry
63 pid$1:a.out:go:entry

Completed in 76 milliseconds

1234567891011>>