/freebsd-current/tests/atf_python/sys/netpfil/ipfw/ |
H A D | ipfw.py | 25 from atf_python.sys.netpfil.ipfw.ioctl import get3_classes 26 from atf_python.sys.netpfil.ipfw.ioctl import legacy_classes 27 from atf_python.sys.netpfil.ipfw.ioctl import set3_classes
|
/freebsd-current/tests/sys/opencrypto/ |
H A D | blake2_test.c | 82 ATF_REQUIRE(ioctl(fd, CIOCFINDDEV, &find) != -1); 108 ATF_REQUIRE_MSG(ioctl(fd, CIOCGSESSION2, &sop) >= 0, 125 ATF_CHECK_MSG(ioctl(fd, CIOCCRYPT, &cop) >= 0, "ioctl(CIOCCRYPT)");
|
/freebsd-current/tools/tools/ath/athpow/ |
H A D | athpow.c | 104 if (ioctl(s, SIOCGATHDIAG, &atd) < 0) 113 if (ioctl(s, SIOCGATHDIAG, &atd) < 0) 120 if (ioctl(s, SIOCGATHDIAG, &atd) < 0)
|
/freebsd-current/usr.sbin/fwcontrol/ |
H A D | fwmpegts.c | 38 #include <sys/ioctl.h> 177 if (ioctl(d, FW_SSTBUF, &bufreq) < 0) 178 err(1, "ioctl"); 183 if (ioctl(d, FW_SRSTREAM, &isoreq) < 0) 184 err(1, "ioctl");
|
/freebsd-current/usr.sbin/fdcontrol/ |
H A D | fdcontrol.c | 123 if (ioctl(fd, FD_GDTYPE, &type) == -1) 124 err(EX_OSERR, "ioctl(FD_GDTYPE)"); 125 if (ioctl(fd, FD_GTYPE, &ft) == -1) 126 err(EX_OSERR, "ioctl(FD_GTYPE)"); 204 if (ioctl(fd, FD_STYPE, &ft) == -1) 205 err(EX_OSERR, "ioctl(FD_STYPE)");
|
/freebsd-current/usr.sbin/pwm/ |
H A D | pwm.c | 29 #include <sys/ioctl.h> 173 if (ioctl(fd, PWMGETSTATE, &state) == -1) { 202 if (ioctl(fd, PWMSETSTATE, &state) == -1) {
|
/freebsd-current/usr.sbin/wake/ |
H A D | wake.c | 30 #include <sys/ioctl.h> 94 if (ioctl(bpf, BIOCSETIF, &ifr) == -1) 97 if (ioctl(bpf, BIOCGDLT, &dlt) == -1)
|
/freebsd-current/sbin/veriexec/ |
H A D | veriexec.c | 206 if (ioctl(dev_fd, VERIEXEC_GETSTATE, &x)) { 270 if (ioctl(dev_fd, state, &x)) 299 if (ioctl(dev_fd, VERIEXEC_GETVERSION, &VeriexecVersion)) {
|
/freebsd-current/sbin/ifconfig/ |
H A D | ifgroup.c | 29 #include <sys/ioctl.h> 116 if (ioctl(s, SIOCGIFGMEMB, (caddr_t)&ifgr) == -1) { 127 if (ioctl(s, SIOCGIFGMEMB, (caddr_t)&ifgr) == -1)
|
/freebsd-current/tools/regression/ethernet/ethermulti/ |
H A D | ethermulti.c | 30 #include <sys/ioctl.h> 150 if (ioctl(sock, SIOCADDMULTI, &ifr) < 0) { 193 if (ioctl(sock, SIOCDELMULTI, &ifr) < 0)
|
/freebsd-current/usr.sbin/iscsid/ |
H A D | discovery.c | 33 #include <sys/ioctl.h> 96 error = ioctl(conn->conn_iscsi_fd, ISCSISADD, &isa); 109 error = ioctl(conn->conn_iscsi_fd, ISCSISREMOVE, &isr);
|
/freebsd-current/contrib/llvm-project/libcxx/src/ |
H A D | random.cpp | 29 # if __has_include(<sys/ioctl.h>) && __has_include(<linux/random.h>) 31 # include <sys/ioctl.h> 164 if (::ioctl(__f_, RNDGETENTCNT, &ent) < 0)
|
/freebsd-current/sbin/nvmecontrol/ |
H A D | nvmecontrol.c | 110 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) 134 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) 171 if (ioctl(fd, NVME_GET_NSID, &gnsid) < 0) 172 err(EX_OSERR, "NVME_GET_NSID ioctl failed");
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_heath.c | 21 # include <sys/ioctl.h> 59 * TIOCMBIS ioctl system calls and TIOCM_RTS control bit. Present 427 if (ioctl(pp->io.fd, TIOCMBIC, (char *)&bits) < 0) 432 ioctl(pp->io.fd, TIOCMBIS, (char *)&bits);
|
/freebsd-current/contrib/libpcap/ |
H A D | pcap-snoop.c | 28 #include <sys/ioctl.h> 169 if (ioctl(p->fd, SIOCRAWSTATS, (char *)rs) < 0) { 236 if (ioctl(fd, SIOCADDSNOOP, &sf) < 0) { 345 if (ioctl(fd, SIOCGIFMTU, (char *)&ifr) < 0) { 379 if (ioctl(fd, SIOCSNOOPLEN, &snooplen) < 0) { 385 if (ioctl(fd, SIOCSNOOPING, &v) < 0) {
|
/freebsd-current/tools/tools/ath/athspectral/ |
H A D | athspectral.c | 63 if (ioctl(spectral->s, SIOCGATHDIAG, &spectral->atd) < 0) { 115 if (ioctl(spectral->s, SIOCGATHSPECTRAL, &spectral->atd) < 0) 132 if (ioctl(spectral->s, SIOCGATHSPECTRAL, &spectral->atd) < 0) 163 if (ioctl(spectral->s, SIOCGATHSPECTRAL, &spectral->atd) < 0) 184 if (ioctl(spectral->s, SIOCGATHSPECTRAL, &spectral->atd) < 0) 207 if (ioctl(spectral->s, SIOCGATHSPECTRAL, &spectral->atd) < 0)
|
/freebsd-current/contrib/libfido2/src/ |
H A D | hid_freebsd.c | 52 if (ioctl(fd, IOCTL_REQ(USB_GET_REPORT_DESC), &ugd) == -1) { 53 fido_log_error(errno, "%s: ioctl", __func__); 83 if (ioctl(fd, IOCTL_REQ(USB_GET_DEVICEINFO), &udi) == -1) { 84 if (ioctl(fd, IOCTL_REQ(HIDIOCGRAWINFO), &devinfo) == -1 || 85 ioctl(fd, IOCTL_REQ(HIDIOCGRAWNAME(128)), rawname) == -1 || 130 if (ioctl(fd, IOCTL_REQ(USB_GET_DEVICEINFO), &udi) == -1) { 131 fido_log_error(errno, "%s: ioctl", __func__); 231 * N.B. if ctx->fd is an hidraw(4) device, the ioctl() below puts it in 234 if ((r = ioctl(ctx->fd, IOCTL_REQ(USB_GET_REPORT_DESC), &ugd) == -1) || 239 fido_log_error(errno, "%s: ioctl", __func_ [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/ |
H A D | baddof.c | 77 if ((rv = ioctl(fd, DTRACEIOC_ENABLE, buf)) == -1) { 135 if ((rv = ioctl(fd, DTRACEIOC_ENABLE, buf)) > 0) {
|
/freebsd-current/contrib/netbsd-tests/kernel/kqueue/ |
H A D | t_sig.c | 38 #include <sys/ioctl.h> 94 RL(ioctl(kq, KFILTER_BYNAME, &km));
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | revoke.sh | 61 #include <sys/ioctl.h> 103 if (ioctl(ttyfd, TIOCSCTTY) < 0) { 104 err(1, "ioctl(TIOCSCTTY)");
|
/freebsd-current/tests/sys/geom/class/eli/ |
H A D | unaligned_io.c | 66 if (ioctl(fd, DIOCGSECTORSIZE, &secsz) != 0) 67 err(1, "ioctl(DIOCGSECTORSIZE)"); 69 errx(1, "ioctl(DIOCGSECTORSIZE) returned 0"); 70 if (ioctl(fd, DIOCGMEDIASIZE, &disksz) != 0) 71 err(1, "ioctl(DIOCGMEDIASIZE)");
|
/freebsd-current/tools/tools/mcgrab/ |
H A D | mcgrab.cc | 46 #include <sys/ioctl.h> 113 if (ioctl(sock, SIOCGIFADDR, &ifreq) < 0) {
|
/freebsd-current/usr.sbin/fifolog/lib/ |
H A D | fifolog_create.c | 83 i = ioctl(fd, DIOCGSECTORSIZE, &uu); 89 i = ioctl(fd, DIOCGMEDIASIZE, &ms);
|
/freebsd-current/usr.bin/tip/libacu/ |
H A D | biz31.c | 226 if (ioctl(fd, IOCTL, (caddr_t)&b) >= 0 && chars(b) > 0) 230 if (ioctl(fd, IOCTL, (caddr_t)&b) >= 0) {
|
/freebsd-current/sbin/ipf/ipsend/ |
H A D | sdlpi.c | 20 #include <sys/ioctl.h> 154 if (ioctl(fd, I_FLUSH, FLUSHW) == -1)
|