File: /Users/paulross/dev/linux/linux-3.13/include/asm-generic/ioctl.h

Green shading in the line number column means the source is part of the translation unit, red means it is conditionally excluded. Highlighted line numbers link to the translation unit page. Highlighted macros link to the macro page.

       1: #ifndef _ASM_GENERIC_IOCTL_H
       2: #define _ASM_GENERIC_IOCTL_H
       3: 
       4: #include <uapi/asm-generic/ioctl.h>
       5: 
       6: /* provoke compile error for invalid uses of size argument */
       7: extern unsigned int __invalid_size_argument_for_IOC;
       8: #define _IOC_TYPECHECK(t) \
       9:     ((sizeof(t) == sizeof(t[1]) && \
      10:       sizeof(t) < (1 << _IOC_SIZEBITS)) ? \
      11:       sizeof(t) : __invalid_size_argument_for_IOC)
      12: #endif /* _ASM_GENERIC_IOCTL_H */
      13: