Symbol: _IOC
arch/alpha/include/uapi/asm/ioctl.h
48
#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
arch/alpha/include/uapi/asm/ioctl.h
49
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
arch/alpha/include/uapi/asm/ioctl.h
50
#define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
arch/alpha/include/uapi/asm/ioctl.h
51
#define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
arch/s390/include/uapi/asm/zcrypt.h
307
#define ICARSAMODEXPO _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x05, 0)
arch/s390/include/uapi/asm/zcrypt.h
308
#define ICARSACRT _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x06, 0)
arch/s390/include/uapi/asm/zcrypt.h
309
#define ZSECSENDCPRB _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x81, 0)
arch/s390/include/uapi/asm/zcrypt.h
310
#define ZSENDEP11CPRB _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x04, 0)
arch/s390/include/uapi/asm/zcrypt.h
312
#define ZCRYPT_DEVICE_STATUS _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x5f, 0)
arch/s390/include/uapi/asm/zcrypt.h
354
#define ZDEVICESTATUS _IOC(_IOC_READ | _IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x4f, 0)
arch/sparc/include/uapi/asm/ioctl.h
45
#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
arch/sparc/include/uapi/asm/ioctl.h
46
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
arch/sparc/include/uapi/asm/ioctl.h
47
#define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
arch/sparc/include/uapi/asm/ioctl.h
48
#define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
drivers/pps/pps.c
260
cmd = _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(void *));
drivers/scsi/pmcraid.h
1033
_IOC(_IOC_READ|_IOC_WRITE, PMCRAID_DRIVER_IOCTL, (n), (size))
drivers/usb/class/usblp.c
68
#define LPIOC_GET_DEVICE_ID(len) _IOC(_IOC_READ, 'P', IOCNR_GET_DEVICE_ID, len)
drivers/usb/class/usblp.c
77
#define LPIOC_GET_PROTOCOLS(len) _IOC(_IOC_READ, 'P', IOCNR_GET_PROTOCOLS, len)
drivers/usb/class/usblp.c
83
#define LPIOC_SET_PROTOCOL _IOC(_IOC_WRITE, 'P', IOCNR_SET_PROTOCOL, 0)
drivers/usb/class/usblp.c
85
#define LPIOC_HP_SET_CHANNEL _IOC(_IOC_WRITE, 'P', IOCNR_HP_SET_CHANNEL, 0)
drivers/usb/class/usblp.c
87
#define LPIOC_GET_BUS_ADDRESS(len) _IOC(_IOC_READ, 'P', IOCNR_GET_BUS_ADDRESS, len)
drivers/usb/class/usblp.c
89
#define LPIOC_GET_VID_PID(len) _IOC(_IOC_READ, 'P', IOCNR_GET_VID_PID, len)
drivers/usb/class/usblp.c
91
#define LPIOC_SOFT_RESET _IOC(_IOC_NONE, 'P', IOCNR_SOFT_RESET, 0)
drivers/virt/vboxguest/vboxguest_core.h
30
#define VBG_IOCTL_VMMDEV_REQUEST_BIG_ALT _IOC(_IOC_READ | _IOC_WRITE, 'V', 3, 0)
drivers/virt/vboxguest/vboxguest_core.h
31
#define VBG_IOCTL_LOG_ALT(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 9, s)
fs/xfs/xfs_ioctl32.c
30
_IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type))
include/uapi/asm-generic/ioctl.h
85
#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
include/uapi/asm-generic/ioctl.h
86
#define _IOR(type,nr,argtype) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(argtype)))
include/uapi/asm-generic/ioctl.h
87
#define _IOW(type,nr,argtype) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(argtype)))
include/uapi/asm-generic/ioctl.h
88
#define _IOWR(type,nr,argtype) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(argtype)))
include/uapi/asm-generic/ioctl.h
89
#define _IOR_BAD(type,nr,argtype) _IOC(_IOC_READ,(type),(nr),sizeof(argtype))
include/uapi/asm-generic/ioctl.h
90
#define _IOW_BAD(type,nr,argtype) _IOC(_IOC_WRITE,(type),(nr),sizeof(argtype))
include/uapi/asm-generic/ioctl.h
91
#define _IOWR_BAD(type,nr,argtype) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(argtype))
include/uapi/linux/hiddev.h
160
#define HIDIOCGNAME(len) _IOC(_IOC_READ, 'H', 0x06, len)
include/uapi/linux/hiddev.h
172
#define HIDIOCGPHYS(len) _IOC(_IOC_READ, 'H', 0x12, len)
include/uapi/linux/hidraw.h
37
#define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len)
include/uapi/linux/hidraw.h
38
#define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len)
include/uapi/linux/hidraw.h
40
#define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len)
include/uapi/linux/hidraw.h
41
#define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
include/uapi/linux/hidraw.h
42
#define HIDIOCGRAWUNIQ(len) _IOC(_IOC_READ, 'H', 0x08, len)
include/uapi/linux/hidraw.h
44
#define HIDIOCSINPUT(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x09, len)
include/uapi/linux/hidraw.h
45
#define HIDIOCGINPUT(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x0A, len)
include/uapi/linux/hidraw.h
47
#define HIDIOCSOUTPUT(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x0B, len)
include/uapi/linux/hidraw.h
48
#define HIDIOCGOUTPUT(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x0C, len)
include/uapi/linux/input.h
142
#define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */
include/uapi/linux/input.h
143
#define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */
include/uapi/linux/input.h
144
#define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */
include/uapi/linux/input.h
145
#define EVIOCGPROP(len) _IOC(_IOC_READ, 'E', 0x09, len) /* get device properties */
include/uapi/linux/input.h
171
#define EVIOCGMTSLOTS(len) _IOC(_IOC_READ, 'E', 0x0a, len)
include/uapi/linux/input.h
173
#define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global key state */
include/uapi/linux/input.h
174
#define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */
include/uapi/linux/input.h
175
#define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */
include/uapi/linux/input.h
176
#define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */
include/uapi/linux/input.h
178
#define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */
include/uapi/linux/joystick.h
59
#define JSIOCGNAME(len) _IOC(_IOC_READ, 'j', 0x13, len) /* get identifier string */
include/uapi/linux/uinput.h
161
#define UI_GET_SYSNAME(len) _IOC(_IOC_READ, UINPUT_IOCTL_BASE, 44, len)
include/uapi/linux/usbdevice_fs.h
226
#define USBDEVFS_CONNINFO_EX(len) _IOC(_IOC_READ, 'U', 32, len)
include/uapi/linux/vboxguest.h
102
#define VBG_IOCTL_VMMDEV_REQUEST(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 2, s)
include/uapi/linux/vboxguest.h
176
#define VBG_IOCTL_HGCM_CALL_32(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 6, s)
include/uapi/linux/vboxguest.h
177
#define VBG_IOCTL_HGCM_CALL_64(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 7, s)
include/uapi/sound/sb16_csp.h
95
_IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode))
include/uapi/xen/evtchn.h
108
_IOC(_IOC_NONE, 'E', 7, sizeof(struct ioctl_evtchn_bind))
include/uapi/xen/evtchn.h
42
_IOC(_IOC_NONE, 'E', 0, sizeof(struct ioctl_evtchn_bind_virq))
include/uapi/xen/evtchn.h
52
_IOC(_IOC_NONE, 'E', 1, sizeof(struct ioctl_evtchn_bind_interdomain))
include/uapi/xen/evtchn.h
62
_IOC(_IOC_NONE, 'E', 2, sizeof(struct ioctl_evtchn_bind_unbound_port))
include/uapi/xen/evtchn.h
71
_IOC(_IOC_NONE, 'E', 3, sizeof(struct ioctl_evtchn_unbind))
include/uapi/xen/evtchn.h
80
_IOC(_IOC_NONE, 'E', 4, sizeof(struct ioctl_evtchn_notify))
include/uapi/xen/evtchn.h
87
_IOC(_IOC_NONE, 'E', 5, 0)
include/uapi/xen/evtchn.h
99
_IOC(_IOC_NONE, 'E', 6, sizeof(struct ioctl_evtchn_restrict_domid))
include/uapi/xen/gntalloc.h
20
_IOC(_IOC_NONE, 'G', 5, sizeof(struct ioctl_gntalloc_alloc_gref))
include/uapi/xen/gntalloc.h
47
_IOC(_IOC_NONE, 'G', 6, sizeof(struct ioctl_gntalloc_dealloc_gref))
include/uapi/xen/gntalloc.h
67
_IOC(_IOC_NONE, 'G', 7, sizeof(struct ioctl_gntalloc_unmap_notify))
include/uapi/xen/gntdev.h
102
_IOC(_IOC_NONE, 'G', 2, sizeof(struct ioctl_gntdev_get_offset_for_vaddr))
include/uapi/xen/gntdev.h
122
_IOC(_IOC_NONE, 'G', 3, sizeof(struct ioctl_gntdev_set_max_grants))
include/uapi/xen/gntdev.h
140
_IOC(_IOC_NONE, 'G', 7, sizeof(struct ioctl_gntdev_unmap_notify))
include/uapi/xen/gntdev.h
199
_IOC(_IOC_NONE, 'G', 8, sizeof(struct ioctl_gntdev_grant_copy))
include/uapi/xen/gntdev.h
241
_IOC(_IOC_NONE, 'G', 9, \
include/uapi/xen/gntdev.h
271
_IOC(_IOC_NONE, 'G', 10, \
include/uapi/xen/gntdev.h
284
_IOC(_IOC_NONE, 'G', 11, \
include/uapi/xen/gntdev.h
307
_IOC(_IOC_NONE, 'G', 12, \
include/uapi/xen/gntdev.h
59
_IOC(_IOC_NONE, 'G', 0, sizeof(struct ioctl_gntdev_map_grant_ref))
include/uapi/xen/gntdev.h
79
_IOC(_IOC_NONE, 'G', 1, sizeof(struct ioctl_gntdev_unmap_grant_ref))
include/uapi/xen/privcmd.h
148
_IOC(_IOC_NONE, 'P', 0, sizeof(struct privcmd_hypercall))
include/uapi/xen/privcmd.h
150
_IOC(_IOC_NONE, 'P', 2, sizeof(struct privcmd_mmap))
include/uapi/xen/privcmd.h
152
_IOC(_IOC_NONE, 'P', 3, sizeof(struct privcmd_mmapbatch))
include/uapi/xen/privcmd.h
154
_IOC(_IOC_NONE, 'P', 4, sizeof(struct privcmd_mmapbatch_v2))
include/uapi/xen/privcmd.h
156
_IOC(_IOC_NONE, 'P', 5, sizeof(struct privcmd_dm_op))
include/uapi/xen/privcmd.h
158
_IOC(_IOC_NONE, 'P', 6, sizeof(domid_t))
include/uapi/xen/privcmd.h
160
_IOC(_IOC_NONE, 'P', 7, sizeof(struct privcmd_mmap_resource))
include/uapi/xen/privcmd.h
166
_IOC(_IOC_NONE, 'P', 10, sizeof(struct privcmd_pcidev_get_gsi))
include/xen/xenbus_dev.h
37
_IOC(_IOC_NONE, 'B', 0, 0)
include/xen/xenbus_dev.h
40
_IOC(_IOC_NONE, 'B', 1, 0)
samples/hidraw/hid-example.c
24
#define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len)
samples/hidraw/hid-example.c
25
#define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
tools/perf/trace/beauty/include/uapi/linux/usbdevice_fs.h
226
#define USBDEVFS_CONNINFO_EX(len) _IOC(_IOC_READ, 'U', 32, len)
tools/testing/selftests/hid/hidraw.c
347
bad_cmd = _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x00, sizeof(buf)); /* 0 is not valid */
tools/testing/selftests/hid/hidraw.c
358
bad_cmd = _IOC(_IOC_READ, 'H', 0x00, sizeof(buf)); /* 0 is not valid */
tools/testing/selftests/hid/hidraw.c
367
bad_cmd = _IOC(_IOC_READ, 'H', 0x42, sizeof(buf)); /* 0x42 is not valid as well */
tools/testing/selftests/hid/hidraw.c
375
bad_cmd = _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x42, sizeof(buf));
tools/testing/selftests/hid/hidraw.c
395
bad_cmd = _IOC(_IOC_WRITE|_IOC_READ, 'I', 0x01, sizeof(buf)); /* 'I' should be 'H' */
tools/testing/selftests/hid/hidraw.c
419
bad_cmd = _IOC(_IOC_WRITE, 'H', 0x07, sizeof(buf)); /* should be _IOC_WRITE|_IOC_READ */
tools/testing/selftests/hid/hidraw.c
427
bad_cmd = _IOC(_IOC_READ, 'H', 0x07, sizeof(buf)); /* should be _IOC_WRITE|_IOC_READ */
tools/testing/selftests/hid/hidraw.c
447
bad_cmd = _IOC(_IOC_WRITE, 'H', 0x04, sizeof(buf)); /* should be _IOC_READ */
tools/testing/selftests/hid/hidraw.c
455
bad_cmd = _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x04, sizeof(buf)); /* should be only _IOC_READ */