Home
last modified time | relevance | path

Searched refs:_IOC_NR (Results 1 – 15 of 15) sorted by relevance

/external/strace/
Devdev.c429 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 …]
Dioctl.c84 _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()
DChangeLog5583 * tests/ioctl_dm.c: Include <linux/ioctl.h> for _IOC_SIZE and _IOC_NR.
/external/strace/tests-mx32/
Dioctl_mtd.c54 (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()
Dioctl_loop.c188 _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()
Dioctl_dm.c218 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
/external/strace/tests/
Dioctl_mtd.c54 (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()
Dioctl_loop.c188 _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()
Dioctl_dm.c218 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
/external/strace/tests-m32/
Dioctl_mtd.c54 (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()
Dioctl_loop.c188 _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()
Dioctl_dm.c218 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
/external/kernel-headers/original/uapi/asm-generic/
Dioctl.h87 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
/external/libdrm/
Dxf86drm.h52 #define DRM_IOCTL_NR(n) _IOC_NR(n)
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc966 COMPILER_CHECK(IOC_NR(0x12345678) == _IOC_NR(0x12345678));