_IOC_NRSHIFT 27 arch/alpha/include/uapi/asm/ioctl.h #define _IOC_TYPESHIFT (_IOC_NRSHIFT+_IOC_NRBITS) _IOC_NRSHIFT 44 arch/alpha/include/uapi/asm/ioctl.h ((nr) << _IOC_NRSHIFT) | \ _IOC_NRSHIFT 56 arch/alpha/include/uapi/asm/ioctl.h #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) _IOC_NRSHIFT 31 arch/sparc/include/uapi/asm/ioctl.h #define _IOC_TYPESHIFT (_IOC_NRSHIFT + _IOC_NRBITS) _IOC_NRSHIFT 42 arch/sparc/include/uapi/asm/ioctl.h ((nr) << _IOC_NRSHIFT) | \ _IOC_NRSHIFT 56 arch/sparc/include/uapi/asm/ioctl.h #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) _IOC_NRSHIFT 544 drivers/s390/crypto/zcrypt_api.c int ioctlnr = (cmd & _IOC_NRMASK) >> _IOC_NRSHIFT; _IOC_NRSHIFT 45 include/uapi/asm-generic/ioctl.h #define _IOC_TYPESHIFT (_IOC_NRSHIFT+_IOC_NRBITS) _IOC_NRSHIFT 72 include/uapi/asm-generic/ioctl.h ((nr) << _IOC_NRSHIFT) | \ _IOC_NRSHIFT 96 include/uapi/asm-generic/ioctl.h #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)