Searched refs:sts (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ptm.c62 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-10.3-release/contrib/binutils/bfd/
H A Dcache.c339 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-10.3-release/usr.sbin/ancontrol/
H A Dancontrol.c249 struct an_ltv_status *sts; local
272 sts = (struct an_ltv_status *)&areq;
275 an_printhex((char *)&sts->an_macaddr, ETHER_ADDR_LEN);
277 if (sts->an_opmode & AN_STATUS_OPMODE_CONFIGURED)
279 if (sts->an_opmode & AN_STATUS_OPMODE_MAC_ENABLED)
281 if (sts->an_opmode & AN_STATUS_OPMODE_RX_ENABLED)
283 if (sts->an_opmode & AN_STATUS_OPMODE_IN_SYNC)
285 if (sts->an_opmode & AN_STATUS_OPMODE_ASSOCIATED)
287 if (sts->an_opmode & AN_STATUS_OPMODE_LEAP)
289 if (sts
1428 struct an_ltv_status *sts; local
[all...]
/freebsd-10.3-release/sys/pci/
H A Dalpm.c290 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...]
H A Damdpm.c289 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...]
H A Dviapm.c588 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...]
H A Damdsmb.c283 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) {
H A Dnfsmb.c341 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-10.3-release/sys/i386/ibcs2/
H A Dibcs2_ioctl.c357 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-10.3-release/usr.sbin/bhyve/
H A Dpci_virtio_block.c298 int i, sectsz, sts, sto; local
317 blockif_psectsz(bctxt, &sts, &sto);
357 (sts > sectsz) ? (ffsll(sts / sectsz) - 1) : 0;
359 (sto != 0) ? ((sts - sto) / sectsz) : 0;
H A Dpci_passthru.c164 int i, ptr, capptr, cap, sts, caplen, table_size; local
178 sts = read_config(&sel, PCIR_STATUS, 2);
179 if (sts & PCIM_STATUS_CAPPRESENT) {
250 if ((sts & PCIM_STATUS_CAPPRESENT) != 0 && sc->psc_msi.capoff == 0) {
H A Dpci_emul.c671 uint16_t sts; local
677 sts = pci_get_cfgdata16(pi, PCIR_STATUS);
678 if ((sts & PCIM_STATUS_CAPPRESENT) == 0)
688 if ((sts & PCIM_STATUS_CAPPRESENT) == 0) {
690 pci_set_cfgdata16(pi, PCIR_STATUS, sts|PCIM_STATUS_CAPPRESENT);
1017 uint16_t sts; local
1019 sts = pci_get_cfgdata16(pi, PCIR_STATUS);
1020 if ((sts & PCIM_STATUS_CAPPRESENT) != 0) {
/freebsd-10.3-release/contrib/ntp/sntp/libopts/
H A Dmakeshell.c898 int sts;
899 wait(&sts);
936 int sts;
937 wait(&sts);
/freebsd-10.3-release/libexec/pppoed/
H A Dpppoed.c259 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-10.3-release/usr.sbin/ppp/
H A Dether.c219 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); local
271 if (setenv("ACNAME", sts->hook, 1) != 0)
272 log_Printf(LogWARN, "setenv: cannot set ACNAME=%s: %m", sts->hook);
277 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts);
294 msg, asciilen, sts->hook);
/freebsd-10.3-release/sys/dev/ppbus/
H A Dlpt.c874 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-10.3-release/sys/dev/isp/
H A Disp_target.c499 uint8_t sts; local
526 sts = code & 0xff;
534 cto->ct_scsi_status = sts;
573 sts = code & 0xff;
585 cto->rsp.m1.ct_scsi_status = sts;
594 if (sts == SCSI_CHECK && (code & ECMD_SVALID)) {
/freebsd-10.3-release/contrib/groff/doc/
H A DMakefile.in140 *.ma *.mas *.op *.ops *.pg *.pgs *.rq *.rqs *.st *.sts \
/freebsd-10.3-release/sys/dev/pdq/
H A Dpdqreg.h238 #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-10.3-release/sys/netgraph/
H A Dng_pppoe.c1107 struct ngpppoe_sts *sts; local
1116 sts = (struct ngpppoe_sts *)msg->data;
1118 strncpy(sts->hook, (const char *)(tag + 1), tlen);
1119 sts->hook[tlen] = '\0';
1948 struct ngpppoe_sts *sts; local
1956 sts = (struct ngpppoe_sts *)msg->data;
1957 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ);
/freebsd-10.3-release/usr.sbin/cdcontrol/
H A Dcdcontrol.c788 strstatus(int sts) argument
790 switch (sts) {
/freebsd-10.3-release/contrib/gdb/gdb/
H A Dinfrun.c3911 do_restore_inferior_status_cleanup (void *sts)
3913 restore_inferior_status (sts);
3903 do_restore_inferior_status_cleanup(void *sts) argument
/freebsd-10.3-release/sys/dev/hifn/
H A Dhifn7751.c796 u_int32_t sts, num[2]; local
802 sts = READ_REG_1(sc, HIFN_1_7811_RNGSTS);
803 if (sts & HIFN_7811_RNGSTS_UFL) {
808 if ((sts & HIFN_7811_RNGSTS_RDY) == 0)
/freebsd-10.3-release/sys/pc98/cbus/
H A Dsio.c394 Port_t cmd, sts, ctrl, mod; member in struct:siodev
931 if (( inb(iod.sts) & STS8251_TxEMP ) == 0 ) {
4297 iod->sts = io | PC98SIO_sts_port(if_type);
4329 iod->sts = 0;
/freebsd-10.3-release/sys/dev/sym/
H A Dsym_hipd.c3434 int sts; local
3437 sts = xpt_create_path(&path, NULL, cam_sim_path(np->sim), target,
3439 if (sts != CAM_REQ_CMP)

Completed in 406 milliseconds

12