/external/strace/ |
D | evdev.c | 429 switch (_IOC_NR(code)) { in evdev_read_ioctl() 431 case _IOC_NR(EVIOCGMTSLOTS(0)): in evdev_read_ioctl() 434 case _IOC_NR(EVIOCGNAME(0)): in evdev_read_ioctl() 435 case _IOC_NR(EVIOCGPHYS(0)): in evdev_read_ioctl() 436 case _IOC_NR(EVIOCGUNIQ(0)): in evdev_read_ioctl() 444 case _IOC_NR(EVIOCGPROP(0)): in evdev_read_ioctl() 448 case _IOC_NR(EVIOCGSND(0)): in evdev_read_ioctl() 452 case _IOC_NR(EVIOCGSW(0)): in evdev_read_ioctl() 456 case _IOC_NR(EVIOCGKEY(0)): in evdev_read_ioctl() 459 case _IOC_NR(EVIOCGLED(0)): in evdev_read_ioctl() [all …]
|
D | ioctl.c | 84 _IOC_TYPE(code), _IOC_NR(code), _IOC_SIZE(code)); in ioctl_print_code() 90 const unsigned int nr = _IOC_NR(code); in evdev_decode_number() 116 switch (_IOC_NR(nr)) { in evdev_decode_number() 153 switch (_IOC_NR(code)) { in hiddev_decode_number() 170 switch (_IOC_NR(code)) { in hiddev_decode_number() 197 tprintf("MIXER_WRITE(%u)", _IOC_NR(code)); in ioctl_decode_command_number() 200 tprintf("MIXER_READ(%u)", _IOC_NR(code)); 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()
|
D | ChangeLog | 5583 * tests/ioctl_dm.c: Include <linux/ioctl.h> for _IOC_SIZE and _IOC_NR.
|
/external/strace/tests-mx32/ |
D | ioctl_mtd.c | 54 (unsigned int) _IOC_NR(cmd), #cmd); \ 58 (unsigned int) _IOC_NR(cmd), #cmd); \ 69 (unsigned int) _IOC_NR(cmd), #cmd, \ 105 " = -1 EBADF (%m)\n", (unsigned int) _IOC_NR(OTPSELECT)); in main() 113 (unsigned int) _IOC_NR(MEMGETBADBLOCK), *v64); in main() 118 (unsigned int) _IOC_NR(MEMSETBADBLOCK), *v64); in main() 143 (unsigned int) _IOC_NR(MEMERASE64), "MEMERASE64", in main() 179 (unsigned int) _IOC_NR(OTPLOCK), oi->start, oi->length, oi->locked); in main()
|
D | ioctl_loop.c | 188 _IOC_NR((unsigned int) unknown_loop_cmd), in main() 195 _IOC_NR(LOOP_SET_DIRECT_IO + 1), in main() 202 _IOC_NR(LOOP_CTL_GET_FREE + 1), in main()
|
D | ioctl_dm.c | 218 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
|
/external/strace/tests/ |
D | ioctl_mtd.c | 54 (unsigned int) _IOC_NR(cmd), #cmd); \ 58 (unsigned int) _IOC_NR(cmd), #cmd); \ 69 (unsigned int) _IOC_NR(cmd), #cmd, \ 105 " = -1 EBADF (%m)\n", (unsigned int) _IOC_NR(OTPSELECT)); in main() 113 (unsigned int) _IOC_NR(MEMGETBADBLOCK), *v64); in main() 118 (unsigned int) _IOC_NR(MEMSETBADBLOCK), *v64); in main() 143 (unsigned int) _IOC_NR(MEMERASE64), "MEMERASE64", in main() 179 (unsigned int) _IOC_NR(OTPLOCK), oi->start, oi->length, oi->locked); in main()
|
D | ioctl_loop.c | 188 _IOC_NR((unsigned int) unknown_loop_cmd), in main() 195 _IOC_NR(LOOP_SET_DIRECT_IO + 1), in main() 202 _IOC_NR(LOOP_CTL_GET_FREE + 1), in main()
|
D | ioctl_dm.c | 218 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
|
/external/strace/tests-m32/ |
D | ioctl_mtd.c | 54 (unsigned int) _IOC_NR(cmd), #cmd); \ 58 (unsigned int) _IOC_NR(cmd), #cmd); \ 69 (unsigned int) _IOC_NR(cmd), #cmd, \ 105 " = -1 EBADF (%m)\n", (unsigned int) _IOC_NR(OTPSELECT)); in main() 113 (unsigned int) _IOC_NR(MEMGETBADBLOCK), *v64); in main() 118 (unsigned int) _IOC_NR(MEMSETBADBLOCK), *v64); in main() 143 (unsigned int) _IOC_NR(MEMERASE64), "MEMERASE64", in main() 179 (unsigned int) _IOC_NR(OTPLOCK), oi->start, oi->length, oi->locked); in main()
|
D | ioctl_loop.c | 188 _IOC_NR((unsigned int) unknown_loop_cmd), in main() 195 _IOC_NR(LOOP_SET_DIRECT_IO + 1), in main() 202 _IOC_NR(LOOP_CTL_GET_FREE + 1), in main()
|
D | ioctl_dm.c | 218 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | ioctl.h | 87 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
|
/external/libdrm/ |
D | xf86drm.h | 52 #define DRM_IOCTL_NR(n) _IOC_NR(n)
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.cc | 966 COMPILER_CHECK(IOC_NR(0x12345678) == _IOC_NR(0x12345678));
|