Searched refs:ioctl (Results 476 - 500 of 943) sorted by relevance

<<11121314151617181920>>

/freebsd-13-stable/contrib/apr/file_io/unix/
H A Dpipe.c24 * 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 Dlibzfs_pool_os.c80 (void) ioctl(fd, BLKFLSBUF);
298 (void) ioctl(fd, BLKFLSBUF);
/freebsd-13-stable/contrib/ntp/ntpd/
H A Drefclock_gpsvme.c21 #include <sys/ioctl.h> /* for _IOR, ioctl */
57 #define PSC_REGS _IOR('K', 0, long) /* ioctl argument */
117 if (ioctl(fd[unit], PSC_REGS, &regp[unit]) < 0) {
118 msyslog(LOG_ERR, "psc_start: unit: %d, ioctl failed. %m", unit);
H A Drefclock_neoclock4x.c23 #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 Dtimepps-Solaris.h249 if (ioctl(filedes, TIOCSPPS, &one) < 0) {
498 if (ioctl(punit->filedes, TIOCGPPSEV, (caddr_t) &ev) < 0) {
H A Dtimepps-SunOS.h220 if (ioctl(filedes, I_PUSH, "ppsclock") < 0) {
435 if (ioctl(handle->filedes, CIOGETEV, (caddr_t) &ev) < 0) {
/freebsd-13-stable/sys/kern/
H A Dcapabilities.conf357 ## Allow ioctl(2), which hopefully will be limited by applications only to
360 ioctl
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Drkpty.c130 ioctl(slave, I_PUSH, "ptem");
131 ioctl(slave, I_PUSH, "ldterm");
/freebsd-13-stable/crypto/openssh/
H A Dprogressmeter.c29 #include <sys/ioctl.h>
297 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 &&
/freebsd-13-stable/usr.bin/who/
H A Dwho.c34 #include <sys/ioctl.h>
311 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
/freebsd-13-stable/usr.sbin/bluetooth/bcmfw/
H A Dbcmfw.c38 #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 Dchannel.c36 #include <sys/ioctl.h>
97 if (ioctl(fd, FIONBIO, &n) == -1) {
H A Dserver.c35 #include <sys/ioctl.h>
168 if (ioctl(fd, FIONBIO, &n) == -1) {
/freebsd-13-stable/usr.sbin/bluetooth/hccontrol/
H A Dhccontrol.c36 #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 Dl2ping.c34 #include <sys/ioctl.h>
207 if (ioctl(s, SIOC_L2CAP_L2CA_PING, &r, sizeof(r)) < 0) {
/freebsd-13-stable/usr.sbin/dumpcis/
H A Dreadcis.c265 if (ioctl(fd, PIOCRWFLAG, &flags) < 0)
339 if (ioctl(fd, PIOCRWFLAG, &flag) < 0)
/freebsd-13-stable/usr.sbin/fdwrite/
H A Dfdwrite.c56 return ioctl(fd, FD_FORM, (caddr_t)&f);
133 if(ioctl(fd, FD_GTYPE, &fdt) < 0)
/freebsd-13-stable/usr.sbin/mpsutil/
H A Dmps_cmd.c41 #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 Did.c35 #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 Drmt.c172 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 Dndis_events.c49 #include <sys/ioctl.h>
192 if (ioctl(s, SIOCGPRIVATE_0, &ifr) < 0) {
/freebsd-13-stable/usr.sbin/ypbind/
H A Dyp_ping.c92 #include <sys/ioctl.h>
274 ioctl(sock, FIONBIO, &dontblock);
/freebsd-13-stable/tools/tools/kttcp/
H A Dkttcp.c45 #include <sys/ioctl.h>
259 if (ioctl(kfd, cmd, &kio) == -1)
/freebsd-13-stable/tools/tools/net80211/wlanstats/
H A Dmain.c105 if (ioctl(s, SIOCG80211, &ireq) < 0)
272 if (ioctl(s, SIOCG80211, &ireq) < 0)
/freebsd-13-stable/usr.bin/iscsictl/
H A Discsictl.c35 #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);

Completed in 291 milliseconds

<<11121314151617181920>>