/freebsd-11-stable/contrib/netbsd-tests/lib/libc/ttyio/ |
H A D | t_ptm.c | 62 struct stat stm, sts; local 87 REQUIRE_ERRNO(stat(ptm.cn, &sts), -1); 88 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev); 92 REQUIRE_ERRNO(stat(ptm.sn, &sts), -1); 93 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev); 95 ATF_REQUIRE_EQ_MSG(sts.st_uid, getuid(), "bad slave uid"); 99 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave grid"); 127 struct stat stm, sts; local 142 REQUIRE_ERRNO(stat("/dev/ptyp0", &sts), -1); 144 ATF_REQUIRE_EQ_MSG(major(stm.st_rdev), major(sts [all...] |
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | cache.c | 339 int sts; local 343 sts = fflush (f); 344 if (sts < 0) 346 return sts; 352 int sts; local 356 sts = fstat (fileno (f), sb); 357 if (sts < 0) 359 return sts;
|
/freebsd-11-stable/usr.sbin/ancontrol/ |
H A D | ancontrol.c | 248 struct an_ltv_status *sts; local 271 sts = (struct an_ltv_status *)&areq; 274 an_printhex((char *)&sts->an_macaddr, ETHER_ADDR_LEN); 276 if (sts->an_opmode & AN_STATUS_OPMODE_CONFIGURED) 278 if (sts->an_opmode & AN_STATUS_OPMODE_MAC_ENABLED) 280 if (sts->an_opmode & AN_STATUS_OPMODE_RX_ENABLED) 282 if (sts->an_opmode & AN_STATUS_OPMODE_IN_SYNC) 284 if (sts->an_opmode & AN_STATUS_OPMODE_ASSOCIATED) 286 if (sts->an_opmode & AN_STATUS_OPMODE_LEAP) 288 if (sts 1427 struct an_ltv_status *sts; local [all...] |
/freebsd-11-stable/sys/dev/alpm/ |
H A D | alpm.c | 290 u_char sts; local 292 sts = ALPM_SMBINB(sc, SMBSTS); 294 ALPM_DEBUG(printf("alpm: idle? STS=0x%x\n", sts)); 296 return (sts & IDL_STS); 306 u_char sts = 0; local 312 sts = ALPM_SMBINB(sc, SMBSTS); 313 if (sts & SMI_I_STS) 317 ALPM_DEBUG(printf("alpm: STS=0x%x\n", sts)); 324 if (sts & TERMINATE) 327 if (sts [all...] |
/freebsd-11-stable/sys/dev/amdpm/ |
H A D | amdpm.c | 289 u_short sts; local 292 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); 294 AMDPM_DEBUG(printf("amdpm: busy? STS=0x%x\n", sts)); 296 return (~(sts & AMDSMB_GS_HST_STS)); 306 u_short sts = 0; local 313 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); 314 if (!(sts & AMDSMB_GS_HST_STS)) 318 AMDPM_DEBUG(printf("amdpm: STS=0x%x (count=%d)\n", sts, count)); 325 if (sts & AMDSMB_GS_ABRT_STS) 328 if (sts [all...] |
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | 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 440 struct ibcs2_termios sts; local [all...] |
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | pci_virtio_block.c | 303 int i, sectsz, sts, sto; local 322 blockif_psectsz(bctxt, &sts, &sto); 371 (sts > sectsz) ? (ffsll(sts / sectsz) - 1) : 0; 373 (sto != 0) ? ((sts - sto) / sectsz) : 0;
|
H A D | pci_emul.c | 673 uint16_t sts; local 679 sts = pci_get_cfgdata16(pi, PCIR_STATUS); 680 if ((sts & PCIM_STATUS_CAPPRESENT) == 0) 690 if ((sts & PCIM_STATUS_CAPPRESENT) == 0) { 692 pci_set_cfgdata16(pi, PCIR_STATUS, sts|PCIM_STATUS_CAPPRESENT); 1014 uint16_t sts; local 1016 sts = pci_get_cfgdata16(pi, PCIR_STATUS); 1017 if ((sts & PCIM_STATUS_CAPPRESENT) != 0) {
|
H A D | pci_passthru.c | 177 int i, ptr, capptr, cap, sts, caplen, table_size; local 191 sts = read_config(&sel, PCIR_STATUS, 2); 192 if (sts & PCIM_STATUS_CAPPRESENT) { 263 if ((sts & PCIM_STATUS_CAPPRESENT) != 0 && sc->psc_msi.capoff == 0) {
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | makeshell.c | 898 int sts; 899 wait(&sts); 936 int sts; 937 wait(&sts);
|
/freebsd-11-stable/sys/dev/viapm/ |
H A D | viapm.c | 588 u_char sts; local 590 sts = VIAPM_INB(SMBHST); 592 VIAPM_DEBUG(printf("viapm: idle? STS=0x%x\n", sts)); 594 return (sts & SMBHST_BUSY); 604 u_char sts = 0; local 612 sts = VIAPM_INB(SMBHST); 615 if (!(sts & SMBHST_BUSY) && (sts & SMBHST_INTR)) 619 VIAPM_DEBUG(printf("viapm: SMBHST=0x%x\n", sts)); 626 if (sts [all...] |
/freebsd-11-stable/libexec/pppoed/ |
H A D | pppoed.c | 259 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); local 410 if (setenv("ACNAME", sts->hook, 1) != 0) 412 sts->hook); 416 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); 431 msg, sts->hook); 435 syslog(LOG_INFO, "Received NGM_PPPOE_%s (hook \"%s\")", msg, sts->hook);
|
/freebsd-11-stable/sys/dev/amdsmb/ |
H A D | amdsmb.c | 283 u_char sts, temp; local 299 amdsmb_ec_read(sc, SMB_STS, &sts); 300 sts &= SMB_STS_STATUS; 301 AMDSMB_DEBUG(printf("amdsmb: STS=0x%x\n", sts)); 303 switch (sts) {
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | ether.c | 221 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); local 273 if (setenv("ACNAME", sts->hook, 1) != 0) 274 log_Printf(LogWARN, "setenv: cannot set ACNAME=%s: %m", sts->hook); 279 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); 296 msg, asciilen, sts->hook);
|
/freebsd-11-stable/sys/dev/nfsmb/ |
H A D | nfsmb.c | 341 u_char sts; local 355 sts = NFSMB_SMBINB(sc, SMB_STS) & SMB_STS_STATUS; 356 NFSMB_DEBUG(printf("nfsmb: STS=0x%x\n", sts)); 358 switch (sts) {
|
/freebsd-11-stable/lib/libcasper/services/cap_grp/tests/ |
H A D | grp_test.c | 142 struct group sts, stc; local 160 getgrent_r(&sts, bufs, sizeof(bufs), &grps); 164 getgrent_r(&sts, bufs, sizeof(bufs), &grps); 174 getgrent_r(&sts, bufs, sizeof(bufs), &grps); 193 getgrnam_r("wheel", &sts, bufs, sizeof(bufs), &grps); 196 getgrnam_r("operator", &sts, bufs, sizeof(bufs), &grps); 212 getgrgid_r(GID_WHEEL, &sts, bufs, sizeof(bufs), &grps); 215 getgrgid_r(GID_OPERATOR, &sts, bufs, sizeof(bufs), &grps);
|
/freebsd-11-stable/lib/libcasper/services/cap_pwd/tests/ |
H A D | pwd_test.c | 156 struct passwd sts, stc; local 173 getpwent_r(&sts, bufs, sizeof(bufs), &pwds); 177 getpwent_r(&sts, bufs, sizeof(bufs), &pwds); 186 getpwent_r(&sts, bufs, sizeof(bufs), &pwds); 205 getpwnam_r("root", &sts, bufs, sizeof(bufs), &pwds); 208 getpwnam_r("operator", &sts, bufs, sizeof(bufs), &pwds); 224 getpwuid_r(UID_ROOT, &sts, bufs, sizeof(bufs), &pwds); 227 getpwuid_r(UID_OPERATOR, &sts, bufs, sizeof(bufs), &pwds);
|
/freebsd-11-stable/sys/dev/ppbus/ |
H A D | lpt.c | 874 int sts = 0; local 884 ((sts=ppb_rstr(ppbus)) & RDY_MASK) != LP_READY; i++) ; 886 if ((sts & RDY_MASK) == LP_READY) { 914 if (((sts & (LPS_NERR | LPS_OUT) ) != LPS_NERR) && 919 lprintf(("sts %x ", sts));
|
/freebsd-11-stable/contrib/groff/doc/ |
H A D | Makefile.in | 140 *.ma *.mas *.op *.ops *.pg *.pgs *.rq *.rqs *.st *.sts \
|
/freebsd-11-stable/sys/dev/pdq/ |
H A D | pdqreg.h | 238 #define PDQ_PSTS_ADAPTER_STATE(sts) ((pdq_state_t) (((sts) >> 8) & 0x07)) 239 #define PDQ_PSTS_HALT_ID(sts) ((pdq_halt_code_t) ((sts) & 0xFF))
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_pppoe.c | 1297 struct ngpppoe_sts *sts; local 1306 sts = (struct ngpppoe_sts *)msg->data; 1308 strncpy(sts->hook, (const char *)(tag + 1), tlen); 1309 sts->hook[tlen] = '\0'; 2193 struct ngpppoe_sts *sts; local 2201 sts = (struct ngpppoe_sts *)msg->data; 2202 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ);
|
/freebsd-11-stable/sys/dev/isp/ |
H A D | isp_target.c | 405 uint8_t sts; local 432 sts = code & 0xff; 440 cto->ct_scsi_status = sts; 487 sts = code & 0xff; 499 cto->rsp.m1.ct_scsi_status = sts; 508 if (sts == SCSI_CHECK && (code & ECMD_SVALID)) {
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_congestion_control.c | 530 cl_status_t sts; local 539 sts = cl_event_wait_on(&p_cc->sig_mads_on_wire_continue, 541 if (sts != CL_SUCCESS)
|
H A D | osm_perfmgr.c | 454 cl_status_t sts; local 471 sts = cl_event_wait_on(&perfmgr->sig_query, 473 if (sts != CL_SUCCESS)
|
/freebsd-11-stable/usr.sbin/cdcontrol/ |
H A D | cdcontrol.c | 788 strstatus(int sts) argument 790 switch (sts) {
|