/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 | 83 _IOC_TYPE(code), _IOC_NR(code), _IOC_SIZE(code)); in ioctl_print_code() 89 const unsigned int nr = _IOC_NR(code); in evdev_decode_number() 115 switch (_IOC_NR(nr)) { in evdev_decode_number() 152 switch (_IOC_NR(code)) { in hiddev_decode_number() 169 switch (_IOC_NR(code)) { in hiddev_decode_number() 196 tprintf("MIXER_WRITE(%u)", _IOC_NR(code)); in ioctl_decode_command_number() 199 tprintf("MIXER_READ(%u)", _IOC_NR(code)); in ioctl_decode_command_number() 204 if (_IOC_DIR(code) == _IOC_READ && _IOC_NR(code) == 0x2c) { in ioctl_decode_command_number() 210 if (_IOC_DIR(code) == _IOC_READ && _IOC_NR(code) == 0x13) { in ioctl_decode_command_number() 216 if (_IOC_DIR(code) == _IOC_WRITE && _IOC_NR(code) == 0) { in ioctl_decode_command_number()
|
D | ChangeLog | 1037 * tests/ioctl_dm.c: Include <linux/ioctl.h> for _IOC_SIZE and _IOC_NR.
|
/external/strace/tests-mx32/ |
D | ioctl_mtd.c | 53 (unsigned int) _IOC_NR(cmd), #cmd); \ 57 (unsigned int) _IOC_NR(cmd), #cmd); \ 67 (unsigned int) _IOC_NR(cmd), #cmd, \ 102 " = -1 EBADF (%m)\n", (unsigned int) _IOC_NR(OTPSELECT)); in main() 110 (unsigned int) _IOC_NR(MEMGETBADBLOCK), *v64); in main() 115 (unsigned int) _IOC_NR(MEMSETBADBLOCK), *v64); in main() 140 (unsigned int) _IOC_NR(MEMERASE64), "MEMERASE64", in main() 176 (unsigned int) _IOC_NR(OTPLOCK), oi->start, oi->length, oi->locked); in main()
|
D | ioctl_loop.c | 187 _IOC_NR((unsigned int) unknown_loop_cmd), in main() 194 _IOC_NR(LOOP_SET_DIRECT_IO + 1), in main() 201 _IOC_NR(LOOP_CTL_GET_FREE + 1), in main()
|
D | ioctl_dm.c | 217 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
|
/external/strace/tests/ |
D | ioctl_mtd.c | 53 (unsigned int) _IOC_NR(cmd), #cmd); \ 57 (unsigned int) _IOC_NR(cmd), #cmd); \ 67 (unsigned int) _IOC_NR(cmd), #cmd, \ 102 " = -1 EBADF (%m)\n", (unsigned int) _IOC_NR(OTPSELECT)); in main() 110 (unsigned int) _IOC_NR(MEMGETBADBLOCK), *v64); in main() 115 (unsigned int) _IOC_NR(MEMSETBADBLOCK), *v64); in main() 140 (unsigned int) _IOC_NR(MEMERASE64), "MEMERASE64", in main() 176 (unsigned int) _IOC_NR(OTPLOCK), oi->start, oi->length, oi->locked); in main()
|
D | ioctl_loop.c | 187 _IOC_NR((unsigned int) unknown_loop_cmd), in main() 194 _IOC_NR(LOOP_SET_DIRECT_IO + 1), in main() 201 _IOC_NR(LOOP_CTL_GET_FREE + 1), in main()
|
D | ioctl_dm.c | 217 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
|
/external/strace/tests-m32/ |
D | ioctl_mtd.c | 53 (unsigned int) _IOC_NR(cmd), #cmd); \ 57 (unsigned int) _IOC_NR(cmd), #cmd); \ 67 (unsigned int) _IOC_NR(cmd), #cmd, \ 102 " = -1 EBADF (%m)\n", (unsigned int) _IOC_NR(OTPSELECT)); in main() 110 (unsigned int) _IOC_NR(MEMGETBADBLOCK), *v64); in main() 115 (unsigned int) _IOC_NR(MEMSETBADBLOCK), *v64); in main() 140 (unsigned int) _IOC_NR(MEMERASE64), "MEMERASE64", in main() 176 (unsigned int) _IOC_NR(OTPLOCK), oi->start, oi->length, oi->locked); in main()
|
D | ioctl_loop.c | 187 _IOC_NR((unsigned int) unknown_loop_cmd), in main() 194 _IOC_NR(LOOP_SET_DIRECT_IO + 1), in main() 201 _IOC_NR(LOOP_CTL_GET_FREE + 1), in main()
|
D | ioctl_dm.c | 217 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));
|