/freebsd-current/libexec/getty/ |
H A D | chat.c | 27 #include <sys/ioctl.h> 83 ioctl(STDIN_FILENO, FIONBIO, &on); 95 return ioctl(STDIN_FILENO, FIONBIO, &off); 477 ioctl(STDIN_FILENO, FIONBIO, &off);
|
/freebsd-current/sbin/pfctl/ |
H A D | pfctl_radix.c | 36 #include <sys/ioctl.h> 85 if (ioctl(dev, DIOCRCLRTABLES, &io)) 106 if (ioctl(dev, DIOCRADDTABLES, &io)) { 129 if (ioctl(dev, DIOCRDELTABLES, &io)) { 155 if (ioctl(dev, DIOCRGETTABLES, &io)) { 180 if (ioctl(dev, DIOCRGETTSTATS, &io)) { 200 if (ioctl(dev, DIOCRCLRADDRS, &io)) 281 if (ioctl(dev, DIOCRGETASTATS, &io)) { 303 if (ioctl(dev, DIOCRCLRTSTATS, &io)) { 328 if (ioctl(de [all...] |
/freebsd-current/bin/stty/ |
H A D | stty.c | 85 if (ioctl(i.fd, TIOCGETD, &i.ldisc) < 0) 87 if (ioctl(i.fd, TIOCGWINSZ, &i.win) < 0) 140 if (i.wset && ioctl(i.fd, TIOCSWINSZ, &i.win) < 0)
|
/freebsd-current/tests/sys/ses/ |
H A D | nondestructive.c | 26 /* Basic smoke test of the ioctl interface */ 29 #include <sys/ioctl.h> 60 r = ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj); 88 r = ioctl(fd, ENCIOC_GETELMDESC, (caddr_t) &e_desc); 138 r = ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj); 145 r = ioctl(fd, ENCIOC_GETELMMAP, (caddr_t) map); 160 r = ioctl(fd, ENCIOC_GETELMSTAT, (caddr_t)&e_status); 168 r = ioctl(fd, ENCIOC_GETELMDEVNAMES, (caddr_t) &elmdn); 257 r = ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj); 262 r = ioctl(f [all...] |
/freebsd-current/sbin/ipf/ippool/ |
H A D | ippool.c | 12 #include <sys/ioctl.h> 231 err = load_poolnode(role, poolname, &pnode, ttl, ioctl); 233 err = remove_poolnode(role, poolname, &pnode, ioctl); 237 err = load_hashnode(role, poolname, &hnode, ttl, ioctl); 239 err = remove_hashnode(role, poolname, &hnode, ioctl); 338 err = load_hash(&iph, NULL, ioctl); 341 err = load_pool(&pool, ioctl); 348 err = remove_hash(&iph, ioctl); 351 err = remove_pool(&pool, ioctl); 357 err_h = remove_hash(&iph, ioctl); [all...] |
/freebsd-current/usr.sbin/sesutil/ |
H A D | sesutil.c | 37 #include <sys/ioctl.h> 135 if (ioctl(fd, ENCIOC_GETELMSTAT, (caddr_t) &o) < 0) { 153 if (ioctl(fd, ENCIOC_SETELMSTAT, (caddr_t) &o) < 0) { 247 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) { 258 if (ioctl(fd, ENCIOC_GETELMMAP, (caddr_t) objp) < 0) { 285 if (ioctl(fd, ENCIOC_GETELMSTAT, &es) < 0) { 301 if (ioctl(fd, ENCIOC_GETELMDEVNAMES, 465 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) { 476 if (ioctl(fd, ENCIOC_GETELMMAP, (caddr_t) e_ptr) < 0) { 485 if (ioctl(f [all...] |
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/arm/ |
H A D | dt_isadep.c | 69 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 70 dt_dprintf("fasttrap probe creation ioctl failed: %s\n", 115 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 116 dt_dprintf("fasttrap probe creation ioctl failed: %s\n", 140 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 141 dt_dprintf("fasttrap probe creation ioctl failed: %s\n", 181 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 182 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
|
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/powerpc/ |
H A D | dt_isadep.c | 51 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 52 dt_dprintf("fasttrap probe creation ioctl failed: %s\n", 124 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 125 dt_dprintf("fasttrap probe creation ioctl failed: %s\n", 149 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 150 dt_dprintf("fasttrap probe creation ioctl failed: %s\n", 190 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 191 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
|
/freebsd-current/contrib/netbsd-tests/net/bpf/ |
H A D | t_div-by-zero.c | 2 #include <sys/ioctl.h>
|
/freebsd-current/contrib/netbsd-tests/dev/scsipi/ |
H A D | t_cd.c | 29 #include <sys/ioctl.h>
|
/freebsd-current/crypto/heimdal/appl/telnet/telnetd/ |
H A D | termstat.c | 107 ioctl(ourpty, TIOCSWINSZ, (char *)&ws);
|
/freebsd-current/sys/ofed/include/uapi/rdma/ |
H A D | rdma_user_ioctl_cmds.h | 38 #include <linux/ioctl.h> 44 /* Documentation/ioctl/ioctl-number.rst */
|
/freebsd-current/crypto/openssh/ |
H A D | sandbox-pledge.c | 23 #include <sys/ioctl.h>
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | dosmode_readonly_write.c | 61 if (ioctl(fd, ZFS_IOC_SETDOSFLAGS, &dosflags) == -1)
|
/freebsd-current/sbin/ipf/libipf/ |
H A D | remove_hashnode.c | 11 #include <sys/ioctl.h>
|
H A D | remove_poolnode.c | 11 #include <sys/ioctl.h>
|
H A D | remove_hash.c | 11 #include <sys/ioctl.h>
|
H A D | remove_pool.c | 11 #include <sys/ioctl.h>
|
/freebsd-current/share/examples/kld/cdev/test/ |
H A D | testcdev.c | 101 /* Send ioctl */ 102 if (ioctl(kernel_fd, CDEV_IOCTL1, &one) == -1) { 105 printf( "Sent ioctl CDEV_IOCTL1 to device %s%s\n", _PATH_DEV, CDEV_DEVICE);
|
/freebsd-current/lib/libnetmap/ |
H A D | nmctx-pthreads.c | 32 #include <sys/ioctl.h>
|
/freebsd-current/share/examples/libifconfig/ |
H A D | setmtu.c | 31 #include <sys/ioctl.h> 81 "Failed to set MTU due to error in unexpected ioctl() call %lu. Error code: %i.\n",
|
H A D | ifcreate.c | 30 #include <sys/ioctl.h>
|
H A D | ifdestroy.c | 30 #include <sys/ioctl.h>
|
/freebsd-current/sys/modules/hptmv/ |
H A D | Makefile | 12 SRCS+= mv.c entry.c ioctl.c hptproc.c gui_lib.c
|
/freebsd-current/tools/regression/netinet/msocket_ifnet_remove/ |
H A D | msocket_ifnet_remove.c | 28 #include <sys/ioctl.h> 94 if (ioctl(s, SIOCIFCREATE, &ifr) < 0) { 95 warn("disc_setup: ioctl(%s, SIOCIFCREATE)", ifr.ifr_name); 120 if (ioctl(s, SIOCIFDESTROY, &ifr) < 0) 121 warn("disc_done: ioctl(%s, SIOCIFDESTROY)", ifr.ifr_name); 155 if (ioctl(s, SIOCAIFADDR, &ifra) < 0) { 156 warn("ifconfig_inet: ioctl(%s%d, SIOCAIFADDR, %s)", ifname,
|