| /freebsd-12.1/contrib/netbsd-tests/lib/libc/ttyio/ |
| H A D | 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() 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() 153 REQUIRE_ERRNO(fstat(fds, &sts), -1); in ATF_TC_BODY() [all …]
|
| /freebsd-12.1/usr.sbin/ancontrol/ |
| H A D | ancontrol.c | 250 struct an_ltv_status *sts; in an_dumpstatus() local 273 sts = (struct an_ltv_status *)&areq; in an_dumpstatus() 301 sts->an_normalized_strength); in an_dumpstatus() 309 sts->an_cur_signal_quality); in an_dumpstatus() 323 an_printstr((char *)&sts->an_ssid, sts->an_ssidlen); in an_dumpstatus() 331 an_printwords(&sts->an_dtim_period, 1); in an_dumpstatus() 335 an_printwords(&sts->an_hop_period, 1); in an_dumpstatus() 337 an_printwords(&sts->an_channel_set, 1); in an_dumpstatus() 339 an_printwords(&sts->an_cur_channel, 1); in an_dumpstatus() 1429 struct an_ltv_status *sts; in an_enable_leap_mode() local [all …]
|
| /freebsd-12.1/sys/i386/ibcs2/ |
| H A D | ibcs2_ioctl.c | 359 struct ibcs2_termios sts; local 366 btios2stios (&bts, &sts); 368 stios2stio (&sts, &st); 379 sizeof (sts)); 390 struct ibcs2_termios sts; local 412 btios2stios(&bts, &sts); 413 stio2stios(&st, &sts); 414 stios2btios(&sts, &bts); 426 struct ibcs2_termios sts; local 431 stios2btios (&sts, &bts); [all …]
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | 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()
|
| /freebsd-12.1/sys/dev/amdpm/ |
| H A D | 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 …]
|
| /freebsd-12.1/sys/dev/alpm/ |
| H A D | 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 …]
|
| /freebsd-12.1/sys/dev/viapm/ |
| H A D | 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 …]
|
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | pci_virtio_block.c | 303 int i, sectsz, sts, sto; in pci_vtblk_init() local 322 blockif_psectsz(bctxt, &sts, &sto); in pci_vtblk_init() 371 (sts > sectsz) ? (ffsll(sts / sectsz) - 1) : 0; in pci_vtblk_init() 373 (sto != 0) ? ((sts - sto) / sectsz) : 0; in pci_vtblk_init()
|
| H A D | pci_emul.c | 684 uint16_t sts; in pci_emul_add_capability() local 690 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_add_capability() 691 if ((sts & PCIM_STATUS_CAPPRESENT) == 0) in pci_emul_add_capability() 701 if ((sts & PCIM_STATUS_CAPPRESENT) == 0) { in pci_emul_add_capability() 703 pci_set_cfgdata16(pi, PCIR_STATUS, sts|PCIM_STATUS_CAPPRESENT); in pci_emul_add_capability() 1036 uint16_t sts; in pci_emul_iscap() local 1038 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_iscap() 1039 if ((sts & PCIM_STATUS_CAPPRESENT) != 0) { in pci_emul_iscap()
|
| H A D | pci_passthru.c | 180 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local 194 sts = read_config(&sel, PCIR_STATUS, 2); in cfginitmsi() 195 if (sts & PCIM_STATUS_CAPPRESENT) { in cfginitmsi() 266 if ((sts & PCIM_STATUS_CAPPRESENT) != 0 && sc->psc_msi.capoff == 0) { in cfginitmsi()
|
| /freebsd-12.1/libexec/pppoed/ |
| H A D | pppoed.c | 261 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); in Spawn() local 412 if (setenv("ACNAME", sts->hook, 1) != 0) in Spawn() 414 sts->hook); in Spawn() 418 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); in Spawn() 433 msg, sts->hook); in Spawn() 437 syslog(LOG_INFO, "Received NGM_PPPOE_%s (hook \"%s\")", msg, sts->hook); in Spawn()
|
| /freebsd-12.1/sys/dev/amdsmb/ |
| H A D | amdsmb.c | 281 u_char sts, temp; in amdsmb_wait() local 297 amdsmb_ec_read(sc, SMB_STS, &sts); in amdsmb_wait() 298 sts &= SMB_STS_STATUS; in amdsmb_wait() 299 AMDSMB_DEBUG(printf("amdsmb: STS=0x%x\n", sts)); in amdsmb_wait() 301 switch (sts) { in amdsmb_wait()
|
| /freebsd-12.1/usr.sbin/ppp/ |
| H A D | ether.c | 221 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); in ether_MessageIn() local 273 if (setenv("ACNAME", sts->hook, 1) != 0) in ether_MessageIn() 274 log_Printf(LogWARN, "setenv: cannot set ACNAME=%s: %m", sts->hook); in ether_MessageIn() 279 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); in ether_MessageIn() 296 msg, asciilen, sts->hook); in ether_MessageIn()
|
| /freebsd-12.1/contrib/binutils/gas/doc/ |
| H A D | 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
|
| /freebsd-12.1/sys/dev/ppbus/ |
| H A D | lpt.c | 876 int sts = 0; in lptintr() local 886 ((sts=ppb_rstr(ppbus)) & RDY_MASK) != LP_READY; i++) ; in lptintr() 888 if ((sts & RDY_MASK) == LP_READY) { in lptintr() 916 if (((sts & (LPS_NERR | LPS_OUT) ) != LPS_NERR) && in lptintr() 921 lprintf(("sts %x ", sts)); in lptintr()
|
| /freebsd-12.1/lib/libcasper/services/cap_pwd/tests/ |
| H A D | pwd_test.c | 159 struct passwd sts, stc; in runtest_cmds() local 176 getpwent_r(&sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 180 getpwent_r(&sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 189 getpwent_r(&sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 208 getpwnam_r("root", &sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 211 getpwnam_r("operator", &sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 227 getpwuid_r(UID_ROOT, &sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 230 getpwuid_r(UID_OPERATOR, &sts, bufs, sizeof(bufs), &pwds); in runtest_cmds()
|
| /freebsd-12.1/lib/libcasper/services/cap_grp/tests/ |
| H A D | grp_test.c | 145 struct group sts, stc; in runtest_cmds() local 163 getgrent_r(&sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 167 getgrent_r(&sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 177 getgrent_r(&sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 196 getgrnam_r("wheel", &sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 199 getgrnam_r("operator", &sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 215 getgrgid_r(GID_WHEEL, &sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 218 getgrgid_r(GID_OPERATOR, &sts, bufs, sizeof(bufs), &grps); in runtest_cmds()
|
| /freebsd-12.1/sys/dev/nfsmb/ |
| H A D | 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()
|
| /freebsd-12.1/contrib/ntp/sntp/libopts/ |
| H A D | makeshell.c | 898 int sts; in genshelloptUsage() 899 wait(&sts); in genshelloptUsage() 936 int sts; in genshelloptUsage() 937 wait(&sts); in genshelloptUsage()
|
| /freebsd-12.1/sys/dev/isp/ |
| H A D | isp_target.c | 407 uint8_t sts; in isp_endcmd() local 434 sts = code & 0xff; in isp_endcmd() 442 cto->ct_scsi_status = sts; in isp_endcmd() 489 sts = code & 0xff; in isp_endcmd() 501 cto->rsp.m1.ct_scsi_status = sts; in isp_endcmd() 510 if (sts == SCSI_CHECK && (code & ECMD_SVALID)) { in isp_endcmd()
|
| /freebsd-12.1/sys/netgraph/ |
| H A D | ng_pppoe.c | 1297 struct ngpppoe_sts *sts; in send_acname() local 1306 sts = (struct ngpppoe_sts *)msg->data; in send_acname() 1308 strncpy(sts->hook, (const char *)(tag + 1), tlen); in send_acname() 1309 sts->hook[tlen] = '\0'; in send_acname() 2193 struct ngpppoe_sts *sts; in pppoe_send_event() local 2201 sts = (struct ngpppoe_sts *)msg->data; in pppoe_send_event() 2202 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in pppoe_send_event()
|
| /freebsd-12.1/sys/gnu/dts/arm64/hisilicon/ |
| H A D | hip06.dtsi | 612 ctrl-reset-sts-reg = <0x5a30>; 655 ctrl-reset-sts-reg = <0x5a0c>; 697 ctrl-reset-sts-reg = <0x5a70>;
|
| H A D | hip07.dtsi | 1586 ctrl-reset-sts-reg = <0x5a30>; 1628 ctrl-reset-sts-reg = <0x5a0c>; 1669 ctrl-reset-sts-reg = <0x5a70>;
|
| /freebsd-12.1/contrib/ofed/opensm/opensm/ |
| H A D | osm_congestion_control.c | 530 cl_status_t sts; in cc_poller_send() local 539 sts = cl_event_wait_on(&p_cc->sig_mads_on_wire_continue, in cc_poller_send() 541 if (sts != CL_SUCCESS) in cc_poller_send()
|
| /freebsd-12.1/usr.sbin/cdcontrol/ |
| H A D | cdcontrol.c | 788 strstatus(int sts) in strstatus() argument 790 switch (sts) { in strstatus()
|