Searched refs:ioctl (Results 176 - 200 of 959) sorted by relevance

1234567891011>>

/freebsd-current/libexec/getty/
H A Dchat.c27 #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 Dpfctl_radix.c36 #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 Dstty.c85 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 Dnondestructive.c26 /* 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 Dippool.c12 #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 Dsesutil.c37 #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 Ddt_isadep.c69 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 Ddt_isadep.c51 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 Dt_div-by-zero.c2 #include <sys/ioctl.h>
/freebsd-current/contrib/netbsd-tests/dev/scsipi/
H A Dt_cd.c29 #include <sys/ioctl.h>
/freebsd-current/crypto/heimdal/appl/telnet/telnetd/
H A Dtermstat.c107 ioctl(ourpty, TIOCSWINSZ, (char *)&ws);
/freebsd-current/sys/ofed/include/uapi/rdma/
H A Drdma_user_ioctl_cmds.h38 #include <linux/ioctl.h>
44 /* Documentation/ioctl/ioctl-number.rst */
/freebsd-current/crypto/openssh/
H A Dsandbox-pledge.c23 #include <sys/ioctl.h>
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddosmode_readonly_write.c61 if (ioctl(fd, ZFS_IOC_SETDOSFLAGS, &dosflags) == -1)
/freebsd-current/sbin/ipf/libipf/
H A Dremove_hashnode.c11 #include <sys/ioctl.h>
H A Dremove_poolnode.c11 #include <sys/ioctl.h>
H A Dremove_hash.c11 #include <sys/ioctl.h>
H A Dremove_pool.c11 #include <sys/ioctl.h>
/freebsd-current/share/examples/kld/cdev/test/
H A Dtestcdev.c101 /* 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 Dnmctx-pthreads.c32 #include <sys/ioctl.h>
/freebsd-current/share/examples/libifconfig/
H A Dsetmtu.c31 #include <sys/ioctl.h>
81 "Failed to set MTU due to error in unexpected ioctl() call %lu. Error code: %i.\n",
H A Difcreate.c30 #include <sys/ioctl.h>
H A Difdestroy.c30 #include <sys/ioctl.h>
/freebsd-current/sys/modules/hptmv/
H A DMakefile12 SRCS+= mv.c entry.c ioctl.c hptproc.c gui_lib.c
/freebsd-current/tools/regression/netinet/msocket_ifnet_remove/
H A Dmsocket_ifnet_remove.c28 #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,

Completed in 319 milliseconds

1234567891011>>