Searched refs:fdx (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/contrib/opie/libopie/
H A Dlogwtmp.c86 static int fdx = -1; variable
130 close(fdx);
167 if (fdx < 0 && (fdx = open(_PATH_WTMPX, O_WRONLY | O_APPEND, 0)) < 0)
169 if (fstat(fdx, &buf) == 0) {
192 if (write(fdx, (char *) &utx, sizeof(struct utmpx)) != sizeof(struct utmpx))
193 ftruncate(fdx, buf.st_size);
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dlogwtmp.c112 static int fdx; local
175 fdx = open(WTMPX_FILE, O_WRONLY|O_APPEND, 0);
184 write(fdx, &utx, sizeof(struct utmpx));
/freebsd-13-stable/tests/sys/posixshm/
H A Dmemfd_test.c229 int fd, fdx; local
233 ATF_REQUIRE((fdx = dup(fd)) != -1);
240 seals = fcntl(fdx, F_GET_SEALS);
244 ATF_REQUIRE(write(fdx, buf, sizeof(buf)) == -1);
248 fdx, 0) == MAP_FAILED);
252 close(fdx);
/freebsd-13-stable/sys/dev/mii/
H A Dmii_physubr.c389 int fdx = 0; local
438 fdx = 1;
453 fdx = 1;
484 fdx = 1;
522 fdx = 1;
530 if (fdx != 0 && (sc->mii_flags & MIIF_DOPAUSE) != 0) {
/freebsd-13-stable/sbin/mount_fusefs/
H A Dmount_fusefs.c144 int fd = -1, fdx; local
348 fdx = strtol(dev, &ep, 10);
350 fd = fdx;
/freebsd-13-stable/usr.sbin/moused/
H A Dmoused.c941 float fdx, fdy; local
947 fdx = dx * rodent.accelx + rodent.remainx;
949 *movex = lround(fdx);
951 rodent.remainx = fdx - *movex;
968 float fdx, fdy, length, lbase, accel; local
974 fdx = dx * rodent.accelx;
976 length = sqrtf((fdx * fdx) + (fdy * fdy)); /* Pythagoras */
980 fdx = fdx * acce
[all...]
/freebsd-13-stable/sys/net/
H A Dbridgestp.c1829 int fdx; local
1831 fdx = ifmr.ifm_active & IFM_FDX ? 1 : 0;
1832 if (bp->bp_ptp_link ^ fdx) {
1833 bp->bp_ptp_link = fdx;
/freebsd-13-stable/sys/dev/bce/
H A Dif_bce.c6106 int error, fdx; local
6119 fdx = IFM_OPTIONS(ifm->ifm_media) & IFM_FDX;
6138 if (fdx != 0)
6151 if (fdx != 0)
6159 if (fdx != 0)
6167 if (fdx != 0)
6175 if (fdx != 0)
6188 if (fdx != 0)

Completed in 193 milliseconds