Home
last modified time | relevance | path

Searched refs:pstat (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/lib/libcrypt/common/
H A Dcryptio.c108 void (*pstat) (); in writekey() local
109 pstat = signal(SIGPIPE, SIG_IGN); /* don't want pipe errors to cause */ in writekey()
113 (void) signal(SIGPIPE, pstat); in writekey()
116 (void) signal(SIGPIPE, pstat); in writekey()
125 void (*pstat) (); in run_crypt() local
130 pstat = signal(SIGPIPE, SIG_IGN); in run_crypt()
134 (void) signal(SIGPIPE, pstat); in run_crypt()
140 (void) signal(SIGPIPE, pstat); in run_crypt()
146 (void) signal(SIGPIPE, pstat); in run_crypt()
150 (void) signal(SIGPIPE, pstat); in run_crypt()
/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/
H A Ddis.c176 pstatus_t pstat; in disasm() local
178 if (pread(ph->pp_statusfd, &pstat, sizeof (pstat), 0) == -1) in disasm()
181 (void) disasm_addr(ph, (ulong_t)pstat.pr_lwp.pr_reg[R_PC], num_inst); in disasm()
H A Dbpt.c512 pstatus_t pstat; in step_to_addr() local
516 if (read(ph->pp_statusfd, &pstat, sizeof (pstat)) == -1) in step_to_addr()
519 caddr = pstat.pr_lwp.pr_reg[R_PC]; in step_to_addr()
523 if (read(ph->pp_statusfd, &pstat, sizeof (pstat)) == -1) in step_to_addr()
525 caddr = pstat.pr_lwp.pr_reg[R_PC]; in step_to_addr()
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dxdr_rec.c525 enum xprt_stat pstat; in xdrrec_skiprecord() local
532 if (__xdrrec_getbytes_nonblock(xdrs, &pstat) || in xdrrec_skiprecord()
533 (pstat == XPRT_MOREREQS && in xdrrec_skiprecord()
829 __xdrrec_getbytes_nonblock(XDR *xdrs, enum xprt_stat *pstat) in __xdrrec_getbytes_nonblock() argument
896 *pstat = XPRT_DIED; in __xdrrec_getbytes_nonblock()
906 *pstat = XPRT_DIED; in __xdrrec_getbytes_nonblock()
996 *pstat = XPRT_DIED; in __xdrrec_getbytes_nonblock()
1057 *pstat = XPRT_MOREREQS; in __xdrrec_getbytes_nonblock()
1082 *pstat = XPRT_DIED; in __xdrrec_getbytes_nonblock()
1088 *pstat = XPRT_MOREREQS; in __xdrrec_getbytes_nonblock()
/titanic_41/usr/src/uts/i86pc/io/dr/
H A Ddr_cpu.c596 dr_fill_cpu_stat(dr_cpu_unit_t *cp, drmach_status_t *pstat, sbd_cpu_stat_t *csp) in dr_fill_cpu_stat() argument
598 ASSERT(cp && pstat && csp); in dr_fill_cpu_stat()
604 (void) strlcpy(csp->cs_name, pstat->type, sizeof (csp->cs_name)); in dr_fill_cpu_stat()
606 csp->cs_busy = cp->sbc_cm.sbdev_busy | pstat->busy; in dr_fill_cpu_stat()
725 drmach_status_t pstat; in dr_cpu_status() local
752 err = drmach_status(cp->sbc_cm.sbdev_id, &pstat); in dr_cpu_status()
758 dr_fill_cpu_stat(cp, &pstat, &cstat[ncores++]); in dr_cpu_status()
H A Ddr_io.c313 drmach_status_t pstat; in dr_io_status() local
329 err = drmach_status(ip->sbi_cm.sbdev_id, &pstat); in dr_io_status()
350 (void) strlcpy(isp->is_cm.c_id.c_name, pstat.type, in dr_io_status()
355 isp->is_cm.c_busy = ip->sbi_cm.sbdev_busy | pstat.busy; in dr_io_status()
H A Ddr_mem_acpi.c293 drmach_status_t pstat; in dr_mem_status() local
310 err = drmach_status(mp->sbm_cm.sbdev_id, &pstat); in dr_mem_status()
319 (void) strlcpy(msp->ms_cm.c_id.c_name, pstat.type, in dr_mem_status()
324 msp->ms_cm.c_busy = mp->sbm_cm.sbdev_busy | pstat.busy; in dr_mem_status()
H A Ddr.c2120 drmach_status_t pstat; in dr_dev_status() local
2216 bzero(&pstat, sizeof (pstat)); in dr_dev_status()
2220 err = drmach_status(bp->b_id, &pstat); in dr_dev_status()
2237 if (!pstat.empty && (bp->b_rstate == SBD_STAT_EMPTY)) in dr_dev_status()
2239 else if (pstat.empty && (bp->b_rstate == SBD_STAT_DISCONNECTED)) in dr_dev_status()
2244 dstatp->s_cond = bp->b_cond = pstat.cond; in dr_dev_status()
2245 dstatp->s_busy = bp->b_busy | pstat.busy; in dr_dev_status()
2247 dstatp->s_power = pstat.powered; in dr_dev_status()
2248 dstatp->s_assigned = bp->b_assigned = pstat.assigned; in dr_dev_status()
2250 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
[all …]
/titanic_41/usr/src/uts/sun4u/ngdr/io/
H A Ddr_io.c335 drmach_status_t pstat; in dr_io_status() local
351 err = drmach_status(ip->sbi_cm.sbdev_id, &pstat); in dr_io_status()
372 (void) strncpy(isp->is_cm.c_id.c_name, pstat.type, in dr_io_status()
377 isp->is_cm.c_busy = ip->sbi_cm.sbdev_busy | pstat.busy; in dr_io_status()
H A Ddr_cpu.c656 dr_fill_cpu_stat(dr_cpu_unit_t *cp, drmach_status_t *pstat, sbd_cpu_stat_t *csp) in dr_fill_cpu_stat() argument
658 ASSERT(cp && pstat && csp); in dr_fill_cpu_stat()
664 (void) strncpy(csp->cs_name, pstat->type, sizeof (csp->cs_name)); in dr_fill_cpu_stat()
666 csp->cs_busy = cp->sbc_cm.sbdev_busy | pstat->busy; in dr_fill_cpu_stat()
793 drmach_status_t pstat; in dr_cpu_status() local
820 err = drmach_status(cp->sbc_cm.sbdev_id, &pstat); in dr_cpu_status()
826 dr_fill_cpu_stat(cp, &pstat, &cstat[ncores++]); in dr_cpu_status()
H A Ddr.c2152 drmach_status_t pstat; in dr_dev_status() local
2248 bzero(&pstat, sizeof (pstat)); in dr_dev_status()
2252 err = drmach_status(bp->b_id, &pstat); in dr_dev_status()
2269 if (!pstat.empty && (bp->b_rstate == SBD_STAT_EMPTY)) in dr_dev_status()
2271 else if (pstat.empty && (bp->b_rstate == SBD_STAT_DISCONNECTED)) in dr_dev_status()
2276 dstatp->s_cond = bp->b_cond = pstat.cond; in dr_dev_status()
2277 dstatp->s_busy = bp->b_busy | pstat.busy; in dr_dev_status()
2279 dstatp->s_power = pstat.powered; in dr_dev_status()
2280 dstatp->s_assigned = bp->b_assigned = pstat.assigned; in dr_dev_status()
2282 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
[all …]
H A Ddr_mem.c725 drmach_status_t pstat; in dr_mem_status() local
742 err = drmach_status(mp->sbm_cm.sbdev_id, &pstat); in dr_mem_status()
751 (void) strncpy(msp->ms_cm.c_id.c_name, pstat.type, in dr_mem_status()
756 msp->ms_cm.c_busy = mp->sbm_cm.sbdev_busy | pstat.busy; in dr_mem_status()
/titanic_41/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpstat.c380 int32_t pstat = 0; in report_printer() local
402 "printer-state", &pstat); in report_printer()
404 switch (pstat) { in report_printer()
449 if (pstat == 0x04) in report_printer()
454 if (pstat == 0x06) in report_printer()
476 printf(gettext("unknown state(0x%x)."), pstat); in report_printer()
480 if (pstat == 0x08) in report_printer()
493 if ((pstat == 0x05) || in report_printer()
494 (pstat == 0x06) || in report_printer()
495 (pstat == 0x07) || in report_printer()
[all …]
/titanic_41/usr/src/cmd/vi/port/
H A Dex.c692 void (*pstat)(); in init() local
705 pstat = signal(SIGINT, SIG_IGN); in init()
714 signal(SIGINT, pstat); in init()
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dsetproctitle.c97 pstat(PSTAT_SETCMD, pst, used, 0, 0); in setproctitle()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dmap.c5095 ph_map_lookup(map, key, args, pstat) in ph_map_lookup() argument
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 == EX_OK)
5952 stab_map_lookup(map, name, av, pstat) in stab_map_lookup() argument
5956 int *pstat;
[all …]
H A Dparseaddr.c1793 map_lookup(smap, key, argvect, pstat, e) in map_lookup() argument
1797 int *pstat;
1817 *pstat = EX_TEMPFAIL;
1846 *pstat = EX_TEMPFAIL;
2632 remotename(name, m, flags, pstat, e) in remotename() argument
2636 int *pstat;
2697 *pstat = EX_TEMPFAIL;
2721 *pstat = EX_UNAVAILABLE;
2726 *pstat = EX_TEMPFAIL;
2740 *pstat = EX_TEMPFAIL;
[all …]
H A Dalias.c211 aliaslookup(name, pstat, av) in aliaslookup() argument
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 Dconf.c2538 pstat(PSTAT_SETCMD, pst, i, 0, 0);
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dmain.c739 if(pstat(PSTAT_STATIC, un, sizeof(struct pst_static), 1, 0)<0) in fixargs()
782 pstat(PSTAT_SETCMD,un,0,0,0); in fixargs()
/titanic_41/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c768 findmntent(char *path, struct stat64 *pstat, struct mntlist *mlist) in findmntent() argument
836 if (pstat->st_dev == mlp->mntl_dev) in findmntent()
/titanic_41/usr/src/uts/sun4u/opl/io/
H A Ddr_mem.c710 drmach_status_t pstat; in dr_mem_status() local
727 err = drmach_status(mp->sbm_cm.sbdev_id, &pstat); in dr_mem_status()
736 (void) strncpy(msp->ms_cm.c_id.c_name, pstat.type, in dr_mem_status()
741 msp->ms_cm.c_busy = mp->sbm_cm.sbdev_busy | pstat.busy; in dr_mem_status()
/titanic_41/usr/src/cmd/ssh/doc/
H A DChangeLog97 support is for the HP-UX pstat(PSTAT_SETCMD, ...) method.