_IOC_WRITE 50 arch/alpha/include/uapi/asm/ioctl.h #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) _IOC_WRITE 51 arch/alpha/include/uapi/asm/ioctl.h #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) _IOC_WRITE 61 arch/alpha/include/uapi/asm/ioctl.h #define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) _IOC_WRITE 63 arch/alpha/include/uapi/asm/ioctl.h #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT) _IOC_WRITE 306 arch/s390/include/uapi/asm/zcrypt.h #define ICARSAMODEXPO _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x05, 0) _IOC_WRITE 307 arch/s390/include/uapi/asm/zcrypt.h #define ICARSACRT _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x06, 0) _IOC_WRITE 308 arch/s390/include/uapi/asm/zcrypt.h #define ZSECSENDCPRB _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x81, 0) _IOC_WRITE 309 arch/s390/include/uapi/asm/zcrypt.h #define ZSENDEP11CPRB _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x04, 0) _IOC_WRITE 311 arch/s390/include/uapi/asm/zcrypt.h #define ZCRYPT_DEVICE_STATUS _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x5f, 0) _IOC_WRITE 353 arch/s390/include/uapi/asm/zcrypt.h #define ZDEVICESTATUS _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x4f, 0) _IOC_WRITE 47 arch/sparc/include/uapi/asm/ioctl.h #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) _IOC_WRITE 48 arch/sparc/include/uapi/asm/ioctl.h #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) _IOC_WRITE 52 arch/sparc/include/uapi/asm/ioctl.h ( (((((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) & (_IOC_WRITE|_IOC_READ)) != 0)? \ _IOC_WRITE 53 arch/sparc/include/uapi/asm/ioctl.h (((nr) >> _IOC_DIRSHIFT) & (_IOC_WRITE|_IOC_READ)): \ _IOC_WRITE 58 arch/sparc/include/uapi/asm/ioctl.h ((((((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) & (_IOC_WRITE|_IOC_READ)) == 0)? \ _IOC_WRITE 62 arch/sparc/include/uapi/asm/ioctl.h #define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) _IOC_WRITE 64 arch/sparc/include/uapi/asm/ioctl.h #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT) _IOC_WRITE 3450 drivers/block/floppy.c if (_IOC_DIR(cmd) & _IOC_WRITE) { _IOC_WRITE 1445 drivers/char/pcmcia/cm4000_cs.c _IOC_DIR(cmd), _IOC_READ, _IOC_WRITE, size, cmd); _IOC_WRITE 1451 drivers/char/pcmcia/cm4000_cs.c if (_IOC_DIR(cmd) & _IOC_WRITE) { _IOC_WRITE 1628 drivers/firewire/core-cdev.c if (_IOC_DIR(cmd) & _IOC_WRITE) _IOC_WRITE 1219 drivers/input/evdev.c if (_IOC_DIR(cmd) == _IOC_WRITE) { _IOC_WRITE 924 drivers/media/dvb-core/dvbdev.c case _IOC_WRITE: _IOC_WRITE 925 drivers/media/dvb-core/dvbdev.c case (_IOC_WRITE | _IOC_READ): _IOC_WRITE 953 drivers/media/dvb-core/dvbdev.c case (_IOC_WRITE | _IOC_READ): _IOC_WRITE 388 drivers/media/mc/mc-device.c if ((_IOC_DIR(cmd) & _IOC_WRITE) && _IOC_WRITE 382 drivers/media/rc/lirc_dev.c if (_IOC_DIR(cmd) & _IOC_WRITE) { _IOC_WRITE 2832 drivers/media/v4l2-core/v4l2-ioctl.c case _IOC_WRITE: dir = "-w"; break; _IOC_WRITE 2833 drivers/media/v4l2-core/v4l2-ioctl.c case _IOC_READ | _IOC_WRITE: dir = "rw"; break; _IOC_WRITE 2911 drivers/media/v4l2-core/v4l2-ioctl.c write_only = _IOC_DIR(cmd) == _IOC_WRITE; _IOC_WRITE 3042 drivers/media/v4l2-core/v4l2-ioctl.c if (_IOC_DIR(cmd) & _IOC_WRITE) { _IOC_WRITE 3125 drivers/media/v4l2-core/v4l2-ioctl.c case (_IOC_WRITE | _IOC_READ): _IOC_WRITE 1055 drivers/scsi/pmcraid.h _IOC(_IOC_READ|_IOC_WRITE, PMCRAID_DRIVER_IOCTL, (n), (size)) _IOC_WRITE 1058 drivers/scsi/pmcraid.h _IOC(_IOC_READ|_IOC_WRITE, PMCRAID_PASSTHROUGH_IOCTL, (n), (size)) _IOC_WRITE 321 drivers/spi/spidev.c || _IOC_DIR(cmd) != _IOC_WRITE) _IOC_WRITE 544 drivers/spi/spidev.c && _IOC_DIR(cmd) == _IOC_WRITE) _IOC_WRITE 501 drivers/staging/android/ion/ion.c if (!(_IOC_DIR(cmd) & _IOC_WRITE)) _IOC_WRITE 82 drivers/usb/class/usblp.c #define LPIOC_SET_PROTOCOL _IOC(_IOC_WRITE, 'P', IOCNR_SET_PROTOCOL, 0) _IOC_WRITE 84 drivers/usb/class/usblp.c #define LPIOC_HP_SET_CHANNEL _IOC(_IOC_WRITE, 'P', IOCNR_HP_SET_CHANNEL, 0) _IOC_WRITE 564 drivers/usb/class/usblp.c if (_IOC_DIR(cmd) != _IOC_WRITE) { _IOC_WRITE 585 drivers/usb/class/usblp.c if (_IOC_DIR(cmd) != _IOC_WRITE || _IOC_WRITE 2225 drivers/usb/core/devio.c if ((_IOC_DIR(ctl->ioctl_code) & _IOC_WRITE)) { _IOC_WRITE 1282 drivers/video/fbdev/fsl-diu-fb.c _IOC_DIR(cmd) & _IOC_WRITE ? "W" : "", _IOC_WRITE 2764 fs/fuse/file.c if (_IOC_DIR(cmd) & _IOC_WRITE) { _IOC_WRITE 84 fs/nilfs2/ioctl.c if ((dir & _IOC_WRITE) && _IOC_WRITE 61 include/uapi/asm-generic/ioctl.h #ifndef _IOC_WRITE _IOC_WRITE 87 include/uapi/asm-generic/ioctl.h #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) _IOC_WRITE 88 include/uapi/asm-generic/ioctl.h #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) _IOC_WRITE 90 include/uapi/asm-generic/ioctl.h #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) _IOC_WRITE 91 include/uapi/asm-generic/ioctl.h #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) _IOC_WRITE 101 include/uapi/asm-generic/ioctl.h #define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) _IOC_WRITE 103 include/uapi/asm-generic/ioctl.h #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT) _IOC_WRITE 40 include/uapi/linux/hidraw.h #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) _IOC_WRITE 41 include/uapi/linux/hidraw.h #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len) _IOC_WRITE 95 include/uapi/linux/soundcard.h #define _SIOC_WRITE _IOC_WRITE _IOC_WRITE 102 include/uapi/linux/vboxguest.h #define VBG_IOCTL_VMMDEV_REQUEST(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 2, s) _IOC_WRITE 106 include/uapi/linux/vboxguest.h #define VBG_IOCTL_VMMDEV_REQUEST_BIG _IOC(_IOC_READ | _IOC_WRITE, 'V', 3, 0) _IOC_WRITE 176 include/uapi/linux/vboxguest.h #define VBG_IOCTL_HGCM_CALL_32(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 6, s) _IOC_WRITE 177 include/uapi/linux/vboxguest.h #define VBG_IOCTL_HGCM_CALL_64(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 7, s) _IOC_WRITE 201 include/uapi/linux/vboxguest.h #define VBG_IOCTL_LOG(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 9, s) _IOC_WRITE 110 include/uapi/sound/sb16_csp.h _IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode)) _IOC_WRITE 24 samples/hidraw/hid-example.c #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) _IOC_WRITE 25 samples/hidraw/hid-example.c #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len) _IOC_WRITE 1564 security/smack/smack_lsm.c if (_IOC_DIR(cmd) & _IOC_WRITE) { _IOC_WRITE 162 tools/perf/trace/beauty/ioctl.c if (dir & _IOC_WRITE) {