| /trueos/contrib/netbsd-tests/lib/libc/ttyio/ |
| HD | t_ptm.c | 62 struct stat stm, sts; in ATF_TC_BODY() local 87 REQUIRE_ERRNO(stat(ptm.cn, &sts), -1); in ATF_TC_BODY() 88 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev); in ATF_TC_BODY() 92 REQUIRE_ERRNO(stat(ptm.sn, &sts), -1); in ATF_TC_BODY() 93 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev); in ATF_TC_BODY() 95 ATF_REQUIRE_EQ_MSG(sts.st_uid, getuid(), "bad slave uid"); in ATF_TC_BODY() 99 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave grid"); in ATF_TC_BODY() 127 struct stat stm, sts; in ATF_TC_BODY() local 142 REQUIRE_ERRNO(stat("/dev/ptyp0", &sts), -1); in ATF_TC_BODY() 144 ATF_REQUIRE_EQ_MSG(major(stm.st_rdev), major(sts.st_rdev), in ATF_TC_BODY() [all …]
|
| /trueos/usr.sbin/ancontrol/ |
| HD | ancontrol.c | 249 struct an_ltv_status *sts; in an_dumpstatus() local 272 sts = (struct an_ltv_status *)&areq; in an_dumpstatus() 275 an_printhex((char *)&sts->an_macaddr, ETHER_ADDR_LEN); in an_dumpstatus() 277 if (sts->an_opmode & AN_STATUS_OPMODE_CONFIGURED) in an_dumpstatus() 279 if (sts->an_opmode & AN_STATUS_OPMODE_MAC_ENABLED) in an_dumpstatus() 281 if (sts->an_opmode & AN_STATUS_OPMODE_RX_ENABLED) in an_dumpstatus() 283 if (sts->an_opmode & AN_STATUS_OPMODE_IN_SYNC) in an_dumpstatus() 285 if (sts->an_opmode & AN_STATUS_OPMODE_ASSOCIATED) in an_dumpstatus() 287 if (sts->an_opmode & AN_STATUS_OPMODE_LEAP) in an_dumpstatus() 289 if (sts->an_opmode & AN_STATUS_OPMODE_ERROR) in an_dumpstatus() [all …]
|
| /trueos/sys/i386/ibcs2/ |
| HD | ibcs2_ioctl.c | 357 struct ibcs2_termios sts; local 364 btios2stios (&bts, &sts); 366 stios2stio (&sts, &st); 376 error = copyout((caddr_t)&sts, uap->data, 377 sizeof (sts)); 388 struct ibcs2_termios sts; local 410 btios2stios(&bts, &sts); 411 stio2stios(&st, &sts); 412 stios2btios(&sts, &bts); 424 struct ibcs2_termios sts; local [all …]
|
| /trueos/contrib/binutils/bfd/ |
| HD | cache.c | 339 int sts; in cache_bflush() local 343 sts = fflush (f); in cache_bflush() 344 if (sts < 0) in cache_bflush() 346 return sts; in cache_bflush() 352 int sts; in cache_bstat() local 356 sts = fstat (fileno (f), sb); in cache_bstat() 357 if (sts < 0) in cache_bstat() 359 return sts; in cache_bstat()
|
| /trueos/sys/pci/ |
| HD | alpm.c | 290 u_char sts; in alpm_idle() local 292 sts = ALPM_SMBINB(sc, SMBSTS); in alpm_idle() 294 ALPM_DEBUG(printf("alpm: idle? STS=0x%x\n", sts)); in alpm_idle() 296 return (sts & IDL_STS); in alpm_idle() 306 u_char sts = 0; in alpm_wait() local 312 sts = ALPM_SMBINB(sc, SMBSTS); in alpm_wait() 313 if (sts & SMI_I_STS) in alpm_wait() 317 ALPM_DEBUG(printf("alpm: STS=0x%x\n", sts)); in alpm_wait() 324 if (sts & TERMINATE) in alpm_wait() 327 if (sts & BUS_COLLI) in alpm_wait() [all …]
|
| HD | amdpm.c | 289 u_short sts; in amdpm_idle() local 292 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_idle() 294 AMDPM_DEBUG(printf("amdpm: busy? STS=0x%x\n", sts)); in amdpm_idle() 296 return (~(sts & AMDSMB_GS_HST_STS)); in amdpm_idle() 306 u_short sts = 0; in amdpm_wait() local 313 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_wait() 314 if (!(sts & AMDSMB_GS_HST_STS)) in amdpm_wait() 318 AMDPM_DEBUG(printf("amdpm: STS=0x%x (count=%d)\n", sts, count)); in amdpm_wait() 325 if (sts & AMDSMB_GS_ABRT_STS) in amdpm_wait() 328 if (sts & AMDSMB_GS_COL_STS) in amdpm_wait() [all …]
|
| HD | viapm.c | 588 u_char sts; in viapm_busy() local 590 sts = VIAPM_INB(SMBHST); in viapm_busy() 592 VIAPM_DEBUG(printf("viapm: idle? STS=0x%x\n", sts)); in viapm_busy() 594 return (sts & SMBHST_BUSY); in viapm_busy() 604 u_char sts = 0; in viapm_wait() local 612 sts = VIAPM_INB(SMBHST); in viapm_wait() 615 if (!(sts & SMBHST_BUSY) && (sts & SMBHST_INTR)) in viapm_wait() 619 VIAPM_DEBUG(printf("viapm: SMBHST=0x%x\n", sts)); in viapm_wait() 626 if (sts & SMBHST_FAILED) in viapm_wait() 629 if (sts & SMBHST_COLLID) in viapm_wait() [all …]
|
| HD | amdsmb.c | 283 u_char sts, temp; in amdsmb_wait() local 299 amdsmb_ec_read(sc, SMB_STS, &sts); in amdsmb_wait() 300 sts &= SMB_STS_STATUS; in amdsmb_wait() 301 AMDSMB_DEBUG(printf("amdsmb: STS=0x%x\n", sts)); in amdsmb_wait() 303 switch (sts) { in amdsmb_wait()
|
| HD | nfsmb.c | 341 u_char sts; in nfsmb_wait() local 355 sts = NFSMB_SMBINB(sc, SMB_STS) & SMB_STS_STATUS; in nfsmb_wait() 356 NFSMB_DEBUG(printf("nfsmb: STS=0x%x\n", sts)); in nfsmb_wait() 358 switch (sts) { in nfsmb_wait()
|
| /trueos/usr.sbin/bhyve/ |
| HD | pci_virtio_block.c | 298 int i, sectsz, sts, sto; in pci_vtblk_init() local 317 blockif_psectsz(bctxt, &sts, &sto); in pci_vtblk_init() 357 (sts > sectsz) ? (ffsll(sts / sectsz) - 1) : 0; in pci_vtblk_init() 359 (sto != 0) ? ((sts - sto) / sectsz) : 0; in pci_vtblk_init()
|
| HD | pci_passthru.c | 164 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local 178 sts = read_config(&sel, PCIR_STATUS, 2); in cfginitmsi() 179 if (sts & PCIM_STATUS_CAPPRESENT) { in cfginitmsi() 250 if ((sts & PCIM_STATUS_CAPPRESENT) != 0 && sc->psc_msi.capoff == 0) { in cfginitmsi()
|
| HD | pci_emul.c | 658 uint16_t sts; in pci_emul_add_capability() local 664 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_add_capability() 665 if ((sts & PCIM_STATUS_CAPPRESENT) == 0) in pci_emul_add_capability() 675 if ((sts & PCIM_STATUS_CAPPRESENT) == 0) { in pci_emul_add_capability() 677 pci_set_cfgdata16(pi, PCIR_STATUS, sts|PCIM_STATUS_CAPPRESENT); in pci_emul_add_capability() 1005 uint16_t sts; in pci_emul_iscap() local 1007 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_iscap() 1008 if ((sts & PCIM_STATUS_CAPPRESENT) != 0) { in pci_emul_iscap()
|
| /trueos/libexec/pppoed/ |
| HD | pppoed.c | 259 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); in Spawn() local 410 if (setenv("ACNAME", sts->hook, 1) != 0) in Spawn() 412 sts->hook); in Spawn() 416 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); in Spawn() 431 msg, sts->hook); in Spawn() 435 syslog(LOG_INFO, "Received NGM_PPPOE_%s (hook \"%s\")", msg, sts->hook); in Spawn()
|
| /trueos/usr.sbin/ppp/ |
| HD | ether.c | 219 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); in ether_MessageIn() local 271 if (setenv("ACNAME", sts->hook, 1) != 0) in ether_MessageIn() 272 log_Printf(LogWARN, "setenv: cannot set ACNAME=%s: %m", sts->hook); in ether_MessageIn() 277 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); in ether_MessageIn() 294 msg, asciilen, sts->hook); in ether_MessageIn()
|
| /trueos/contrib/binutils/gas/doc/ |
| HD | c-sh.texi | 302 or.b #imm,@@(R0,GBR) sts MACH,Rn 303 rotcl Rn sts MACL,Rn 304 rotcr Rn sts PR,Rn 305 rotl Rn sts.l MACH,@@-Rn 306 rotr Rn sts.l MACL,@@-Rn 307 rte sts.l PR,@@-Rn
|
| HD | c-avr.texi | 356 1001001ddddd0000 sts i,r
|
| /trueos/sys/dev/ppbus/ |
| HD | lpt.c | 874 int sts = 0; in lptintr() local 884 ((sts=ppb_rstr(ppbus)) & RDY_MASK) != LP_READY; i++) ; in lptintr() 886 if ((sts & RDY_MASK) == LP_READY) { in lptintr() 914 if (((sts & (LPS_NERR | LPS_OUT) ) != LPS_NERR) && in lptintr() 919 lprintf(("sts %x ", sts)); in lptintr()
|
| /trueos/contrib/ntp/sntp/libopts/ |
| HD | makeshell.c | 1070 int sts; in genshelloptUsage() 1071 wait( &sts ); in genshelloptUsage() 1107 int sts; in genshelloptUsage() 1108 wait( &sts ); in genshelloptUsage()
|
| /trueos/contrib/ntp/libopts/ |
| HD | makeshell.c | 1070 int sts; in genshelloptUsage() 1071 wait( &sts ); in genshelloptUsage() 1107 int sts; in genshelloptUsage() 1108 wait( &sts ); in genshelloptUsage()
|
| /trueos/sys/dev/pdq/ |
| HD | pdqreg.h | 238 #define PDQ_PSTS_ADAPTER_STATE(sts) ((pdq_state_t) (((sts) >> 8) & 0x07)) argument 239 #define PDQ_PSTS_HALT_ID(sts) ((pdq_halt_code_t) ((sts) & 0xFF)) argument
|
| /trueos/sys/dev/isp/ |
| HD | isp_target.c | 633 uint8_t sts; in isp_endcmd() local 661 sts = code & 0xff; in isp_endcmd() 669 cto->ct_scsi_status = sts; in isp_endcmd() 708 sts = code & 0xff; in isp_endcmd() 720 cto->rsp.m1.ct_scsi_status = sts; in isp_endcmd() 729 if (sts == SCSI_CHECK && (code & ECMD_SVALID)) { in isp_endcmd() 749 sts = code; in isp_endcmd() 766 cto->ct_scsi_status = sts; in isp_endcmd()
|
| /trueos/sys/netgraph/ |
| HD | ng_pppoe.c | 1090 struct ngpppoe_sts *sts; in send_acname() local 1099 sts = (struct ngpppoe_sts *)msg->data; in send_acname() 1101 strncpy(sts->hook, (const char *)(tag + 1), tlen); in send_acname() 1102 sts->hook[tlen] = '\0'; in send_acname() 1903 struct ngpppoe_sts *sts; in pppoe_send_event() local 1911 sts = (struct ngpppoe_sts *)msg->data; in pppoe_send_event() 1912 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in pppoe_send_event()
|
| /trueos/contrib/groff/doc/ |
| HD | Makefile.in | 140 *.ma *.mas *.op *.ops *.pg *.pgs *.rq *.rqs *.st *.sts \
|
| /trueos/usr.sbin/cdcontrol/ |
| HD | cdcontrol.c | 788 strstatus(int sts) in strstatus() argument 790 switch (sts) { in strstatus()
|
| /trueos/sys/dev/hifn/ |
| HD | hifn7751.c | 796 u_int32_t sts, num[2]; in hifn_rng() local 802 sts = READ_REG_1(sc, HIFN_1_7811_RNGSTS); in hifn_rng() 803 if (sts & HIFN_7811_RNGSTS_UFL) { in hifn_rng() 808 if ((sts & HIFN_7811_RNGSTS_RDY) == 0) in hifn_rng()
|