/freebsd-13-stable/contrib/apr/file_io/unix/ |
H A D | pipe.c | 24 * Basically, BONE7 changed things again so that ioctl didn't work, 59 if (ioctl(thepipe->filedes, FIONBIO, &on, sizeof(on)) < 0) { 95 if (ioctl(thepipe->filedes, FIONBIO, &on, sizeof(on)) < 0) {
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_pool_os.c | 80 (void) ioctl(fd, BLKFLSBUF); 298 (void) ioctl(fd, BLKFLSBUF);
|
/freebsd-13-stable/contrib/ntp/ntpd/ |
H A D | refclock_gpsvme.c | 21 #include <sys/ioctl.h> /* for _IOR, ioctl */ 57 #define PSC_REGS _IOR('K', 0, long) /* ioctl argument */ 117 if (ioctl(fd[unit], PSC_REGS, ®p[unit]) < 0) { 118 msyslog(LOG_ERR, "psc_start: unit: %d, ioctl failed. %m", unit);
|
H A D | refclock_neoclock4x.c | 23 #include <sys/ioctl.h> 53 # include <sys/ioctl.h> 234 if(ioctl(fd, TCGETA, &termsettings) < 0) 247 if(ioctl(fd, TCSETA, &termsettings) < 0) 262 if(ioctl(fd, TIOCMGET, (caddr_t)&sl232) == -1) 273 if(ioctl(fd, TIOCMSET, (caddr_t)&sl232) == -1) 411 if(ioctl(pp->io.fd, TIOCMGET, (caddr_t)&sl232) == -1) 423 if(ioctl(pp->io.fd, TIOCMSET, (caddr_t)&sl232) == -1)
|
/freebsd-13-stable/contrib/ntp/include/ |
H A D | timepps-Solaris.h | 249 if (ioctl(filedes, TIOCSPPS, &one) < 0) { 498 if (ioctl(punit->filedes, TIOCGPPSEV, (caddr_t) &ev) < 0) {
|
H A D | timepps-SunOS.h | 220 if (ioctl(filedes, I_PUSH, "ppsclock") < 0) { 435 if (ioctl(handle->filedes, CIOGETEV, (caddr_t) &ev) < 0) {
|
/freebsd-13-stable/sys/kern/ |
H A D | capabilities.conf | 357 ## Allow ioctl(2), which hopefully will be limited by applications only to 360 ioctl
|
/freebsd-13-stable/crypto/heimdal/lib/roken/ |
H A D | rkpty.c | 130 ioctl(slave, I_PUSH, "ptem"); 131 ioctl(slave, I_PUSH, "ldterm");
|
/freebsd-13-stable/crypto/openssh/ |
H A D | progressmeter.c | 29 #include <sys/ioctl.h> 297 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 &&
|
/freebsd-13-stable/usr.bin/who/ |
H A D | who.c | 34 #include <sys/ioctl.h> 311 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
|
/freebsd-13-stable/usr.sbin/bluetooth/bcmfw/ |
H A D | bcmfw.c | 38 #include <sys/ioctl.h> 133 if (ioctl(fd, USB_GET_DEVICE_DESC, &desc) < 0) { 134 syslog(LOG_ERR, "Could not ioctl(%d, %ld, %p). %s (%d)",
|
/freebsd-13-stable/usr.sbin/bluetooth/btpand/ |
H A D | channel.c | 36 #include <sys/ioctl.h> 97 if (ioctl(fd, FIONBIO, &n) == -1) {
|
H A D | server.c | 35 #include <sys/ioctl.h> 168 if (ioctl(fd, FIONBIO, &n) == -1) {
|
/freebsd-13-stable/usr.sbin/bluetooth/hccontrol/ |
H A D | hccontrol.c | 36 #include <sys/ioctl.h> 307 if (ioctl(s, SIOC_HCI_RAW_NODE_LIST_NAMES, &r, sizeof(r)) < 0)
|
/freebsd-13-stable/usr.sbin/bluetooth/l2ping/ |
H A D | l2ping.c | 34 #include <sys/ioctl.h> 207 if (ioctl(s, SIOC_L2CAP_L2CA_PING, &r, sizeof(r)) < 0) {
|
/freebsd-13-stable/usr.sbin/dumpcis/ |
H A D | readcis.c | 265 if (ioctl(fd, PIOCRWFLAG, &flags) < 0) 339 if (ioctl(fd, PIOCRWFLAG, &flag) < 0)
|
/freebsd-13-stable/usr.sbin/fdwrite/ |
H A D | fdwrite.c | 56 return ioctl(fd, FD_FORM, (caddr_t)&f); 133 if(ioctl(fd, FD_GTYPE, &fdt) < 0)
|
/freebsd-13-stable/usr.sbin/mpsutil/ |
H A D | mps_cmd.c | 41 #include <sys/ioctl.h> 271 if ((error = ioctl(fd, MPTIOCTL_BTDH_MAPPING, &map)) != 0) { 541 if (ioctl(fd, MPSIO_READ_CFG_HEADER, &req) < 0) 573 if (ioctl(fd, MPSIO_READ_CFG_PAGE, &req) < 0) { 608 if (ioctl(fd, MPSIO_READ_EXT_CFG_HEADER, &req) < 0) 624 if (ioctl(fd, MPSIO_READ_EXT_CFG_PAGE, &req) < 0) { 669 if (ioctl(fd, is_mps ? MPSIO_MPS_COMMAND : MPRIO_MPR_COMMAND, &cmd) < 0) 721 if (ioctl(fd, MPTIOCTL_PASS_THRU, &pass) < 0)
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | id.c | 35 #include <sys/ioctl.h> 100 ret = ioctl(fd, req, arg); 101 log_Printf(LogID0, "%d = ioctl(%d, %lu, %p)\n", ret, fd, req, arg);
|
/freebsd-13-stable/usr.sbin/rmt/ |
H A D | rmt.c | 172 if (ioctl(tape, MTIOCTOP, (char *)&mtop) < 0) 181 if (ioctl(tape, MTIOCGET, (char *)&mtget) < 0)
|
/freebsd-13-stable/usr.sbin/wpa/ndis_events/ |
H A D | ndis_events.c | 49 #include <sys/ioctl.h> 192 if (ioctl(s, SIOCGPRIVATE_0, &ifr) < 0) {
|
/freebsd-13-stable/usr.sbin/ypbind/ |
H A D | yp_ping.c | 92 #include <sys/ioctl.h> 274 ioctl(sock, FIONBIO, &dontblock);
|
/freebsd-13-stable/tools/tools/kttcp/ |
H A D | kttcp.c | 45 #include <sys/ioctl.h> 259 if (ioctl(kfd, cmd, &kio) == -1)
|
/freebsd-13-stable/tools/tools/net80211/wlanstats/ |
H A D | main.c | 105 if (ioctl(s, SIOCG80211, &ireq) < 0) 272 if (ioctl(s, SIOCG80211, &ireq) < 0)
|
/freebsd-13-stable/usr.bin/iscsictl/ |
H A D | iscsictl.c | 35 #include <sys/ioctl.h> 374 error = ioctl(iscsi_fd, ISCSISADD, &isa); 389 error = ioctl(iscsi_fd, ISCSISMODIFY, &ism); 417 error = ioctl(iscsi_fd, ISCSISLIST, &isl); 455 error = ioctl(iscsi_fd, ISCSISMODIFY, &ism); 468 error = ioctl(iscsi_fd, ISCSISREMOVE, &isr); 498 error = ioctl(iscsi_fd, ISCSISLIST, &isl); 663 error = ioctl(iscsi_fd, ISCSISLIST, &isl);
|