/freebsd-current/sbin/ipf/libipf/ |
H A D | ipf_perror.c | 2 #include <sys/ioctl.h> 35 ipf_perror_fd(fd, ioctl, msg);
|
H A D | checkrev.c | 10 #include <sys/ioctl.h> 34 if (ioctl(vfd, SIOCGETFS, &obj)) { 35 ipferror(vfd, "ioctl(SIOCGETFS)");
|
H A D | printtqtable.c | 8 #include <sys/ioctl.h>
|
H A D | poolio.c | 10 #include <sys/ioctl.h>
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | getversion.c | 18 * Linux exposes it instead through an ioctl. 21 #include <sys/ioctl.h> 40 if (ioctl(fd, FS_IOC_GETVERSION, &gen) == -1)
|
/freebsd-current/share/examples/ses/srcs/ |
H A D | setencstat.c | 40 #include <sys/ioctl.h> 63 if (ioctl(fd, ENCIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
|
H A D | getnobj.c | 41 #include <sys/ioctl.h> 58 if (ioctl(fd, SESIOC_GETNOBJ, (caddr_t) &nobj) < 0) {
|
H A D | inienc.c | 40 #include <sys/ioctl.h> 55 if (ioctl(fd, SESIOC_INIT, NULL) < 0) {
|
H A D | getencstat.c | 40 #include <sys/ioctl.h> 85 if (ioctl(fd, ENCIOC_GETENCNAME, (caddr_t) &stri) == 0) 89 if (ioctl(fd, ENCIOC_GETENCID, (caddr_t) &stri) == 0) 92 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) { 97 if (ioctl(fd, ENCIOC_GETENCSTAT, (caddr_t) &estat) < 0) { 138 if (ioctl(fd, ENCIOC_GETELMMAP, (caddr_t) objp) < 0) { 145 if (ioctl(fd, ENCIOC_GETELMSTAT, (caddr_t) &ob) < 0) { 159 if (ioctl(fd, ENCIOC_GETELMDESC, (caddr_t)&objd) < 0) { 174 * This ioctl isn't critical and has a good chance 177 (void)ioctl(f [all...] |
/freebsd-current/tests/sys/kern/ |
H A D | kcov.c | 33 #include <sys/ioctl.h> 82 ATF_CHECK(ioctl(fd, KIOSETBUFSIZE, 0) == -1); 83 ATF_CHECK(ioctl(fd, KIOSETBUFSIZE, 1) == -1); 84 ATF_CHECK(ioctl(fd, KIOSETBUFSIZE, 2) == 0); 85 ATF_CHECK(ioctl(fd, KIOSETBUFSIZE, 2) == -1); 106 ATF_REQUIRE(ioctl(fd, KIOSETBUFSIZE, 142 ATF_REQUIRE(ioctl(fd, KIOSETBUFSIZE, page_size / KCOV_ENTRY_SIZE) == 0); 162 ATF_REQUIRE(ioctl(fd, KIOSETBUFSIZE, page_size / KCOV_ENTRY_SIZE) == 0); 178 ATF_REQUIRE(ioctl(fd, KIOSETBUFSIZE, page_size / KCOV_ENTRY_SIZE) == 0); 181 ATF_CHECK(ioctl(f [all...] |
/freebsd-current/lib/libvgl/ |
H A D | main.c | 36 #include <sys/ioctl.h> 85 ioctl(0, FBIO_SETLINEWIDTH, &VGLOldVXsize); 88 ioctl(0, _IO('V', VGLOldMode - M_VESA_BASE), 0); 90 ioctl(0, _IO('S', VGLOldMode), 0); 95 ioctl(0, KDRASTER, size); 98 ioctl(0, KDDISABIO, 0); 99 ioctl(0, KDSETMODE, KD_TEXT); 101 ioctl(0, VT_SETMODE, &smode); 160 if (ioctl(0, CONS_GET, &VGLOldMode) || ioctl( [all...] |
/freebsd-current/share/examples/perfmon/ |
H A D | perfmon.c | 31 #include <sys/ioctl.h> 116 if (ioctl(fd, PMIOSETUP, &pmc) < 0) 117 err(1, "ioctl(PMIOSETUP)"); 119 if (ioctl(fd, PMIOTSTAMP, &then) < 0) 120 err(1, "ioctl(PMIOTSTAMP)"); 123 if (ioctl(fd, PMIOSTART, &num) < 0) 124 err(1, "ioctl(PMIOSTART)"); 128 if (ioctl(fd, PMIOSTOP, &num) < 0) 129 err(1, "ioctl(PMIOSTOP)"); 130 if (ioctl(f [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.d | 32 syscall::ioctl:entry 38 syscall::ioctl:entry
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/linux_dos_attributes/ |
H A D | write_dos_attributes.c | 18 * Under Linux, we provide ZFS_IOC_[GS]ETDOSFLAGS ioctl()s. 30 #include <sys/ioctl.h> 72 if (ioctl(fd, ZFS_IOC_GETDOSFLAGS, &flags) == -1) 82 if (ioctl(fd, ZFS_IOC_SETDOSFLAGS, &flags) == -1) 86 if (ioctl(fd, ZFS_IOC_GETDOSFLAGS, &newflags) == -1)
|
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
H A D | stat.h | 42 /* In Linux we need to use an ioctl to get the size of a block device */ 44 if (ioctl(fd, BLKGETSIZE64, &st->st_size) != 0)
|
/freebsd-current/contrib/tcp_wrappers/ |
H A D | fromhost.c | 44 if (ioctl(request->fd, I_FIND, "timod") > 0) {
|
/freebsd-current/share/syscons/scrnmaps/ |
H A D | mkscrfil.c | 29 #include <sys/ioctl.h>
|
/freebsd-current/sbin/veriexec/ |
H A D | veriexec.h | 31 #include <sys/ioctl.h>
|
/freebsd-current/bin/stty/ |
H A D | stty.h | 30 #include <sys/ioctl.h>
|
/freebsd-current/contrib/telnet/libtelnet/ |
H A D | read_password.c | 55 #include <sys/ioctl.h> 92 if (ioctl(0,TIOCGETP,(char *)&tty_state) == -1) 99 if (ioctl(0,TIOCSETP,(char *)&tty_state) == -1) 132 if (ioctl(0,TIOCSETP,(char *)&tty_state))
|
/freebsd-current/stand/libsa/ |
H A D | ioctl.c | 1 /* $NetBSD: ioctl.c,v 1.4 1994/10/30 21:48:24 cgd Exp $ */ 64 ioctl(int fd, u_long cmd, void *arg) function
|
/freebsd-current/usr.sbin/cpucontrol/ |
H A D | amd10h.c | 29 #include <sys/ioctl.h> 59 error = ioctl(fd, CPUCTL_CPUID, &idargs); 61 WARN(0, "ioctl()"); 72 error = ioctl(fd, CPUCTL_CPUID, &idargs); 74 WARN(0, "ioctl()"); 111 error = ioctl(devfd, CPUCTL_CPUID, &idargs); 113 WARN(0, "ioctl()"); 119 error = ioctl(devfd, CPUCTL_RDMSR, &msrargs); 121 WARN(0, "ioctl(%s)", dev); 136 error = ioctl(devf [all...] |
/freebsd-current/tests/sys/auditpipe/ |
H A D | auditpipe_test.c | 26 #include <sys/ioctl.h> 42 atf_tc_set_md_var(tc, "descr", "Verifies whether the auditpipe ioctl, " 50 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLEN, &qlen)); 59 atf_tc_set_md_var(tc, "descr", "Verifies whether the auditpipe ioctl, " 67 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLIMIT, &qlimit)); 76 atf_tc_set_md_var(tc, "descr", "Verifies whether the auditpipe ioctl, " 86 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLIMIT, &curr_qlimit)); 93 * proper functioning of AUDITPIPE_SET_QLIMIT ioctl. 96 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_SET_QLIMIT, &test_qlimit)); 98 ATF_REQUIRE_EQ(0, ioctl(filedes [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | audio.c | 30 # include <sys/ioctl.h> 51 * 4.4BSD-Lite switched to an unsigned long ioctl arg. Detect common 291 if (ioctl(fd, AIOGSIZE, &s_size) == -1) 301 if (ioctl(fd, AIOSSIZE, &s_size) == -1) 311 if (ioctl(fd, SNDCTL_DSP_SETFRAGMENT, &tmp) == -1) 318 if (ioctl(fd, AIOGFMT, &s_c_p) == -1) 327 if (ioctl(ctl_fd, SOUND_MIXER_READ_DEVMASK, &devmask) == -1) 329 if (ioctl(ctl_fd, SOUND_MIXER_READ_RECMASK, &recmask) == -1) 364 rval = ioctl(ctl_fd, AUDIO_SETINFO, (char *)&info); 409 rval = ioctl(ctl_f [all...] |
/freebsd-current/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | dataset.py | 29 import zfs.ioctl namespace 48 from zfs.ioctl.get_proptable, which should match the 72 for name, t in zfs.ioctl.get_proptable().iteritems(): 91 zfs.ioctl which actually interface with the kernel to manipulate 107 props is the property settings dict from zfs.ioctl.next_dataset. 128 props = zfs.ioctl.dataset_props(name) 163 zfs.ioctl.next_dataset(self.name, False, cookie) 179 d = zfs.ioctl.userspace_many(self.name, prop) 186 return zfs.ioctl.userspace_upgrade(self.name) 197 return zfs.ioctl [all...] |