Home
last modified time | relevance | path

Searched refs:ioctl (Results 1 – 25 of 674) sorted by relevance

12345678910>>...27

/external/valgrind/none/tests/
Dioctl_moans.c20 ioctl(-1, IOCTL_REQUEST_BASE + 0x0); in main()
21 ioctl(-1, IOCTL_REQUEST_BASE + 0x1); in main()
22 ioctl(-1, IOCTL_REQUEST_BASE + 0x0); in main()
23 ioctl(-1, IOCTL_REQUEST_BASE + 0x2); in main()
24 ioctl(-1, IOCTL_REQUEST_BASE + 0x3); in main()
25 ioctl(-1, IOCTL_REQUEST_BASE + 0x4); in main()
26 ioctl(-1, IOCTL_REQUEST_BASE + 0x1); in main()
27 ioctl(-1, IOCTL_REQUEST_BASE + 0x5); in main()
28 ioctl(-1, IOCTL_REQUEST_BASE + 0x5); in main()
29 ioctl(-1, IOCTL_REQUEST_BASE + 0x1); in main()
[all …]
/external/valgrind/memcheck/tests/solaris/
Dscalar_ioctl.stderr.exp4 Syscall param ioctl(fd) contains uninitialised byte(s)
7 Syscall param ioctl(request) contains uninitialised byte(s)
10 Syscall param ioctl(arg) contains uninitialised byte(s)
13 Syscall param ioctl(POOL_STATUSQ) points to unaddressable byte(s)
20 Syscall param ioctl(fd) contains uninitialised byte(s)
23 Syscall param ioctl(request) contains uninitialised byte(s)
26 Syscall param ioctl(arg) contains uninitialised byte(s)
29 Syscall param ioctl(MNTIOC_GETEXTMNTENT) points to unaddressable byte(s)
36 Syscall param ioctl(fd) contains uninitialised byte(s)
39 Syscall param ioctl(request) contains uninitialised byte(s)
[all …]
/external/ltp/testcases/kernel/device-drivers/drm/user_space/
Duser_tdrm.c147 if (ioctl(tdrm_fd, DRM_IOCTL_GET_MAGIC, &auth)) in main()
154 if (ioctl(tdrm_fd, DRM_IOCTL_GET_STATS, &stats)) in main()
164 if (ioctl(tdrm_fd, DRM_IOCTL_IRQ_BUSID)) in main()
168 if (ioctl(tdrm_fd, DRM_IOCTL_GET_CLIENT)) in main()
172 if (ioctl(tdrm_fd, DRM_IOCTL_BLOCK)) in main()
176 if (ioctl(tdrm_fd, DRM_IOCTL_UNBLOCK)) in main()
180 if (ioctl(tdrm_fd, DRM_IOCTL_ADD_CTX)) in main()
184 if (ioctl(tdrm_fd, DRM_IOCTL_RM_CTX)) in main()
188 if (ioctl(tdrm_fd, DRM_IOCTL_GET_CTX)) in main()
192 if (ioctl(tdrm_fd, DRM_IOCTL_ADD_DRAW)) in main()
[all …]
/external/strace/tests-mx32/
Dioctl_rtc.c87 ioctl(-1, RTC_ALM_READ, 0); in main()
90 ioctl(-1, RTC_ALM_READ, page); in main()
94 ioctl(-1, RTC_RD_TIME, 0); in main()
97 ioctl(-1, RTC_RD_TIME, page); in main()
101 ioctl(-1, RTC_ALM_SET, 0); in main()
104 ioctl(-1, RTC_ALM_SET, rt); in main()
111 ioctl(-1, RTC_SET_TIME, 0); in main()
114 ioctl(-1, RTC_SET_TIME, rt); in main()
121 ioctl(-1, RTC_IRQP_SET, lmagic); in main()
125 ioctl(-1, RTC_EPOCH_SET, lmagic); in main()
[all …]
Dioctl_v4l2.c335 ioctl(-1, VIDIOC_QUERYCAP, 0); in main()
338 ioctl(-1, VIDIOC_QUERYCAP, page); in main()
342 ioctl(-1, VIDIOC_ENUM_FMT, 0); in main()
348 ioctl(-1, VIDIOC_ENUM_FMT, p_fmtdesc); in main()
354 ioctl(-1, VIDIOC_G_FMT, 0); in main()
360 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
365 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
372 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
378 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
384 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
[all …]
Dbtrfs.c185 ioctl(-1, BTRFS_IOC_TRANS_START, NULL); in btrfs_test_trans_ioctls()
188 ioctl(-1, BTRFS_IOC_TRANS_END, NULL); in btrfs_test_trans_ioctls()
204 ioctl(-1, BTRFS_IOC_SYNC, NULL); in btrfs_test_sync_ioctls()
207 ioctl(-1, BTRFS_IOC_WAIT_SYNC, NULL); in btrfs_test_sync_ioctls()
210 ioctl(-1, BTRFS_IOC_WAIT_SYNC, &u64val); in btrfs_test_sync_ioctls()
305 ioctl(-1, BTRFS_IOC_SNAP_CREATE, NULL); in btrfs_test_subvol_ioctls()
308 ioctl(-1, BTRFS_IOC_SNAP_CREATE, &vol_args); in btrfs_test_subvol_ioctls()
312 ioctl(-1, BTRFS_IOC_SUBVOL_CREATE, &vol_args); in btrfs_test_subvol_ioctls()
316 ioctl(-1, BTRFS_IOC_SNAP_DESTROY, &vol_args); in btrfs_test_subvol_ioctls()
321 ioctl(-1, BTRFS_IOC_SNAP_CREATE, &vol_args); in btrfs_test_subvol_ioctls()
[all …]
Dioctl_loop.c183 ioctl(-1, unknown_loop_cmd, magic); in main()
192 ioctl(-1, LOOP_SET_DIRECT_IO + 1, magic); in main()
199 ioctl(-1, LOOP_CTL_GET_FREE + 1, magic); in main()
207 ioctl(-1, LOOP_SET_FD, magic); in main()
212 ioctl(-1, LOOP_CLR_FD); in main()
216 ioctl(-1, LOOP_SET_STATUS, NULL); in main()
227 ioctl(-1, LOOP_SET_STATUS, info); in main()
236 ioctl(-1, LOOP_SET_STATUS, (void *) info + ALIGNOF(info)); in main()
243 ioctl(-1, LOOP_SET_STATUS, info); in main()
247 ioctl(-1, LOOP_GET_STATUS, NULL); in main()
[all …]
Dioctl_uffdio.c62 rc = ioctl(-1, UFFDIO_API, api_struct); in main()
66 rc = ioctl(fd, UFFDIO_API, NULL); in main()
72 rc = ioctl(fd, UFFDIO_API, api_struct); in main()
103 rc = ioctl(-1, UFFDIO_REGISTER, register_struct); in main()
107 rc = ioctl(fd, UFFDIO_REGISTER, NULL); in main()
114 rc = ioctl(fd, UFFDIO_REGISTER, register_struct); in main()
134 rc = ioctl(-1, UFFDIO_COPY, copy_struct); in main()
138 rc = ioctl(fd, UFFDIO_COPY, NULL); in main()
146 rc = ioctl(fd, UFFDIO_COPY, copy_struct); in main()
156 rc = ioctl(-1, UFFDIO_ZEROPAGE, zero_struct); in main()
[all …]
Dioctl.c63 (void) ioctl(-1, TCGETS, &tty); in main()
68 (void) ioctl(-1, MMTIMER_GETRES, &data); in main()
72 (void) ioctl(-1, VIDIOC_ENUMINPUT, 0); in main()
76 (void) ioctl(-1, HIDIOCGVERSION, &data); in main()
80 (void) ioctl(-1, HIDIOCGPHYS(8), &data); in main()
84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
88 (void) ioctl(-1, _IOR('M', 13, int), &data); in main()
92 (void) ioctl(-1, _IOC(_IOC_WRITE, 0xde, 0, 0), (kernel_ulong_t) -1ULL); in main()
96 (void) ioctl(-1, _IOR(0xde, 0xad, data), &data); in main()
Dioctl_mtd.c50 ioctl(-1, cmd, 0); \
65 ioctl(-1, cmd, eiu); \
98 ioctl(-1, MTDFILEMODE, MTD_FILE_MODE_NORMAL); in main()
103 ioctl(-1, OTPSELECT, opt); in main()
110 ioctl(-1, MEMGETBADBLOCK, v64); in main()
115 ioctl(-1, MEMSETBADBLOCK, v64); in main()
122 ioctl(-1, MEMGETREGIONINFO, riu); in main()
140 ioctl(-1, MEMERASE64, eiu64); in main()
150 ioctl(-1, MEMWRITEOOB, oob); in main()
154 ioctl(-1, MEMREADOOB, oob); in main()
[all …]
/external/strace/tests-m32/
Dioctl_rtc.c87 ioctl(-1, RTC_ALM_READ, 0); in main()
90 ioctl(-1, RTC_ALM_READ, page); in main()
94 ioctl(-1, RTC_RD_TIME, 0); in main()
97 ioctl(-1, RTC_RD_TIME, page); in main()
101 ioctl(-1, RTC_ALM_SET, 0); in main()
104 ioctl(-1, RTC_ALM_SET, rt); in main()
111 ioctl(-1, RTC_SET_TIME, 0); in main()
114 ioctl(-1, RTC_SET_TIME, rt); in main()
121 ioctl(-1, RTC_IRQP_SET, lmagic); in main()
125 ioctl(-1, RTC_EPOCH_SET, lmagic); in main()
[all …]
Dioctl_v4l2.c335 ioctl(-1, VIDIOC_QUERYCAP, 0); in main()
338 ioctl(-1, VIDIOC_QUERYCAP, page); in main()
342 ioctl(-1, VIDIOC_ENUM_FMT, 0); in main()
348 ioctl(-1, VIDIOC_ENUM_FMT, p_fmtdesc); in main()
354 ioctl(-1, VIDIOC_G_FMT, 0); in main()
360 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
365 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
372 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
378 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
384 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
[all …]
Dbtrfs.c185 ioctl(-1, BTRFS_IOC_TRANS_START, NULL); in btrfs_test_trans_ioctls()
188 ioctl(-1, BTRFS_IOC_TRANS_END, NULL); in btrfs_test_trans_ioctls()
204 ioctl(-1, BTRFS_IOC_SYNC, NULL); in btrfs_test_sync_ioctls()
207 ioctl(-1, BTRFS_IOC_WAIT_SYNC, NULL); in btrfs_test_sync_ioctls()
210 ioctl(-1, BTRFS_IOC_WAIT_SYNC, &u64val); in btrfs_test_sync_ioctls()
305 ioctl(-1, BTRFS_IOC_SNAP_CREATE, NULL); in btrfs_test_subvol_ioctls()
308 ioctl(-1, BTRFS_IOC_SNAP_CREATE, &vol_args); in btrfs_test_subvol_ioctls()
312 ioctl(-1, BTRFS_IOC_SUBVOL_CREATE, &vol_args); in btrfs_test_subvol_ioctls()
316 ioctl(-1, BTRFS_IOC_SNAP_DESTROY, &vol_args); in btrfs_test_subvol_ioctls()
321 ioctl(-1, BTRFS_IOC_SNAP_CREATE, &vol_args); in btrfs_test_subvol_ioctls()
[all …]
Dioctl_loop.c183 ioctl(-1, unknown_loop_cmd, magic); in main()
192 ioctl(-1, LOOP_SET_DIRECT_IO + 1, magic); in main()
199 ioctl(-1, LOOP_CTL_GET_FREE + 1, magic); in main()
207 ioctl(-1, LOOP_SET_FD, magic); in main()
212 ioctl(-1, LOOP_CLR_FD); in main()
216 ioctl(-1, LOOP_SET_STATUS, NULL); in main()
227 ioctl(-1, LOOP_SET_STATUS, info); in main()
236 ioctl(-1, LOOP_SET_STATUS, (void *) info + ALIGNOF(info)); in main()
243 ioctl(-1, LOOP_SET_STATUS, info); in main()
247 ioctl(-1, LOOP_GET_STATUS, NULL); in main()
[all …]
Dioctl_uffdio.c62 rc = ioctl(-1, UFFDIO_API, api_struct); in main()
66 rc = ioctl(fd, UFFDIO_API, NULL); in main()
72 rc = ioctl(fd, UFFDIO_API, api_struct); in main()
103 rc = ioctl(-1, UFFDIO_REGISTER, register_struct); in main()
107 rc = ioctl(fd, UFFDIO_REGISTER, NULL); in main()
114 rc = ioctl(fd, UFFDIO_REGISTER, register_struct); in main()
134 rc = ioctl(-1, UFFDIO_COPY, copy_struct); in main()
138 rc = ioctl(fd, UFFDIO_COPY, NULL); in main()
146 rc = ioctl(fd, UFFDIO_COPY, copy_struct); in main()
156 rc = ioctl(-1, UFFDIO_ZEROPAGE, zero_struct); in main()
[all …]
Dioctl.c63 (void) ioctl(-1, TCGETS, &tty); in main()
68 (void) ioctl(-1, MMTIMER_GETRES, &data); in main()
72 (void) ioctl(-1, VIDIOC_ENUMINPUT, 0); in main()
76 (void) ioctl(-1, HIDIOCGVERSION, &data); in main()
80 (void) ioctl(-1, HIDIOCGPHYS(8), &data); in main()
84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
88 (void) ioctl(-1, _IOR('M', 13, int), &data); in main()
92 (void) ioctl(-1, _IOC(_IOC_WRITE, 0xde, 0, 0), (kernel_ulong_t) -1ULL); in main()
96 (void) ioctl(-1, _IOR(0xde, 0xad, data), &data); in main()
Dioctl_mtd.c50 ioctl(-1, cmd, 0); \
65 ioctl(-1, cmd, eiu); \
98 ioctl(-1, MTDFILEMODE, MTD_FILE_MODE_NORMAL); in main()
103 ioctl(-1, OTPSELECT, opt); in main()
110 ioctl(-1, MEMGETBADBLOCK, v64); in main()
115 ioctl(-1, MEMSETBADBLOCK, v64); in main()
122 ioctl(-1, MEMGETREGIONINFO, riu); in main()
140 ioctl(-1, MEMERASE64, eiu64); in main()
150 ioctl(-1, MEMWRITEOOB, oob); in main()
154 ioctl(-1, MEMREADOOB, oob); in main()
[all …]
/external/strace/tests/
Dioctl_rtc.c87 ioctl(-1, RTC_ALM_READ, 0); in main()
90 ioctl(-1, RTC_ALM_READ, page); in main()
94 ioctl(-1, RTC_RD_TIME, 0); in main()
97 ioctl(-1, RTC_RD_TIME, page); in main()
101 ioctl(-1, RTC_ALM_SET, 0); in main()
104 ioctl(-1, RTC_ALM_SET, rt); in main()
111 ioctl(-1, RTC_SET_TIME, 0); in main()
114 ioctl(-1, RTC_SET_TIME, rt); in main()
121 ioctl(-1, RTC_IRQP_SET, lmagic); in main()
125 ioctl(-1, RTC_EPOCH_SET, lmagic); in main()
[all …]
Dioctl_v4l2.c335 ioctl(-1, VIDIOC_QUERYCAP, 0); in main()
338 ioctl(-1, VIDIOC_QUERYCAP, page); in main()
342 ioctl(-1, VIDIOC_ENUM_FMT, 0); in main()
348 ioctl(-1, VIDIOC_ENUM_FMT, p_fmtdesc); in main()
354 ioctl(-1, VIDIOC_G_FMT, 0); in main()
360 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
365 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
372 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
378 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
384 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
[all …]
Dbtrfs.c185 ioctl(-1, BTRFS_IOC_TRANS_START, NULL); in btrfs_test_trans_ioctls()
188 ioctl(-1, BTRFS_IOC_TRANS_END, NULL); in btrfs_test_trans_ioctls()
204 ioctl(-1, BTRFS_IOC_SYNC, NULL); in btrfs_test_sync_ioctls()
207 ioctl(-1, BTRFS_IOC_WAIT_SYNC, NULL); in btrfs_test_sync_ioctls()
210 ioctl(-1, BTRFS_IOC_WAIT_SYNC, &u64val); in btrfs_test_sync_ioctls()
305 ioctl(-1, BTRFS_IOC_SNAP_CREATE, NULL); in btrfs_test_subvol_ioctls()
308 ioctl(-1, BTRFS_IOC_SNAP_CREATE, &vol_args); in btrfs_test_subvol_ioctls()
312 ioctl(-1, BTRFS_IOC_SUBVOL_CREATE, &vol_args); in btrfs_test_subvol_ioctls()
316 ioctl(-1, BTRFS_IOC_SNAP_DESTROY, &vol_args); in btrfs_test_subvol_ioctls()
321 ioctl(-1, BTRFS_IOC_SNAP_CREATE, &vol_args); in btrfs_test_subvol_ioctls()
[all …]
Dioctl_loop.c183 ioctl(-1, unknown_loop_cmd, magic); in main()
192 ioctl(-1, LOOP_SET_DIRECT_IO + 1, magic); in main()
199 ioctl(-1, LOOP_CTL_GET_FREE + 1, magic); in main()
207 ioctl(-1, LOOP_SET_FD, magic); in main()
212 ioctl(-1, LOOP_CLR_FD); in main()
216 ioctl(-1, LOOP_SET_STATUS, NULL); in main()
227 ioctl(-1, LOOP_SET_STATUS, info); in main()
236 ioctl(-1, LOOP_SET_STATUS, (void *) info + ALIGNOF(info)); in main()
243 ioctl(-1, LOOP_SET_STATUS, info); in main()
247 ioctl(-1, LOOP_GET_STATUS, NULL); in main()
[all …]
Dioctl_uffdio.c62 rc = ioctl(-1, UFFDIO_API, api_struct); in main()
66 rc = ioctl(fd, UFFDIO_API, NULL); in main()
72 rc = ioctl(fd, UFFDIO_API, api_struct); in main()
103 rc = ioctl(-1, UFFDIO_REGISTER, register_struct); in main()
107 rc = ioctl(fd, UFFDIO_REGISTER, NULL); in main()
114 rc = ioctl(fd, UFFDIO_REGISTER, register_struct); in main()
134 rc = ioctl(-1, UFFDIO_COPY, copy_struct); in main()
138 rc = ioctl(fd, UFFDIO_COPY, NULL); in main()
146 rc = ioctl(fd, UFFDIO_COPY, copy_struct); in main()
156 rc = ioctl(-1, UFFDIO_ZEROPAGE, zero_struct); in main()
[all …]
Dioctl.c63 (void) ioctl(-1, TCGETS, &tty); in main()
68 (void) ioctl(-1, MMTIMER_GETRES, &data); in main()
72 (void) ioctl(-1, VIDIOC_ENUMINPUT, 0); in main()
76 (void) ioctl(-1, HIDIOCGVERSION, &data); in main()
80 (void) ioctl(-1, HIDIOCGPHYS(8), &data); in main()
84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
88 (void) ioctl(-1, _IOR('M', 13, int), &data); in main()
92 (void) ioctl(-1, _IOC(_IOC_WRITE, 0xde, 0, 0), (kernel_ulong_t) -1ULL); in main()
96 (void) ioctl(-1, _IOR(0xde, 0xad, data), &data); in main()
Dioctl_mtd.c50 ioctl(-1, cmd, 0); \
65 ioctl(-1, cmd, eiu); \
98 ioctl(-1, MTDFILEMODE, MTD_FILE_MODE_NORMAL); in main()
103 ioctl(-1, OTPSELECT, opt); in main()
110 ioctl(-1, MEMGETBADBLOCK, v64); in main()
115 ioctl(-1, MEMSETBADBLOCK, v64); in main()
122 ioctl(-1, MEMGETREGIONINFO, riu); in main()
140 ioctl(-1, MEMERASE64, eiu64); in main()
150 ioctl(-1, MEMWRITEOOB, oob); in main()
154 ioctl(-1, MEMREADOOB, oob); in main()
[all …]
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c81 ret = drmCommandRead(vws->ioctl.drm_fd, DRM_VMW_CREATE_CONTEXT, in vmw_ioctl_context_create()
101 ret = drmCommandWriteRead(vws->ioctl.drm_fd, in vmw_ioctl_extended_context_create()
122 (void)drmCommandWrite(vws->ioctl.drm_fd, DRM_VMW_UNREF_CONTEXT, in vmw_ioctl_context_destroy()
177 ret = drmCommandWriteRead(vws->ioctl.drm_fd, DRM_VMW_CREATE_SURFACE, in vmw_ioctl_surface_create()
244 ret = drmCommandWriteRead(vws->ioctl.drm_fd, DRM_VMW_GB_SURFACE_CREATE, in vmw_ioctl_gb_surface_create()
253 region->drm_fd = vws->ioctl.drm_fd; in vmw_ioctl_gb_surface_create()
295 if (!vws->ioctl.have_drm_2_6) { in vmw_ioctl_surface_req()
298 ret = drmPrimeFDToHandle(vws->ioctl.drm_fd, whandle->handle, &handle); in vmw_ioctl_surface_req()
366 ret = drmCommandWriteRead(vws->ioctl.drm_fd, DRM_VMW_GB_SURFACE_REF, in vmw_ioctl_gb_surface_ref()
374 region->drm_fd = vws->ioctl.drm_fd; in vmw_ioctl_gb_surface_ref()
[all …]

12345678910>>...27