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

/freebsd-11-stable/tests/sys/aio/
H A Daio_test.c636 int mdctl_fd, error, n, unit; local
639 mdctl_fd = open("/dev/" MDCTL_NAME, O_RDWR, 0);
640 ATF_REQUIRE(mdctl_fd >= 0);
647 if (ioctl(mdctl_fd, MDIOCDETACH, &mdio) == -1) {
649 close(mdctl_fd);
657 close(mdctl_fd);
663 int error, fd, mdctl_fd, unit; local
672 mdctl_fd = open("/dev/" MDCTL_NAME, O_RDWR, 0);
673 ATF_REQUIRE_MSG(mdctl_fd != -1,
683 if (ioctl(mdctl_fd, MDIOCATTAC
[all...]

Completed in 120 milliseconds