Searched refs:ioctl (Results 1 - 25 of 958) sorted by path

1234567891011>>

/freebsd-current/bin/chio/
H A Dchio.c238 if (ioctl(changer_fd, CHIOMOVE, &cmd))
345 if (ioctl(changer_fd, CHIOEXCHANGE, &cmd))
407 if (ioctl(changer_fd, CHIOPOSITION, &cmd))
436 if (ioctl(changer_fd, CHIOGPARAMS, &data))
449 if (ioctl(changer_fd, CHIOGPICKER, &picker))
477 if (ioctl(changer_fd, CHIOGPICKER, &picker))
507 if (ioctl(changer_fd, CHIOSPICKER, &picker))
590 if (ioctl(changer_fd, CHIOGPARAMS, (char *)&cp))
671 if (ioctl(changer_fd, CHIOGSTATUS, (char *)&cesr)) {
750 if (ioctl(changer_f
[all...]
/freebsd-current/bin/dd/
H A Ddd.c321 if (ioctl(io->fd, FIODTYPE, &type) == -1) {
H A Dposition.c179 if (ioctl(out.fd, MTIOCTOP, &t_op) == -1)
201 if (ioctl(out.fd, MTIOCTOP, &t_op) == -1)
/freebsd-current/bin/ed/
H A Dglbl.c30 #include <sys/ioctl.h>
H A Dmain.c43 #include <sys/ioctl.h>
1378 if (ioctl(0, TIOCGWINSZ, (char *) &ws) >= 0) {
/freebsd-current/bin/ls/
H A Dls.c37 #include <sys/ioctl.h>
238 else if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &win) != -1 &&
/freebsd-current/bin/pax/
H A Dar_io.c37 #include <sys/ioctl.h>
174 artyp = ioctl(arfd, MTIOCGET, &mb) ? ISCHR : ISTAPE;
742 if (ioctl(arfd, MTIOCTOP, &mb) < 0)
956 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
1011 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
1022 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
1043 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
1074 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
/freebsd-current/bin/ps/
H A Dps.c44 #include <sys/ioctl.h>
200 else if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&ws) == -1 &&
201 ioctl(STDERR_FILENO, TIOCGWINSZ, (char *)&ws) == -1 &&
202 ioctl(STDIN_FILENO, TIOCGWINSZ, (char *)&ws) == -1) ||
/freebsd-current/bin/sh/
H A Djobs.c33 #include <sys/ioctl.h>
/freebsd-current/bin/stty/
H A Dkey.c189 (void)ioctl(ip->fd, TIOCEXT, &tmp);
192 (void)ioctl(ip->fd, TIOCEXT, &tmp);
283 if (ioctl(ip->fd, TIOCSETD, &tmp) < 0)
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)
H A Dstty.h30 #include <sys/ioctl.h>
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/
H A Dbaddof.c77 if ((rv = ioctl(fd, DTRACEIOC_ENABLE, buf)) == -1) {
135 if ((rv = ioctl(fd, DTRACEIOC_ENABLE, buf)) > 0) {
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c110 ioctl(fd, DTRACEIOC | ioc, addr);
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/
H A Dchkargs.c62 (void) ioctl(g_fd, DTRACEIOC_PROBEARG, &arg);
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c27 #include <sys/ioctl.h>
69 * ioctl() calls until DTrace hits us with a SIGUSR1 to start the test.
73 (void) ioctl(-1, 0, NULL);
92 * issue a bogus ioctl() on each fd with cmd 0 and arg NULL to whack
96 (void) ioctl(fds[i], 0, NULL);
H A Dtst.fds.d32 syscall::ioctl:entry
38 syscall::ioctl:entry
/freebsd-current/cddl/contrib/opensolaris/cmd/pyzfs/
H A Dpyzfs.py36 import zfs.ioctl namespace
50 zfs.ioctl.set_cmdstr(" ".join(["zfs"] + sys.argv[1:]))
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/aarch64/
H A Ddt_isadep.c57 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
58 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
91 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
92 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
132 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
133 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
/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/common/
H A Ddrti.c192 if ((gen = ioctl(fd, DTRACEHIOC_ADDDOF, &dh)) == -1)
193 dbg_printf(1, "DTrace ioctl failed for DOF at %p", dof);
195 dbg_printf(1, "DTrace ioctl succeeded for DOF at %p\n", dof);
220 if ((gen = ioctl(fd, DTRACEHIOC_REMOVE, &gen)) == -1)
221 dbg_printf(1, "DTrace ioctl failed to remove DOF (%d)\n", gen);
223 dbg_printf(1, "DTrace ioctl removed DOF (%d)\n", gen);
H A Ddt_pid.c619 if (ioctl(fd, DTRACEHIOC_ADDDOF, &dh, sizeof (dh)) < 0)
H A Ddt_provider.c725 if (ioctl(dtp->dt_kinstfd, KINSTIOC_MAKEPROBE, &pd) !=
H A Ddt_subr.c498 return (ioctl(dtp->dt_fd, val, arg));
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/i386/
H A Ddt_isadep.c75 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
76 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
273 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
274 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
361 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
362 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
441 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
442 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
478 if (ioctl(dis->dtp->dt_ftfd, FASTTRAPIOC_GETINSTR, &instr) == 0)

Completed in 224 milliseconds

1234567891011>>