/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_openbsd.c | 10 #include <sys/ioctl.h> 38 if (ioctl(drv->sock, SIOCG80211NWID, &ifr) < 0 || 53 if (ioctl(drv->sock, SIOCG80211BSSID, &id) < 0) 87 if (ioctl(drv->sock, SIOCS80211KEYAVAIL, &keyavail) < 0)
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_openbsd.c | 10 #include <sys/ioctl.h> 38 if (ioctl(drv->sock, SIOCG80211NWID, &ifr) < 0 || 53 if (ioctl(drv->sock, SIOCG80211BSSID, &id) < 0) 87 if (ioctl(drv->sock, SIOCS80211KEYAVAIL, &keyavail) < 0)
|
/external/fio/os/ |
H A D | os-android.h | 6 #include <sys/ioctl.h> 75 int length = ioctl(__shmid, ASHMEM_GET_SIZE, NULL); 77 ret = ioctl(__shmid, ASHMEM_UNPIN, &pin); 93 ret = ioctl(fd, ASHMEM_SET_NAME, key); 97 ret = ioctl(fd, ASHMEM_SET_SIZE, __size); 110 size_t *ptr, size = ioctl(__shmid, ASHMEM_GET_SIZE, NULL); 169 return ioctl(f->fd, BLKFLSBUF); 174 if (!ioctl(f->fd, BLKGETSIZE64, bytes)) 262 if (!ioctl(fd, BLKDISCARD, range))
|
H A D | os-hpux.h | 8 #include <sys/ioctl.h> 54 if (!ioctl(f->fd, DIOC_DESCRIBE_EXT, &dext)) {
|
/external/android-clat/ |
H A D | tun.c | 24 #include <sys/ioctl.h> 59 if( (err = ioctl(fd, TUNSETIFF, (void *) &ifr)) < 0 ){
|
/external/e2fsprogs/lib/e2p/ |
H A D | fgetflags.c | 32 #include <sys/ioctl.h> 78 r = ioctl (fd, EXT2_IOC_GETFLAGS, &f);
|
H A D | fsetflags.c | 32 #include <sys/ioctl.h> 85 r = ioctl (fd, EXT2_IOC_SETFLAGS, &f);
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
H A D | i915_drm_winsys.c | 2 #include <sys/ioctl.h> 27 ret = ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp, sizeof(gp));
|
/external/toybox/toys/other/ |
H A D | eject.c | 53 ioctl(fd, BLKRRPART); 71 int rc = ioctl(fd, 0x5326, &out); // CDROM_DRIVE_STATUS
|
H A D | losetup.c | 78 if (0 <= (i = ioctl(cfd, 0x4C82))) // LOOP_CTL_GET_FREE 88 if (-1 == lfd || ioctl(lfd, LOOP_GET_STATUS64, loop)) { 103 if (ioctl(lfd, (flags & FLAG_c) ? 0x4C07 : LOOP_CLR_FD, 0)) { 112 if (ioctl(lfd, LOOP_SET_FD, ffd)) perror_exit("%s=%s", device, file); 117 if (ioctl(lfd, LOOP_SET_STATUS64, loop)) perror_exit("%s=%s", device, file);
|
/external/tinyalsa/ |
H A D | mixer.c | 37 #include <sys/ioctl.h> 39 #include <linux/ioctl.h> 107 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0) 119 if (ioctl(fd, SNDRV_CTL_IOCTL_CARD_INFO, &mixer->card_info) < 0) 130 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0) 136 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_INFO, ei) < 0) 149 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_INFO, &tmp) < 0) 209 ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_INFO, ctl->info); 310 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); 347 ret = ioctl(ct [all...] |
/external/iproute2/ip/ |
H A D | tunnel.c | 32 #include <sys/ioctl.h> 75 err = ioctl(fd, SIOCGETTUNNEL, &ifr); 96 err = ioctl(fd, cmd, &ifr); 117 err = ioctl(fd, SIOCDELTUNNEL, &ifr); 135 err = ioctl(fd, cmd, &ifr); 137 fprintf(stderr, "%s: ioctl %x failed: %s\n", name,
|
H A D | iptuntap.c | 20 #include <sys/ioctl.h> 62 if (ioctl(fd, TUNSETIFF, ifr)) { 63 perror("ioctl(TUNSETIFF)"); 66 if (uid != -1 && ioctl(fd, TUNSETOWNER, uid)) { 67 perror("ioctl(TUNSETOWNER)"); 70 if (gid != -1 && ioctl(fd, TUNSETGROUP, gid)) { 71 perror("ioctl(TUNSETGROUP)"); 74 if (ioctl(fd, TUNSETPERSIST, 1)) { 75 perror("ioctl(TUNSETPERSIST)"); 93 if (ioctl(f [all...] |
/external/libpcap/ |
H A D | pcap-snit.c | 41 #include <sys/ioctl.h> 254 if (ioctl(p->fd, I_STR, (char *)&si) < 0) { 267 if (ioctl(p->fd, I_STR, (char *)&si) < 0) { 279 if (ioctl(p->fd, I_STR, (char *)&si) < 0) { 290 struct strioctl si; /* struct for ioctl() */ 334 if (ioctl(fd, I_SRDOPT, (char *)RMSGD) < 0) { 339 if (ioctl(fd, I_PUSH, "nbuf") < 0) { 349 if (ioctl(fd, I_STR, (char *)&si) < 0) { 361 if (ioctl(fd, I_STR, (char *)&si) < 0) { 371 if (ioctl(f [all...] |
H A D | fad-glifc.c | 46 #include <sys/ioctl.h> 127 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { 156 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { 216 if (ioctl(fd, SIOCGLIFFLAGS, (char *)&ifrflags) < 0) { 237 if (ioctl(fd, SIOCGLIFNETMASK, (char *)&ifrnetmask) < 0) { 264 if (ioctl(fd, SIOCGLIFBRDADDR, 299 if (ioctl(fd, SIOCGLIFDSTADDR,
|
/external/tinycompress/ |
H A D | compress.c | 64 #include <sys/ioctl.h> 70 #include <linux/ioctl.h> 135 if (ioctl(compress->fd, SNDRV_COMPRESS_IOCTL_VERSION, &version)) { 191 if (ioctl(fd, SNDRV_COMPRESS_GET_CAPS, &caps)) { 260 if (ioctl(compress->fd, SNDRV_COMPRESS_GET_CAPS, &caps)) { 284 if (ioctl(compress->fd, SNDRV_COMPRESS_SET_PARAMS, ¶ms)) { 323 if (ioctl(compress->fd, SNDRV_COMPRESS_AVAIL, &kavail)) 343 if (ioctl(compress->fd, SNDRV_COMPRESS_TSTAMP, &ktstamp)) 369 if (ioctl(compress->fd, SNDRV_COMPRESS_AVAIL, &avail)) 430 if (ioctl(compres [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | getsize.c | 27 #include <sys/ioctl.h> 153 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &size64) >= 0) { 171 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { 182 if (ioctl(fd, BLKGETSIZE, &size) >= 0) { 193 if (ioctl(fd, FDGETPRM, &this_floppy) >= 0) { 211 if (ioctl(fd, DIOCGMEDIASIZE, &ms) >= 0) { 228 if (part >= 0 && (ioctl(fd, DIOCGDINFO, (char *)&lab) >= 0)) { 250 * OK, we couldn't figure it out by using a specialized ioctl,
|
/external/f2fs-tools/tools/ |
H A D | fibmap.c | 9 #include <sys/ioctl.h> 69 if (ioctl(fd, HDIO_GETGEO, &geom) < 0) 130 if (ioctl(fd, FIBMAP, &blknum) < 0) { 132 perror("ioctl(FIBMAP)"); 143 if (ioctl(fd, FIBMAP, &blknum) < 0) { 145 perror("ioctl(FIBMAP)");
|
/external/gptfdisk/ |
H A D | diskio.cc | 26 #include <sys/ioctl.h>
|
H A D | diskio.h | 25 #include <sys/ioctl.h>
|
/external/kernel-headers/original/uapi/linux/ |
H A D | android_alarm.h | 19 #include <linux/ioctl.h>
|
H A D | auto_fs.h | 19 #include <sys/ioctl.h> 32 * back to the kernel via ioctl from userspace. On architectures where 32- and 59 /* v3 expire (via ioctl) */
|
H A D | cm4000_cs.h | 5 #include <linux/ioctl.h> 11 /* those two structures are passed via ioctl() from/to userspace. They are
|
H A D | ion.h | 20 #include <linux/ioctl.h> 84 * Provided by userspace as an argument to the ioctl 118 * struct ion_custom_data - metadata passed to/from userspace for a custom ioctl 119 * @cmd: the custom ioctl function to call 120 * @arg: additional data to pass to the custom ioctl, typically a user 123 * This works just like the regular cmd and arg fields of an ioctl. 189 * DOC: ION_IOC_CUSTOM - call architecture specific ion ioctl 191 * Takes the argument of the architecture specific ioctl to call and 192 * passes appropriate userdata for that ioctl
|
H A D | matroxfb.h | 4 #include <asm/ioctl.h>
|