Searched refs:_IOC_DIR (Results 1 – 11 of 11) sorted by relevance
82 printflags(ioctl_dirs, _IOC_DIR(code), "_IOC_???"); in ioctl_print_code()92 if (_IOC_DIR(code) == _IOC_WRITE) { in evdev_decode_number()101 if (_IOC_DIR(code) != _IOC_READ) in evdev_decode_number()152 if (_IOC_DIR(code) == _IOC_READ) { in hiddev_decode_number()169 } else if (_IOC_DIR(code) == (_IOC_READ | _IOC_WRITE)) { in hiddev_decode_number()196 if (_IOC_DIR(code) == _IOC_WRITE) { in ioctl_decode_command_number()199 } else if (_IOC_DIR(code) == _IOC_READ) { in ioctl_decode_command_number()205 if (_IOC_DIR(code) == _IOC_READ && _IOC_NR(code) == 0x2c) { in ioctl_decode_command_number()211 if (_IOC_DIR(code) == _IOC_READ && _IOC_NR(code) == 0x13) { in ioctl_decode_command_number()217 if (_IOC_DIR(code) == _IOC_WRITE && _IOC_NR(code) == 0) { in ioctl_decode_command_number()
520 switch (_IOC_DIR(code)) { in MPERS_PRINTER_DECL()
51 if (_IOC_DIR(cmd) == _IOC_WRITE) \55 else if (_IOC_DIR(cmd) == _IOC_READ) \68 (_IOC_DIR(cmd) == _IOC_READ) ? "READ" : "WRITE", \
186 _IOC_DIR((unsigned int) unknown_loop_cmd) & _IOC_NONE ? in main()
85 #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));