| /linux/arch/sparc/include/uapi/asm/ |
| H A 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)
|
| /linux/arch/alpha/include/uapi/asm/ |
| H A 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)
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | zcrypt.h | 307 #define ICARSAMODEXPO _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x05, 0) 308 #define ICARSACRT _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x06, 0) 309 #define ZSECSENDCPRB _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x81, 0) 310 #define ZSENDEP11CPRB _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x04, 0) 312 #define ZCRYPT_DEVICE_STATUS _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x5f, 0) 354 #define ZDEVICESTATUS _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x4f, 0)
|
| /linux/include/uapi/linux/ |
| H A 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)
|
| H A D | soundcard.h | 95 #define _SIOC_WRITE _IOC_WRITE
|
| /linux/drivers/virt/vboxguest/ |
| H A 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)
|
| /linux/samples/hidraw/ |
| H A 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)
|
| /linux/arch/parisc/include/uapi/asm/ |
| H A D | ioctl.h | 40 #define _IOC_WRITE 2U macro
|
| /linux/arch/powerpc/include/uapi/asm/ |
| H A D | ioctl.h | 10 #define _IOC_WRITE 4U macro
|
| /linux/arch/mips/include/uapi/asm/ |
| H A D | ioctl.h | 24 #define _IOC_WRITE 4U macro
|
| /linux/include/uapi/sound/ |
| H A D | sb16_csp.h | 95 _IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode))
|
| /linux/fs/fuse/ |
| H A D | ioctl.c | 271 if (_IOC_DIR(cmd) & _IOC_WRITE) { in fuse_do_ioctl() 459 if (_IOC_DIR(cmd) & _IOC_WRITE) in fuse_priv_ioctl()
|
| /linux/tools/perf/trace/beauty/ |
| H A D | ioctl.c | 162 if (dir & _IOC_WRITE) { in ioctl__scnprintf_cmd()
|
| /linux/drivers/s390/char/ |
| H A D | uvdevice.c | 479 if (_IOC_DIR(cmd) != (_IOC_READ | _IOC_WRITE)) in uvio_copy_and_check_ioctl()
|
| /linux/drivers/android/binder/ |
| H A D | process.rs | 1645 use kernel::uapi::{_IOC_READ, _IOC_WRITE}; in ioctl() 1651 const _IOC_READ_WRITE: u32 = _IOC_READ | _IOC_WRITE; in ioctl() 1654 _IOC_WRITE => Self::ioctl_write_only(this, file, cmd, &mut user_slice.reader()), in ioctl()
|
| /linux/drivers/scsi/ |
| H A D | pmcraid.h | 1033 _IOC(_IOC_READ|_IOC_WRITE, PMCRAID_DRIVER_IOCTL, (n), (size))
|
| /linux/drivers/media/mc/ |
| H A D | mc-device.c | 385 if ((_IOC_DIR(cmd) & _IOC_WRITE) && in copy_arg_from_user()
|
| /linux/fs/nilfs2/ |
| H A D | ioctl.c | 83 if ((dir & _IOC_WRITE) && in nilfs_ioctl_wrap_copy()
|
| /linux/drivers/input/ |
| H A D | evdev.c | 1218 if (_IOC_DIR(cmd) == _IOC_WRITE) { in evdev_do_ioctl()
|
| /linux/security/smack/ |
| H A D | smack_lsm.c | 1749 if (_IOC_DIR(cmd) & _IOC_WRITE) { in smack_file_ioctl()
|