Searched refs:_IOC_DIR (Results 1 – 18 of 18) sorted by relevance
75 printflags(ioctl_dirs, _IOC_DIR(code), "_IOC_???"); in ioctl_print_code()85 if (_IOC_DIR(code) == _IOC_WRITE) { in evdev_decode_number()95 if (_IOC_DIR(code) != _IOC_READ) in evdev_decode_number()150 if (_IOC_DIR(code) == _IOC_READ) { in hiddev_decode_number()167 } else if (_IOC_DIR(code) == (_IOC_READ | _IOC_WRITE)) { in hiddev_decode_number()194 if (_IOC_DIR(code) == _IOC_WRITE) { in ioctl_decode_command_number()197 } else if (_IOC_DIR(code) == _IOC_READ) { in ioctl_decode_command_number()203 if (_IOC_DIR(code) == _IOC_READ && _IOC_NR(code) == 0x2c) { in ioctl_decode_command_number()209 if (_IOC_DIR(code) == _IOC_READ && _IOC_NR(code) == 0x13) { in ioctl_decode_command_number()215 if (_IOC_DIR(code) == _IOC_WRITE && _IOC_NR(code) == 0) { in ioctl_decode_command_number()
438 switch (_IOC_DIR(code)) { in evdev_ioctl()
49 if (_IOC_DIR(cmd) == _IOC_WRITE) \53 else if (_IOC_DIR(cmd) == _IOC_READ) \66 (_IOC_DIR(cmd) == _IOC_READ) ? "READ" : "WRITE", \
61 _IOC_DIR((unsigned int) unknown_inotify_cmd) & _IOC_NONE ? in main()
96 _IOC_DIR((unsigned int) unknown_perf_cmd) & _IOC_NONE ? in main()
192 _IOC_DIR((unsigned int) unknown_loop_cmd) & _IOC_NONE ? in main()
94 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) macro
92 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) macro
92 #define _SIOC_DIR _IOC_DIR
965 COMPILER_CHECK(IOC_DIR(0x12345678) == _IOC_DIR(0x12345678));