Home
last modified time | relevance | path

Searched refs:_IOC_WRITE (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v5.10/arch/sparc/include/uapi/asm/
Dioctl.h37 #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-v5.10/include/uapi/asm-generic/
Dioctl.h61 #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)
/Linux-v5.10/arch/alpha/include/uapi/asm/
Dioctl.h38 #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-v5.10/arch/s390/include/uapi/asm/
Dzcrypt.h308 #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)
/Linux-v5.10/include/uapi/linux/
Dhidraw.h40 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len)
41 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
Dvboxguest.h102 #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)
Dsoundcard.h95 #define _SIOC_WRITE _IOC_WRITE
/Linux-v5.10/drivers/virt/vboxguest/
Dvboxguest_core.h30 #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-v5.10/samples/hidraw/
Dhid-example.c24 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len)
25 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
/Linux-v5.10/arch/parisc/include/uapi/asm/
Dioctl.h40 #define _IOC_WRITE 2U macro
/Linux-v5.10/arch/mips/include/uapi/asm/
Dioctl.h24 #define _IOC_WRITE 4U macro
/Linux-v5.10/arch/powerpc/include/uapi/asm/
Dioctl.h10 #define _IOC_WRITE 4U macro
/Linux-v5.10/include/uapi/sound/
Dsb16_csp.h110 _IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode))
/Linux-v5.10/drivers/media/dvb-core/
Ddvbdev.c925 case _IOC_WRITE: in dvb_usercopy()
926 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy()
954 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy()
/Linux-v5.10/drivers/usb/class/
Dusblp.c82 #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)
565 if (_IOC_DIR(cmd) != _IOC_WRITE) { in usblp_ioctl()
586 if (_IOC_DIR(cmd) != _IOC_WRITE || in usblp_ioctl()
/Linux-v5.10/tools/perf/trace/beauty/
Dioctl.c162 if (dir & _IOC_WRITE) { in ioctl__scnprintf_cmd()
/Linux-v5.10/drivers/scsi/
Dpmcraid.h1055 _IOC(_IOC_READ|_IOC_WRITE, PMCRAID_DRIVER_IOCTL, (n), (size))
1058 _IOC(_IOC_READ|_IOC_WRITE, PMCRAID_PASSTHROUGH_IOCTL, (n), (size))
/Linux-v5.10/drivers/spi/
Dspidev.c329 || _IOC_DIR(cmd) != _IOC_WRITE) in spidev_get_ioc_message()
553 && _IOC_DIR(cmd) == _IOC_WRITE) in spidev_compat_ioctl()
/Linux-v5.10/drivers/staging/android/ion/
Dion.c484 if (!(_IOC_DIR(cmd) & _IOC_WRITE)) in ion_ioctl()
/Linux-v5.10/drivers/media/rc/
Dlirc_dev.c374 if (_IOC_DIR(cmd) & _IOC_WRITE) { in lirc_ioctl()
/Linux-v5.10/drivers/media/mc/
Dmc-device.c389 if ((_IOC_DIR(cmd) & _IOC_WRITE) && in copy_arg_from_user()
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-ioctl.c2909 case _IOC_WRITE: dir = "-w"; break; in v4l_printk_ioctl()
2910 case _IOC_READ | _IOC_WRITE: dir = "rw"; break; in v4l_printk_ioctl()
2988 write_only = _IOC_DIR(cmd) == _IOC_WRITE; in __video_do_ioctl()
3116 if (!(_IOC_DIR(cmd) & _IOC_WRITE)) { in video_get_user()
/Linux-v5.10/fs/nilfs2/
Dioctl.c84 if ((dir & _IOC_WRITE) && in nilfs_ioctl_wrap_copy()
/Linux-v5.10/drivers/input/
Devdev.c1220 if (_IOC_DIR(cmd) == _IOC_WRITE) { in evdev_do_ioctl()
/Linux-v5.10/drivers/video/fbdev/
Dfsl-diu-fb.c1282 _IOC_DIR(cmd) & _IOC_WRITE ? "W" : "", in fsl_diu_ioctl()

12