/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | cryptio.c | 108 void (*pstat) (); 109 pstat = signal(SIGPIPE, SIG_IGN); /* don't want pipe errors to cause */ 113 (void) signal(SIGPIPE, pstat); 116 (void) signal(SIGPIPE, pstat); 125 void (*pstat) (); 130 pstat = signal(SIGPIPE, SIG_IGN); 134 (void) signal(SIGPIPE, pstat); 140 (void) signal(SIGPIPE, pstat); 146 (void) signal(SIGPIPE, pstat); 150 (void) signal(SIGPIPE, pstat); [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_spin.c | 17 #include <sys/pstat.h>
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | dis.c | 176 pstatus_t pstat; local 178 if (pread(ph->pp_statusfd, &pstat, sizeof (pstat), 0) == -1) 181 (void) disasm_addr(ph, (ulong_t)pstat.pr_lwp.pr_reg[R_PC], num_inst);
|
H A D | bpt.c | 512 pstatus_t pstat; local 516 if (read(ph->pp_statusfd, &pstat, sizeof (pstat)) == -1) 519 caddr = pstat.pr_lwp.pr_reg[R_PC]; 523 if (read(ph->pp_statusfd, &pstat, sizeof (pstat)) == -1) 525 caddr = pstat.pr_lwp.pr_reg[R_PC];
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_io.c | 313 drmach_status_t pstat; local 329 err = drmach_status(ip->sbi_cm.sbdev_id, &pstat); 350 (void) strlcpy(isp->is_cm.c_id.c_name, pstat.type, 355 isp->is_cm.c_busy = ip->sbi_cm.sbdev_busy | pstat.busy;
|
H A D | dr_cpu.c | 596 dr_fill_cpu_stat(dr_cpu_unit_t *cp, drmach_status_t *pstat, sbd_cpu_stat_t *csp) argument 598 ASSERT(cp && pstat && csp); 604 (void) strlcpy(csp->cs_name, pstat->type, sizeof (csp->cs_name)); 606 csp->cs_busy = cp->sbc_cm.sbdev_busy | pstat->busy; 725 drmach_status_t pstat; local 752 err = drmach_status(cp->sbc_cm.sbdev_id, &pstat); 758 dr_fill_cpu_stat(cp, &pstat, &cstat[ncores++]);
|
H A D | dr_mem_acpi.c | 293 drmach_status_t pstat; local 310 err = drmach_status(mp->sbm_cm.sbdev_id, &pstat); 319 (void) strlcpy(msp->ms_cm.c_id.c_name, pstat.type, 324 msp->ms_cm.c_busy = mp->sbm_cm.sbdev_busy | pstat.busy;
|
H A D | dr.c | 2120 drmach_status_t pstat; local 2216 bzero(&pstat, sizeof (pstat)); 2220 err = drmach_status(bp->b_id, &pstat); 2237 if (!pstat.empty && (bp->b_rstate == SBD_STAT_EMPTY)) 2239 else if (pstat.empty && (bp->b_rstate == SBD_STAT_DISCONNECTED)) 2244 dstatp->s_cond = bp->b_cond = pstat.cond; 2245 dstatp->s_busy = bp->b_busy | pstat.busy; 2247 dstatp->s_power = pstat.powered; 2248 dstatp->s_assigned = bp->b_assigned = pstat [all...] |
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_io.c | 335 drmach_status_t pstat; local 351 err = drmach_status(ip->sbi_cm.sbdev_id, &pstat); 372 (void) strncpy(isp->is_cm.c_id.c_name, pstat.type, 377 isp->is_cm.c_busy = ip->sbi_cm.sbdev_busy | pstat.busy;
|
H A D | dr_cpu.c | 656 dr_fill_cpu_stat(dr_cpu_unit_t *cp, drmach_status_t *pstat, sbd_cpu_stat_t *csp) argument 658 ASSERT(cp && pstat && csp); 664 (void) strncpy(csp->cs_name, pstat->type, sizeof (csp->cs_name)); 666 csp->cs_busy = cp->sbc_cm.sbdev_busy | pstat->busy; 793 drmach_status_t pstat; local 820 err = drmach_status(cp->sbc_cm.sbdev_id, &pstat); 826 dr_fill_cpu_stat(cp, &pstat, &cstat[ncores++]);
|
H A D | dr.c | 2152 drmach_status_t pstat; local 2248 bzero(&pstat, sizeof (pstat)); 2252 err = drmach_status(bp->b_id, &pstat); 2269 if (!pstat.empty && (bp->b_rstate == SBD_STAT_EMPTY)) 2271 else if (pstat.empty && (bp->b_rstate == SBD_STAT_DISCONNECTED)) 2276 dstatp->s_cond = bp->b_cond = pstat.cond; 2277 dstatp->s_busy = bp->b_busy | pstat.busy; 2279 dstatp->s_power = pstat.powered; 2280 dstatp->s_assigned = bp->b_assigned = pstat [all...] |
H A D | dr_mem.c | 725 drmach_status_t pstat; local 742 err = drmach_status(mp->sbm_cm.sbdev_id, &pstat); 751 (void) strncpy(msp->ms_cm.c_id.c_name, pstat.type, 756 msp->ms_cm.c_busy = mp->sbm_cm.sbdev_busy | pstat.busy;
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpstat.c | 380 int32_t pstat = 0; local 402 "printer-state", &pstat); 404 switch (pstat) { 449 if (pstat == 0x04) 454 if (pstat == 0x06) 476 printf(gettext("unknown state(0x%x)."), pstat); 480 if (pstat == 0x08) 493 if ((pstat == 0x05) || 494 (pstat == 0x06) || 495 (pstat [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_rec.c | 525 enum xprt_stat pstat; local 532 if (__xdrrec_getbytes_nonblock(xdrs, &pstat) || 533 (pstat == XPRT_MOREREQS && 829 __xdrrec_getbytes_nonblock(XDR *xdrs, enum xprt_stat *pstat) argument 896 *pstat = XPRT_DIED; 906 *pstat = XPRT_DIED; 996 *pstat = XPRT_DIED; 1057 *pstat = XPRT_MOREREQS; 1082 *pstat = XPRT_DIED; 1088 *pstat [all...] |
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex.c | 692 void (*pstat)(); 705 pstat = signal(SIGINT, SIG_IGN); 714 signal(SIGINT, pstat);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | alias.c | 196 ** pstat -- a pointer to a place to put the status. 211 aliaslookup(name, pstat, av) 213 int *pstat; 245 return (*map->map_class->map_lookup)(map, name, argv, pstat); 247 return (*map->map_class->map_lookup)(map, name, NULL, pstat);
|
H A D | map.c | 104 ** char *map_lookup(MAP *map, char *key, char **args, int *pstat) 107 ** and return the value. Set *pstat to the appropriate status 5095 ph_map_lookup(map, key, args, pstat) 5099 int *pstat; 5108 *pstat = EX_OK; 5121 *pstat = EX_TEMPFAIL; 5130 *pstat = EX_TEMPFAIL; 5132 *pstat = EX_UNAVAILABLE; 5143 if (*pstat == EX_TEMPFAIL) 5151 if (*pstat [all...] |
H A D | parseaddr.c | 1783 ** pstat -- a pointer to an integer in which to store the 1793 map_lookup(smap, key, argvect, pstat, e) 1797 int *pstat; 1817 *pstat = EX_TEMPFAIL; 1846 *pstat = EX_TEMPFAIL; 2616 ** pstat -- pointer to status word. 2632 remotename(name, m, flags, pstat, e) 2636 int *pstat; 2697 *pstat = EX_TEMPFAIL; 2721 *pstat [all...] |
H A D | conf.c | 1666 # include <sys/pstat.h> 2346 #define SPT_PSTAT 3 /* use pstat(PSTAT_SETCMD, ...) */ 2360 # include <sys/pstat.h> 2538 pstat(PSTAT_SETCMD, pst, i, 0, 0); 5187 # include <sys/pstat.h>
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 45 #include "FEATURE/pstat" 715 # include <sys/pstat.h> 739 if(pstat(PSTAT_STATIC, un, sizeof(struct pst_static), 1, 0)<0) 782 pstat(PSTAT_SETCMD,un,0,0,0);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/df/ |
H A D | df.c | 749 * path lies). The pstat argument must point to stat information for 768 findmntent(char *path, struct stat64 *pstat, struct mntlist *mlist) argument 836 if (pstat->st_dev == mlp->mntl_dev)
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 710 drmach_status_t pstat; local 727 err = drmach_status(mp->sbm_cm.sbdev_id, &pstat); 736 (void) strncpy(msp->ms_cm.c_id.c_name, pstat.type, 741 msp->ms_cm.c_busy = mp->sbm_cm.sbdev_busy | pstat.busy;
|