_IOC 50 fs/xfs/linux-2.6/xfs_ioctl32.c _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type)) _IOC 83 include/asm-generic/ioctl.h #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) _IOC 84 include/asm-generic/ioctl.h #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) _IOC 85 include/asm-generic/ioctl.h #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) _IOC 86 include/asm-generic/ioctl.h #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) _IOC 87 include/asm-generic/ioctl.h #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) _IOC 88 include/asm-generic/ioctl.h #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) _IOC 89 include/asm-generic/ioctl.h #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) _IOC 48 include/drm/drm.h #define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size) _IOC 63 include/drm/drm.h #define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size) _IOC 157 include/linux/hiddev.h #define HIDIOCGNAME(len) _IOC(_IOC_READ, 'H', 0x06, len) _IOC 169 include/linux/hiddev.h #define HIDIOCGPHYS(len) _IOC(_IOC_READ, 'H', 0x12, len) _IOC 65 include/linux/input.h #define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */ _IOC 66 include/linux/input.h #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */ _IOC 67 include/linux/input.h #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */ _IOC 69 include/linux/input.h #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global keystate */ _IOC 70 include/linux/input.h #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */ _IOC 71 include/linux/input.h #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */ _IOC 72 include/linux/input.h #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */ _IOC 74 include/linux/input.h #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + ev, len) /* get event bits */ _IOC 78 include/linux/input.h #define EVIOCSFF _IOC(_IOC_WRITE, 'E', 0x80, sizeof(struct ff_effect)) /* send a force effect to a force feedback device */ _IOC 62 include/linux/joystick.h #define JSIOCGNAME(len) _IOC(_IOC_READ, 'j', 0x13, len) /* get identifier string */