Home
last modified time | relevance | path

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

/external/strace/
Devdev.c335 switch (_IOC_NR(code)) { in evdev_read_ioctl()
337 case _IOC_NR(EVIOCGMTSLOTS(0)): in evdev_read_ioctl()
340 case _IOC_NR(EVIOCGNAME(0)): in evdev_read_ioctl()
341 case _IOC_NR(EVIOCGPHYS(0)): in evdev_read_ioctl()
342 case _IOC_NR(EVIOCGUNIQ(0)): in evdev_read_ioctl()
350 case _IOC_NR(EVIOCGPROP(0)): in evdev_read_ioctl()
355 case _IOC_NR(EVIOCGSND(0)): in evdev_read_ioctl()
359 case _IOC_NR(EVIOCGSW(0)): in evdev_read_ioctl()
363 case _IOC_NR(EVIOCGKEY(0)): in evdev_read_ioctl()
366 case _IOC_NR(EVIOCGLED(0)): in evdev_read_ioctl()
[all …]
Dioctl.c77 _IOC_TYPE(code), _IOC_NR(code), _IOC_SIZE(code)); in ioctl_print_code()
83 const unsigned int nr = _IOC_NR(code); in evdev_decode_number()
114 switch (_IOC_NR(nr)) { in evdev_decode_number()
151 switch (_IOC_NR(code)) { in hiddev_decode_number()
168 switch (_IOC_NR(code)) { in hiddev_decode_number()
195 tprintf("MIXER_WRITE(%u)", _IOC_NR(code)); in ioctl_decode_command_number()
198 tprintf("MIXER_READ(%u)", _IOC_NR(code)); 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()
DChangeLog20227 * tests/ioctl_dm.c: Include <linux/ioctl.h> for _IOC_SIZE and _IOC_NR.
/external/strace/tests-mx32/
Dioctl_mtd.c52 (unsigned int) _IOC_NR(cmd), #cmd); \
56 (unsigned int) _IOC_NR(cmd), #cmd); \
67 (unsigned int) _IOC_NR(cmd), #cmd, \
103 " = -1 EBADF (%m)\n", (unsigned int) _IOC_NR(OTPSELECT)); in main()
111 (unsigned int) _IOC_NR(MEMGETBADBLOCK), *v64); in main()
116 (unsigned int) _IOC_NR(MEMSETBADBLOCK), *v64); in main()
141 (unsigned int) _IOC_NR(MEMERASE64), "MEMERASE64", in main()
177 (unsigned int) _IOC_NR(OTPLOCK), oi->start, oi->length, oi->locked); in main()
Dioctl_inotify.c63 _IOC_NR((unsigned int) unknown_inotify_cmd), in main()
70 (unsigned int) _IOC_NR(INOTIFY_IOC_SETNEXTWD + 1), in main()
Dioctl_loop.c194 _IOC_NR((unsigned int) unknown_loop_cmd), in main()
202 _IOC_NR(LOOP_SET_BLOCK_SIZE + 1), in main()
210 _IOC_NR(LOOP_CTL_GET_FREE + 1), in main()
Dioctl_perf.c98 _IOC_NR((unsigned int) unknown_perf_cmd), in main()
105 (unsigned int) _IOC_NR(PERF_EVENT_IOC_MODIFY_ATTRIBUTES + 1), in main()
Dioctl_dm.c222 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
/external/strace/tests/
Dioctl_mtd.c52 (unsigned int) _IOC_NR(cmd), #cmd); \
56 (unsigned int) _IOC_NR(cmd), #cmd); \
67 (unsigned int) _IOC_NR(cmd), #cmd, \
103 " = -1 EBADF (%m)\n", (unsigned int) _IOC_NR(OTPSELECT)); in main()
111 (unsigned int) _IOC_NR(MEMGETBADBLOCK), *v64); in main()
116 (unsigned int) _IOC_NR(MEMSETBADBLOCK), *v64); in main()
141 (unsigned int) _IOC_NR(MEMERASE64), "MEMERASE64", in main()
177 (unsigned int) _IOC_NR(OTPLOCK), oi->start, oi->length, oi->locked); in main()
Dioctl_inotify.c63 _IOC_NR((unsigned int) unknown_inotify_cmd), in main()
70 (unsigned int) _IOC_NR(INOTIFY_IOC_SETNEXTWD + 1), in main()
Dioctl_loop.c194 _IOC_NR((unsigned int) unknown_loop_cmd), in main()
202 _IOC_NR(LOOP_SET_BLOCK_SIZE + 1), in main()
210 _IOC_NR(LOOP_CTL_GET_FREE + 1), in main()
Dioctl_perf.c98 _IOC_NR((unsigned int) unknown_perf_cmd), in main()
105 (unsigned int) _IOC_NR(PERF_EVENT_IOC_MODIFY_ATTRIBUTES + 1), in main()
Dioctl_dm.c222 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
/external/strace/tests-m32/
Dioctl_mtd.c52 (unsigned int) _IOC_NR(cmd), #cmd); \
56 (unsigned int) _IOC_NR(cmd), #cmd); \
67 (unsigned int) _IOC_NR(cmd), #cmd, \
103 " = -1 EBADF (%m)\n", (unsigned int) _IOC_NR(OTPSELECT)); in main()
111 (unsigned int) _IOC_NR(MEMGETBADBLOCK), *v64); in main()
116 (unsigned int) _IOC_NR(MEMSETBADBLOCK), *v64); in main()
141 (unsigned int) _IOC_NR(MEMERASE64), "MEMERASE64", in main()
177 (unsigned int) _IOC_NR(OTPLOCK), oi->start, oi->length, oi->locked); in main()
Dioctl_inotify.c63 _IOC_NR((unsigned int) unknown_inotify_cmd), in main()
70 (unsigned int) _IOC_NR(INOTIFY_IOC_SETNEXTWD + 1), in main()
Dioctl_loop.c194 _IOC_NR((unsigned int) unknown_loop_cmd), in main()
202 _IOC_NR(LOOP_SET_BLOCK_SIZE + 1), in main()
210 _IOC_NR(LOOP_CTL_GET_FREE + 1), in main()
Dioctl_perf.c98 _IOC_NR((unsigned int) unknown_perf_cmd), in main()
105 (unsigned int) _IOC_NR(PERF_EVENT_IOC_MODIFY_ATTRIBUTES + 1), in main()
Dioctl_dm.c222 DM_IOCTL, (unsigned int) _IOC_NR(dummy_dm_ioctl2), in main()
/external/kernel-headers/original/uapi/asm-generic/
Dioctl.h96 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
/external/u-boot/include/asm-generic/
Dioctl.h94 #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));