_IOC_TYPESHIFT 2754 fs/compat_ioctl.c sprintf(buf,"'%c'", (cmd>>_IOC_TYPESHIFT) & _IOC_TYPEMASK); _IOC_TYPESHIFT 45 include/asm-generic/ioctl.h #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) _IOC_TYPESHIFT 67 include/asm-generic/ioctl.h ((type) << _IOC_TYPESHIFT) | \ _IOC_TYPESHIFT 93 include/asm-generic/ioctl.h #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)