/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
D | ioctl.h | 37 #define _IOC_WRITE 4U macro 47 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 48 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) 52 ( (((((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) & (_IOC_WRITE|_IOC_READ)) != 0)? \ 53 (((nr) >> _IOC_DIRSHIFT) & (_IOC_WRITE|_IOC_READ)): \ 58 ((((((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) & (_IOC_WRITE|_IOC_READ)) == 0)? \ 62 #define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) 64 #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT)
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
D | ioctl.h | 27 #ifndef _IOC_WRITE 28 # define _IOC_WRITE 1U macro 43 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 44 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 46 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 47 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) 52 #define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) 54 #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT)
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | ioctl.h | 61 #ifndef _IOC_WRITE 62 # define _IOC_WRITE 1U macro 87 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 88 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 90 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 91 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) 101 #define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) 103 #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT)
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | ioctl.h | 40 #ifndef _IOC_WRITE 41 #define _IOC_WRITE 1U macro 50 #define _IOW(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) 51 #define _IOWR(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) 53 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) 54 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size)) 59 #define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) 61 #define IOC_INOUT ((_IOC_WRITE | _IOC_READ) << _IOC_DIRSHIFT)
|
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/ |
D | ioctl.h | 38 #define _IOC_WRITE 4U macro 50 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 51 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) 61 #define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) 63 #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT)
|
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/ |
D | zcrypt.h | 308 #define ICARSAMODEXPO _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x05, 0) 309 #define ICARSACRT _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x06, 0) 310 #define ZSECSENDCPRB _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x81, 0) 311 #define ZSENDEP11CPRB _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x04, 0) 313 #define ZCRYPT_DEVICE_STATUS _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x5f, 0) 355 #define ZDEVICESTATUS _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x4f, 0)
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | ioctl.h | 112 #define _IOC_WRITE 1U macro 116 #define _IOW(a, b, c) _IOC(_IOC_WRITE, (a), (b), sizeof(c)) 118 #define _IOWR(a, b, c) _IOC(_IOC_READ | _IOC_WRITE, (a), (b), sizeof(c))
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | hidraw.h | 24 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) 25 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
|
D | vboxguest.h | 61 #define VBG_IOCTL_VMMDEV_REQUEST(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 2, s) 106 #define VBG_IOCTL_HGCM_CALL_32(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 6, s) 107 #define VBG_IOCTL_HGCM_CALL_64(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 7, s)
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | hidraw.h | 37 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x06, len) 38 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x07, len)
|
D | vboxguest.h | 55 #define VBG_IOCTL_VMMDEV_REQUEST(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 2, s) 87 #define VBG_IOCTL_HGCM_CALL_32(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 6, s) 88 #define VBG_IOCTL_HGCM_CALL_64(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 7, s)
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | hidraw.h | 40 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) 41 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
|
D | vboxguest.h | 102 #define VBG_IOCTL_VMMDEV_REQUEST(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 2, s) 176 #define VBG_IOCTL_HGCM_CALL_32(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 6, s) 177 #define VBG_IOCTL_HGCM_CALL_64(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 7, s)
|
/kernel/linux/linux-5.10/drivers/virt/vboxguest/ |
D | vboxguest_core.h | 30 #define VBG_IOCTL_VMMDEV_REQUEST_BIG_ALT _IOC(_IOC_READ | _IOC_WRITE, 'V', 3, 0) 31 #define VBG_IOCTL_LOG_ALT(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 9, s)
|
/kernel/linux/linux-5.10/samples/hidraw/ |
D | hid-example.c | 24 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) 25 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
D | ioctl.h | 40 #define _IOC_WRITE 2U macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
D | ioctl.h | 25 #define _IOC_WRITE 4U macro
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
D | ioctl.h | 10 #define _IOC_WRITE 4U macro
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | ioctl.h | 24 #define _IOC_WRITE 4U macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/ |
D | sb16_csp.h | 70 #define SNDRV_SB_CSP_IOCTL_LOAD_CODE _IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode…
|
/kernel/linux/linux-5.10/include/uapi/sound/ |
D | sb16_csp.h | 110 _IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode))
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/ |
D | sb16_csp.h | 58 _IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode))
|
/kernel/linux/linux-5.10/drivers/usb/class/ |
D | usblp.c | 82 #define LPIOC_SET_PROTOCOL _IOC(_IOC_WRITE, 'P', IOCNR_SET_PROTOCOL, 0) 84 #define LPIOC_HP_SET_CHANNEL _IOC(_IOC_WRITE, 'P', IOCNR_HP_SET_CHANNEL, 0) 590 if (_IOC_DIR(cmd) != _IOC_WRITE) { in usblp_ioctl() 611 if (_IOC_DIR(cmd) != _IOC_WRITE || in usblp_ioctl()
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
D | ioctl.c | 162 if (dir & _IOC_WRITE) { in ioctl__scnprintf_cmd()
|
/kernel/linux/linux-5.10/drivers/media/dvb-core/ |
D | dvbdev.c | 985 case _IOC_WRITE: in dvb_usercopy() 986 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy() 1014 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy()
|