Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libcrypt/common/
H A Dcryptio.c106 void (*pstat) (); in writekey() local
107 pstat = signal(SIGPIPE, SIG_IGN); /* don't want pipe errors to cause */ in writekey()
111 (void) signal(SIGPIPE, pstat); in writekey()
114 (void) signal(SIGPIPE, pstat); in writekey()
123 void (*pstat) (); in run_crypt() local
128 pstat = signal(SIGPIPE, SIG_IGN); in run_crypt()
132 (void) signal(SIGPIPE, pstat); in run_crypt()
138 (void) signal(SIGPIPE, pstat); in run_crypt()
144 (void) signal(SIGPIPE, pstat); in run_crypt()
148 (void) signal(SIGPIPE, pstat); in run_crypt()
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Ddis.c183 pstatus_t pstat; in disasm() local
185 if (pread(ph->pp_statusfd, &pstat, sizeof (pstat), 0) == -1) in disasm()
188 (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()
/illumos-gate/usr/src/lib/lib9p/common/
H A Dgenacl.c252 struct stat *pstat, *cstat; in l9p_acl_check_access() local
261 pstat = args->aca_pstat; in l9p_acl_check_access()
291 assert(parent == NULL || pstat != NULL); in l9p_acl_check_access()
294 assert(pstat != NULL || cstat != NULL); in l9p_acl_check_access()
308 if (parent != NULL || pstat != NULL) { in l9p_acl_check_access()
337 panswer = l9p_check_aces(pop, parent, pstat, in l9p_acl_check_access()
392 parent, pstat, uid, gid, gids, ngids); in l9p_acl_check_access()
415 st = pstat; in l9p_acl_check_access()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_rec.c523 enum xprt_stat pstat; in xdrrec_skiprecord() local
530 if (__xdrrec_getbytes_nonblock(xdrs, &pstat) || in xdrrec_skiprecord()
531 (pstat == XPRT_MOREREQS && in xdrrec_skiprecord()
827 __xdrrec_getbytes_nonblock(XDR *xdrs, enum xprt_stat *pstat) in __xdrrec_getbytes_nonblock() argument
894 *pstat = XPRT_DIED; in __xdrrec_getbytes_nonblock()
904 *pstat = XPRT_DIED; in __xdrrec_getbytes_nonblock()
994 *pstat = XPRT_DIED; in __xdrrec_getbytes_nonblock()
1055 *pstat = XPRT_MOREREQS; in __xdrrec_getbytes_nonblock()
1080 *pstat = XPRT_DIED; in __xdrrec_getbytes_nonblock()
1086 *pstat = XPRT_MOREREQS; in __xdrrec_getbytes_nonblock()
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_cpu.c600 dr_fill_cpu_stat(dr_cpu_unit_t *cp, drmach_status_t *pstat, sbd_cpu_stat_t *csp) in dr_fill_cpu_stat() argument
602 ASSERT(cp && pstat && csp); in dr_fill_cpu_stat()
608 (void) strlcpy(csp->cs_name, pstat->type, sizeof (csp->cs_name)); in dr_fill_cpu_stat()
610 csp->cs_busy = cp->sbc_cm.sbdev_busy | pstat->busy; in dr_fill_cpu_stat()
729 drmach_status_t pstat; in dr_cpu_status() local
756 err = drmach_status(cp->sbc_cm.sbdev_id, &pstat); in dr_cpu_status()
762 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.c2121 drmach_status_t pstat; in dr_dev_status() local
2217 bzero(&pstat, sizeof (pstat)); in dr_dev_status()
2221 err = drmach_status(bp->b_id, &pstat); in dr_dev_status()
2238 if (!pstat.empty && (bp->b_rstate == SBD_STAT_EMPTY)) in dr_dev_status()
2240 else if (pstat.empty && (bp->b_rstate == SBD_STAT_DISCONNECTED)) in dr_dev_status()
2245 dstatp->s_cond = bp->b_cond = pstat.cond; in dr_dev_status()
2246 dstatp->s_busy = bp->b_busy | pstat.busy; in dr_dev_status()
2248 dstatp->s_power = pstat.powered; in dr_dev_status()
2249 dstatp->s_assigned = bp->b_assigned = pstat.assigned; in dr_dev_status()
2251 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
[all …]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_cpu.c648 dr_fill_cpu_stat(dr_cpu_unit_t *cp, drmach_status_t *pstat, sbd_cpu_stat_t *csp) in dr_fill_cpu_stat() argument
650 ASSERT(cp && pstat && csp); in dr_fill_cpu_stat()
656 (void) strncpy(csp->cs_name, pstat->type, sizeof (csp->cs_name)); in dr_fill_cpu_stat()
658 csp->cs_busy = cp->sbc_cm.sbdev_busy | pstat->busy; in dr_fill_cpu_stat()
781 drmach_status_t pstat; in dr_cpu_status() local
808 err = drmach_status(cp->sbc_cm.sbdev_id, &pstat); in dr_cpu_status()
814 dr_fill_cpu_stat(cp, &pstat, &cstat[ncores++]); in dr_cpu_status()
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.c2153 drmach_status_t pstat; in dr_dev_status() local
2249 bzero(&pstat, sizeof (pstat)); in dr_dev_status()
2253 err = drmach_status(bp->b_id, &pstat); in dr_dev_status()
2270 if (!pstat.empty && (bp->b_rstate == SBD_STAT_EMPTY)) in dr_dev_status()
2272 else if (pstat.empty && (bp->b_rstate == SBD_STAT_DISCONNECTED)) in dr_dev_status()
2277 dstatp->s_cond = bp->b_cond = pstat.cond; in dr_dev_status()
2278 dstatp->s_busy = bp->b_busy | pstat.busy; in dr_dev_status()
2280 dstatp->s_power = pstat.powered; in dr_dev_status()
2281 dstatp->s_assigned = bp->b_assigned = pstat.assigned; in dr_dev_status()
2283 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
[all …]
H A Ddr_mem.c727 drmach_status_t pstat; in dr_mem_status() local
744 err = drmach_status(mp->sbm_cm.sbdev_id, &pstat); in dr_mem_status()
753 (void) strncpy(msp->ms_cm.c_id.c_name, pstat.type, in dr_mem_status()
758 msp->ms_cm.c_busy = mp->sbm_cm.sbdev_busy | pstat.busy; in dr_mem_status()
/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex.c693 void (*pstat)(); in init() local
706 pstat = signal(SIGINT, SIG_IGN); in init()
715 signal(SIGINT, pstat); in init()
/illumos-gate/usr/src/cmd/ast/libshell/
H A DMakefile.iffe19 FEATURE/acct FEATURE/execargs FEATURE/pstat:
H A DMakefile.defs26 acct execargs pstat
/illumos-gate/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.c1791 map_lookup(smap, key, argvect, pstat, e) in map_lookup() argument
1795 int *pstat;
1815 *pstat = EX_TEMPFAIL;
1844 *pstat = EX_TEMPFAIL;
2630 remotename(name, m, flags, pstat, e) in remotename() argument
2634 int *pstat;
2695 *pstat = EX_TEMPFAIL;
2719 *pstat = EX_UNAVAILABLE;
2724 *pstat = EX_TEMPFAIL;
2738 *pstat = EX_TEMPFAIL;
[all …]
H A Dalias.c209 aliaslookup(name, pstat, av) in aliaslookup() argument
211 int *pstat;
243 return (*map->map_class->map_lookup)(map, name, argv, pstat);
245 return (*map->map_class->map_lookup)(map, name, NULL, pstat);
H A Dconf.c2539 pstat(PSTAT_SETCMD, pst, i, 0, 0);
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dmain.c723 if(pstat(PSTAT_STATIC, un, sizeof(struct pst_static), 1, 0)<0) in fixargs()
766 pstat(PSTAT_SETCMD,un,0,0,0); in fixargs()
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c768 findmntent(char *path, struct stat64 *pstat, struct mntlist *mlist) in findmntent() argument
835 if (pstat->st_dev == mlp->mntl_dev) in findmntent()
/illumos-gate/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()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/
H A DMamfile632 make FEATURE/pstat implicit
633 meta FEATURE/pstat >FEATURE/% pstat
634 …e ${mam_libdll} ${mam_libcoshell} ${mam_libcmd} ${mam_libast} ${mam_libm} ${mam_libnsl} : def pstat
635 done FEATURE/pstat generated