Searched refs:pids (Results 1 - 25 of 25) sorted by relevance

/netbsd-current/external/cddl/dtracetoolkit/dist/Bin/
H A Dpidpersec.d45 pids = 0;
50 pids++;
55 printf("%-22Y %6d\n", walltimestamp, pids);
56 pids = 0;
/netbsd-current/external/cddl/dtracetoolkit/dist/Proc/
H A Dpidpersec.d45 pids = 0;
50 pids++;
55 printf("%-22Y %6d\n", walltimestamp, pids);
56 pids = 0;
/netbsd-current/etc/rc.d/
H A Dppp49 pids="$(check_process pppd)"
50 if [ -n "$pids" ]; then
51 for pid in $pids; do
59 pids="$(check_process pppd)"
60 if [ -n "$pids" ]; then
61 for pid in $pids; do
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dmulti-forks.c25 pid_t pids[4]; variable
35 pids [i] = fork ();
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dmulti-forks.c25 pid_t pids[4]; variable
35 pids [i] = fork ();
/netbsd-current/external/bsd/cron/dist/
H A Dpopen.c61 static PID_T *pids; variable
74 if (!pids) {
79 len = (size_t)fds * sizeof(*pids);
80 if ((pids = malloc(len)) == NULL)
82 (void)memset(pids, 0, len);
161 pids[fileno(iop)] = pid;
177 if (pids == 0 || pids[fdes = fileno(iop)] == 0)
181 if (kill(pids[fdes], sig) == -1)
191 while ((pid = waitpid(pids[fde
[all...]
/netbsd-current/libexec/ftpd/
H A Dpopen.c102 static int *pids; variable
121 if (!pids) {
124 if ((pids = (int *)malloc((unsigned int)(fds * sizeof(int)))) == NULL)
126 memset(pids, 0, fds * sizeof(int));
209 pids[fileno(iop)] = pid;
228 if (pids == 0 || pids[fdes = fileno(iop)] == 0)
236 while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
239 pids[fdes] = 0;
H A Dconf.c879 * /var/run/ftpd.pids-<class>
892 pid_t *pids, mypid; local
898 pids = NULL;
912 if ((pids = calloc(sb.st_size + sizeof(pid_t), 1)) == NULL)
915 scount = read(fd, pids, sb.st_size);
922 if (pids[i] == 0)
924 if (kill(pids[i], 0) == -1 && errno != EPERM) {
926 pids[i] = mypid;
936 if (pids[last] != 0)
938 pids[las
[all...]
/netbsd-current/tests/usr.bin/fstat/
H A Dt_fstat.sh43 pids=$(ps -A | awk '{print $1}')
45 for pid in $pids; do
/netbsd-current/crypto/external/bsd/heimdal/dist/kdc/
H A Dconnect.c1011 kill_kids(pid_t *pids, int max_kids, int sig) argument
1016 if (pids[i] > 0)
1017 kill(sig, pids[i]);
1024 pid_t *pids, int max_kids, int options)
1037 if (pids[i] == pid)
1065 pids[i] = (pid_t)0;
1072 pid_t *pids, int max_kids)
1077 if (reap_kid(context, config, pids, max_kids, WNOHANG) == 0)
1106 pid_t *pids; local
1127 pids
1023 reap_kid(krb5_context context, krb5_kdc_configuration *config, pid_t *pids, int max_kids, int options) argument
1071 reap_kids(krb5_context context, krb5_kdc_configuration *config, pid_t *pids, int max_kids) argument
[all...]
/netbsd-current/external/gpl2/groff/dist/src/roff/groff/
H A Dpipeline.c222 PID_T pids[MAX_COMMANDS]; local
314 pids[i] = pid;
334 pid = pids[i];
453 PID_T pids[MAX_COMMANDS]; local
504 pids[i] = pid;
513 if (pids[i] == pid) {
514 pids[i] = -1;
532 if (pids[j] > 0)
533 (void)kill(pids[j], SIGPIPE);
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/bfin/
H A Drun-tests.sh211 pids=()
224 pids+=( $! )
225 if [[ ${#pids[@]} -gt ${jobs} ]] ; then
226 wait ${pids[0]}
227 pids=( ${pids[@]:1} )
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/bfin/
H A Drun-tests.sh211 pids=()
224 pids+=( $! )
225 if [[ ${#pids[@]} -gt ${jobs} ]] ; then
226 wait ${pids[0]}
227 pids=( ${pids[@]:1} )
/netbsd-current/external/apache2/llvm/dist/llvm/utils/Misc/
H A Dzkill224 pids = set()
227 pids.add(int(arg))
234 if pids:
236 if p.pid in pids]
/netbsd-current/bin/pax/
H A Doptions.c88 static int nopids; /* tar mode: suppress "pids" for -p option */
395 pids = 1;
419 pids = 1;
988 pids = 0;
998 pids = 1;
1537 pids = 1;
H A Dfile_subs.c241 if (pids)
588 if (pids)
774 if (pids)
H A Dpax.c103 int pids; /* preserve file uid/gid */ variable
H A Dextern.h253 extern int pids;
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dlinux-thread-db.c1934 std::string pids;
1938 if (!pids.empty ())
1939 pids += ", ";
1940 string_appendf (pids, "%u", array[i]->pid);
1944 uiout->field_string ("pids", pids.c_str ());
1933 std::string pids; local
H A Dgnu-nat.c1899 pidarray_t pids, mach_msg_type_number_t pidsCnt)
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dlinux-thread-db.c1949 std::string pids;
1953 if (!pids.empty ())
1954 pids += ", ";
1955 string_appendf (pids, "%u", array[i]->pid);
1959 uiout->field_string ("pids", pids);
1948 std::string pids; local
H A Dgnu-nat.c1900 const_pidarray_t pids, mach_msg_type_number_t pidsCnt)
/netbsd-current/tests/net/ipsec/
H A Dt_ipsec_natt.sh166 PIDSFILE=./terminator.pids
/netbsd-current/tests/net/if_ipsec/
H A Dt_ipsec_natt.sh133 PIDSFILE=./terminator.pids
/netbsd-current/external/bsd/openldap/dist/libraries/liblmdb/
H A Dmdb.c10198 MDB_PID_T *pids, pid; local
10202 pids = malloc((rdrs+1) * sizeof(MDB_PID_T));
10203 if (!pids)
10205 pids[0] = 0;
10210 if (mdb_pid_insert(pids, pid) == 0) {
10238 free(pids);

Completed in 281 milliseconds