Searched refs:pstat (Results 1 - 25 of 34) sorted by last modified time

12

/freebsd-current/targets/pseudo/userland/
H A DMakefile.depend652 usr.sbin/pstat \
/freebsd-current/usr.sbin/
H A DMakefile67 pstat \
/freebsd-current/contrib/xz/src/common/
H A Dtuklib_physmem.c64 # include <sys/pstat.h>
H A Dtuklib_cpucores.c42 # include <sys/pstat.h>
/freebsd-current/contrib/sendmail/src/
H A Dparseaddr.c1825 ** pstat -- a pointer to an integer in which to store the
1835 map_lookup(smap, key, argvect, pstat, e)
1839 int *pstat;
1860 *pstat = EX_TEMPFAIL;
1894 *pstat = EX_TEMPFAIL;
2694 ** pstat -- pointer to status word.
2707 remotename(name, m, flags, pstat, e)
2711 int *pstat;
2772 *pstat = EX_TEMPFAIL;
2796 *pstat
[all...]
H A Dmap.c273 ** char *map_lookup(MAP *map, char *key, char **args, int *pstat)
276 ** and return the value. Set *pstat to the appropriate status
5789 ph_map_lookup(map, key, args, pstat)
5793 int *pstat;
5802 *pstat = EX_OK;
5815 *pstat = EX_TEMPFAIL;
5824 *pstat = EX_TEMPFAIL;
5826 *pstat = EX_UNAVAILABLE;
5837 if (*pstat == EX_TEMPFAIL)
5845 if (*pstat
[all...]
H A Dconf.c1744 # include <sys/pstat.h>
2423 #define SPT_PSTAT 3 /* use pstat(PSTAT_SETCMD, ...) */
2436 # include <sys/pstat.h>
2616 pstat(PSTAT_SETCMD, pst, i, 0, 0);
5346 # include <sys/pstat.h>
H A Dalias.c197 ** pstat -- a pointer to a place to put the status.
209 aliaslookup(name, pstat, av)
211 int *pstat;
255 res = (*map->map_class->map_lookup)(map, name, argv, pstat);
/freebsd-current/usr.sbin/crunch/examples/
H A Dreally-big.conf72 progs pstat pwd_mkdb quot quotaon rarpd rbootd repquota rmt rpc.bootparamd
/freebsd-current/usr.sbin/crashinfo/
H A Dcrashinfo.sh263 echo "pstat -T"
265 pstat -M $VMCORE -N $KERNEL -T
269 echo "pstat -s"
271 pstat -M $VMCORE -N $KERNEL -s
/freebsd-current/bin/timeout/
H A Dtimeout.c165 int error, pstat, status; local
288 pstat = status;
341 while (!child_done && wait(&pstat) == -1) {
349 if (WEXITSTATUS(pstat))
350 pstat = WEXITSTATUS(pstat);
351 else if (WIFSIGNALED(pstat))
352 pstat = 128 + WTERMSIG(pstat);
355 pstat
[all...]
/freebsd-current/usr.sbin/pstat/
H A DMakefile2 PROG= pstat
3 LINKS= ${BINDIR}/pstat ${BINDIR}/swapinfo
4 MAN= pstat.8
5 MLINKS= pstat.8 swapinfo.8
/freebsd-current/usr.sbin/pkg/
H A Dpkg.c152 int pstat; local
170 while (waitpid(pid, &pstat, 0) == -1)
174 if (WEXITSTATUS(pstat))
175 return (WEXITSTATUS(pstat));
176 else if (WIFSIGNALED(pstat))
177 return (128 & (WTERMSIG(pstat)));
178 return (pstat);
/freebsd-current/usr.bin/apply/
H A Dapply.c215 int omask, pstat; local
233 pid = waitpid(pid, &pstat, 0);
237 return(pid == -1 ? -1 : pstat);
/freebsd-current/sbin/devd/
H A Ddevd.cc228 int pstat; local
268 pid = ::wait4(savedpid, &pstat, 0, (struct rusage *)0);
275 return (pid == -1 ? -1 : pstat);
/freebsd-current/lib/libutil/
H A Dpw_util.c245 int pstat; local
267 if (waitpid(pid, &pstat, 0) == -1)
269 if (WIFEXITED(pstat) && WEXITSTATUS(pstat) == 0)
286 int pstat; local
320 if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
326 } else if (WIFSTOPPED(pstat)) {
327 raise(WSTOPSIG(pstat));
328 } else if (WIFEXITED(pstat)) {
329 if (WEXITSTATUS(pstat) !
[all...]
/freebsd-current/lib/libc/stdlib/
H A Dsystem.c58 int pstat; local
99 pid = _wait4(savedpid, &pstat, 0, (struct rusage *)0);
104 return (pid == -1 ? -1 : pstat);
/freebsd-current/lib/libc/gen/
H A Dpopen.c192 int pstat; local
217 pid = _wait4(cur->pid, &pstat, 0, (struct rusage *)0);
222 return (pid == -1 ? -1 : pstat);
/freebsd-current/contrib/pf/pflogd/
H A Dpflogd.c632 struct pcap_stat pstat; local
633 if (pcap_stats(hpcap, &pstat) < 0)
638 pstat.ps_recv, pstat.ps_drop, packets_dropped);
/freebsd-current/contrib/blocklist/port/
H A Dpopenve.c236 int pstat; local
268 pid = waitpid(cur->pid, &pstat, 0);
273 return pid == -1 ? -1 : pstat;
/freebsd-current/libexec/flua/modules/
H A Dlfbsd.c68 int r, pstat; local
96 while (waitpid(pid, &pstat, 0) == -1) {
105 if (WEXITSTATUS(pstat) != 0) {
/freebsd-current/usr.sbin/pmcstudy/
H A Dpmcstudy.c151 int pstat; local
161 pid = wait4(the_pid, &pstat, 0, (struct rusage *)0);
/freebsd-current/lib/libusb/
H A Dlibusb20.h251 int libusb20_dev_get_stats(struct libusb20_device *pdev, struct libusb20_device_stats *pstat);
/freebsd-current/tools/test/stress2/misc/
H A Dmountu.sh48 pstat() { function
56 if pstat $!| awk "\$2 == \"$map\"" | grep -q " rw-"; then
61 pstat $! | awk "\$2 == \"$map\""
91 r=`pstat $! | awk "\\$2 == \"$map\""`
114 r=`pstat $! | awk "\\$2 == \"$map\""`
140 r=`pstat $! | awk "\\$2 == \"$map\""`
163 r=`pstat $! | awk "\\$2 == \"$map\""`
/freebsd-current/contrib/bc/src/
H A Dread.c270 struct stat pstat; local
285 memset(&pstat, 0, sizeof(struct stat));
295 if (BC_ERR(fstat(fd, &pstat) == -1)) goto malloc_err;
298 if (BC_ERR(S_ISDIR(pstat.st_mode)))
305 size = (size_t) pstat.st_size;

Completed in 420 milliseconds

12