/prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/sys/ |
ioctl.h | 32 #include <linux/ioctl.h> 39 extern int ioctl(int, int, ...);
|
/prebuilts/ndk/current/platforms/android-9/arch-x86/usr/include/sys/ |
ioctl.h | 32 #include <linux/ioctl.h> 39 extern int ioctl(int, int, ...);
|
/system/connectivity/shill/shims/ |
nfqueue-seccomp-amd64.policy | 34 # ioctl: arg1 == SIOCGIFNAME || arg1 == SIOCGIFNETMASK 35 ioctl: arg1 == 0x8910 || arg1 == 0x891b
|
nfqueue-seccomp-x86.policy | 31 # ioctl: arg1 == SIOCGIFNAME || arg1 == SIOCGIFNETMASK 32 ioctl: arg1 == 0x8910 || arg1 == 0x891b
|
/system/core/toolbox/ |
sendevent.c | 8 #include <sys/ioctl.h> 28 if (ioctl(fd, EVIOCGVERSION, &version)) {
|
/system/sepolicy/ |
fsck.te | 9 allow fsck tmpfs:chr_file { read write ioctl }; 12 allow fsck devpts:chr_file { read write ioctl getattr };
|
mediaserver.te | 113 # only allow unprivileged socket ioctl commands 115 ioctl { unpriv_sock_ioctls unpriv_tty_ioctls }; 124 allow mediaserver preloads_data_file:file { getattr read ioctl }; 134 # do not allow privileged socket ioctl commands 135 neverallowxperm mediaserver domain:{ rawip_socket tcp_socket udp_socket } ioctl priv_sock_ioctls;
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
hci_uart.c | 178 ** Description helper function to set the open state of the bt_wake if ioctl 189 /* assert BT_WAKE through ioctl */ 190 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); 191 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); 329 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); 387 ** Description ioctl inteface 401 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); 406 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); 410 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data); 416 err = ioctl(vnd_userial.fd, TIOCMSET, p_data) [all...] |
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
hci_uart.c | 179 ** Description helper function to set the open state of the bt_wake if ioctl 190 /* assert BT_WAKE through ioctl */ 191 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); 192 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); 330 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); 387 ** Description ioctl inteface 401 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); 406 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); 410 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data); 416 err = ioctl(vnd_userial.fd, TIOCMSET, p_data) [all...] |
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
hci_uart.c | 181 ** Description helper function to set the open state of the bt_wake if ioctl 192 /* assert BT_WAKE through ioctl */ 193 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); 194 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); 332 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); 390 ** Description ioctl inteface 404 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); 409 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); 413 err = ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data); 419 err = ioctl(vnd_userial.fd, TIOCMSET, p_data) [all...] |
/hardware/qcom/msm8994/original-kernel-headers/linux/mmc/ |
ioctl.h | 70 * ioctl for rpmb read operation 78 * executed atomically in the ioctl for rpmb write operation 98 * This ioctl is meant for use with rpmb partitions. This is needed since the 105 * Since this ioctl is only meant to enhance (and not replace) normal access 107 * is enforced per ioctl call. For larger data transfers, use the normal
|
/hardware/qcom/msm8996/original-kernel-headers/linux/mmc/ |
ioctl.h | 70 * ioctl for rpmb read operation 78 * executed atomically in the ioctl for rpmb write operation 98 * This ioctl is meant for use with rpmb partitions. This is needed since the 105 * Since this ioctl is only meant to enhance (and not replace) normal access 107 * is enforced per ioctl call. For larger data transfers, use the normal
|
/hardware/ti/omap4xxx/ion/ |
ion.c | 23 #include <sys/ioctl.h> 49 int ret = ioctl(fd, req, arg); 51 ALOGE("ioctl %d failed with code %d: %s\n", req, 118 ALOGE("map ioctl returned negative fd\n"); 140 ALOGE("map ioctl returned negative fd\n");
|
/system/core/libion/ |
ion.c | 27 #include <sys/ioctl.h> 52 int ret = ioctl(fd, req, arg); 54 ALOGE("ioctl %x failed with code %d: %s\n", req, 108 ALOGE("map ioctl returned negative fd\n"); 135 ALOGE("share ioctl returned negative fd\n");
|
/system/update_engine/payload_consumer/ |
file_descriptor.cc | 21 #include <sys/ioctl.h> 88 // If the ioctl BLKZEROOUT is not defined, just fail to perform any of these 96 // of "undefined" data. The BLKDISCARDZEROES ioctl tells whether that's the 99 if (request == BLKZEROOUT && ioctl(fd_, BLKDISCARDZEROES, &arg) == 0 && arg) 116 *result = ioctl(fd_, request, range);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/drm/ |
drm.h | 42 #include <asm/ioctl.h> 124 * DRM_IOCTL_VERSION ioctl argument type. 141 * DRM_IOCTL_GET_UNIQUE ioctl argument type. 160 * DRM_IOCTL_CONTROL ioctl argument type. 224 * DRM_IOCTL_GET_CLIENT ioctl argument type. 232 unsigned long iocs; /**< Ioctl count */ 256 * DRM_IOCTL_GET_STATS ioctl argument type. 282 * DRM_IOCTL_LOCK, DRM_IOCTL_UNLOCK and DRM_IOCTL_FINISH ioctl argument type. 321 * DRM_IOCTL_ADD_BUFS and DRM_IOCTL_MARK_BUFS ioctl argument type. 344 * DRM_IOCTL_INFO_BUFS ioctl argument type [all...] |
/hardware/broadcom/libbt/src/ |
userial_vendor.c | 130 ** Description helper function to set the open state of the bt_wake if ioctl 145 if (ioctl(vnd_userial.fd, TIOCSETD, &ldisc) < 0) 154 /* assert BT_WAKE through ioctl */ 155 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); 156 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); 294 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); 330 ** Description ioctl inteface 342 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); 347 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_DEASSERT, NULL); 351 ioctl(vnd_userial.fd, USERIAL_IOCTL_BT_WAKE_GET_ST, p_data) [all...] |
/hardware/qcom/display/msm8909/libgralloc/ |
ionalloc.cpp | 32 #include <sys/ioctl.h> 89 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { 97 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { 101 ioctl(mIonFd, ION_IOC_FREE, &handle_data); 112 ioctl(mIonFd, ION_IOC_FREE, &handle_data); 119 ioctl(mIonFd, ION_IOC_FREE, &handle_data); 199 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { 228 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { 233 ioctl(mIonFd, ION_IOC_FREE, &handle_data); 236 ioctl(mIonFd, ION_IOC_FREE, &handle_data) [all...] |
/hardware/qcom/display/msm8994/libgralloc/ |
ionalloc.cpp | 32 #include <sys/ioctl.h> 95 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { 103 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { 107 ioctl(mIonFd, ION_IOC_FREE, &handle_data); 118 ioctl(mIonFd, ION_IOC_FREE, &handle_data); 125 ioctl(mIonFd, ION_IOC_FREE, &handle_data); 205 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { 234 if(ioctl(mIonFd, ION_IOC_CUSTOM, &d)) { 239 ioctl(mIonFd, ION_IOC_FREE, &handle_data); 242 ioctl(mIonFd, ION_IOC_FREE, &handle_data) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-dynload/ |
fcntl.so | |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/drm/ |
drm.h | 42 #include <asm/ioctl.h> 124 * DRM_IOCTL_VERSION ioctl argument type. 141 * DRM_IOCTL_GET_UNIQUE ioctl argument type. 160 * DRM_IOCTL_CONTROL ioctl argument type. 224 * DRM_IOCTL_GET_CLIENT ioctl argument type. 232 unsigned long iocs; /**< Ioctl count */ 256 * DRM_IOCTL_GET_STATS ioctl argument type. 282 * DRM_IOCTL_LOCK, DRM_IOCTL_UNLOCK and DRM_IOCTL_FINISH ioctl argument type. 321 * DRM_IOCTL_ADD_BUFS and DRM_IOCTL_MARK_BUFS ioctl argument type. 344 * DRM_IOCTL_INFO_BUFS ioctl argument type [all...] |
/external/gptfdisk/ |
diskio-unix.cc | 18 #include <sys/ioctl.h> 132 // Returns block size of device pointed to by fd file descriptor. If the ioctl 148 err = ioctl(fd, DKIOCGETBLOCKSIZE, &blockSize); 151 err = ioctl(fd, DKIOCGMEDIAINFO, &minfo); 156 err = ioctl(fd, DIOCGSECTORSIZE, &blockSize); 159 err = ioctl(fd, BLKSSZGET, &blockSize); 164 // ENOTTY = inappropriate ioctl; probably being called on a disk image 191 if (!ioctl(fd, HDIO_GETGEO, &geometry)) 209 if (!ioctl(fd, HDIO_GETGEO, &geometry)) 237 i = ioctl(fd, DKIOCFLUSHWRITECACHE) [all...] |
/external/ppp/pppd/ |
sys-solaris.c | 278 return (int)ioctl(fd, IF_UNITSEL, (char *)&ppa); 310 if (ioctl(fd, SIOCGLIFNUM, &lifn) < 0) { 332 if (ioctl(fd, SIOCGLIFCONF, &lifc) < 0) { 352 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) < 0) { 401 if (ioctl(fd, SIOCGIFNUM, (char *)&num_ifs) < 0) { 418 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) { 438 if (ioctl(fd, SIOCGIFFLAGS, &ifr) < 0) { 507 ret = ioctl(fd, SIOCGLIFFLAGS, &lifr); 516 ret = ioctl(fd, SIOCSLIFNAME, &lifr); 648 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) [all...] |
/external/tinycompress/ |
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(compress->fd, SNDRV_COMPRESS_AVAIL, &avail) [all...] |
/external/kernel-headers/original/uapi/mtd/ |
ubi-user.h | 30 * MTD devices may be attached using %UBI_IOCATT ioctl command of the UBI 33 * the request and return the newly created UBI device number as the ioctl 39 * An UBI device maybe deleted with %UBI_IOCDET ioctl command of the UBI 45 * UBI volumes are created via the %UBI_IOCMKVOL ioctl command of UBI character 47 * pointer to it has to be passed to the ioctl. 52 * To delete a volume, the %UBI_IOCRMVOL ioctl command of the UBI character 54 * to the ioctl. 59 * To re-size a volume, the %UBI_IOCRSVOL ioctl command of the UBI character 61 * filled and a pointer to it has to be passed to the ioctl. 68 * has to be properly filled and a pointer to it has to be passed to the ioctl [all...] |