/third_party/ltp/testcases/kernel/syscalls/clock_gettime/ |
D | clock_gettime02.c | 49 .exp_err = EFAULT, 53 .exp_err = EFAULT, 57 .exp_err = EFAULT, 61 .exp_err = EFAULT, 65 .exp_err = EFAULT, 70 .exp_err = EFAULT, 75 .exp_err = EFAULT, 80 .exp_err = EFAULT, 113 if (tc[i].exp_err == EFAULT) { in verify_clock_gettime()
|
/third_party/NuttX/drivers/video/ |
D | fb.c | 238 return -EFAULT; in fb_read() 285 return -EFAULT; in fb_write() 394 ret = -EFAULT; in fb_ioctl() 411 ret = -EFAULT; in fb_ioctl() 429 ret = -EFAULT; in fb_ioctl() 448 ret = -EFAULT; in fb_ioctl() 463 ret = -EFAULT; in fb_ioctl() 483 ret = -EFAULT; in fb_ioctl() 498 ret = -EFAULT; in fb_ioctl() 516 ret = -EFAULT; in fb_ioctl() [all …]
|
/third_party/libdrm/tests/exynos/ |
D | exynos_fimg2d_test.c | 202 return -EFAULT; in g2d_solid_fill_test() 253 return -EFAULT; in g2d_copy_test() 274 ret = -EFAULT; in g2d_copy_test() 283 ret = -EFAULT; in g2d_copy_test() 353 return -EFAULT; in g2d_move_test() 360 ret = -EFAULT; in g2d_move_test() 378 ret = -EFAULT; in g2d_move_test() 461 return -EFAULT; in g2d_copy_with_scale_test() 480 ret = -EFAULT; in g2d_copy_with_scale_test() 489 ret = -EFAULT; in g2d_copy_with_scale_test() [all …]
|
/third_party/glib/glib/dirent/ |
D | dirent.c | 71 errno = EFAULT; in _topendir() 158 errno = EFAULT; in _treaddir() 237 errno = EFAULT; in _tclosedir() 265 errno = EFAULT; in _trewinddir() 291 errno = EFAULT; in _ttelldir() 313 errno = EFAULT; in _tseekdir()
|
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/ |
D | tmod.c | 118 return (-EFAULT); in tmod_ioctl() 133 return (-EFAULT); in tmod_ioctl() 178 rc = -EFAULT; in tmod_ioctl() 185 rc = -EFAULT; in tmod_ioctl()
|
/third_party/ltp/testcases/kernel/syscalls/setgroups/ |
D | setgroups04.c | 113 EFAULT); in main() 116 if (TEST_ERRNO == EFAULT) { in main() 123 test_desc, TEST_ERRNO, EFAULT); in main()
|
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_EXT_CTRLS.c | 107 CU_ASSERT(errno_get_invalid == EFAULT in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() 137 CU_ASSERT(errno_get_invalid == EFAULT in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() 165 CU_ASSERT(errno_get_invalid == EFAULT in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() 331 CU_ASSERT_EQUAL(errno_null, EFAULT); in test_VIDIOC_G_EXT_CTRLS_NULL() 420 CU_ASSERT(errno_set_invalid == EFAULT in test_VIDIOC_S_EXT_CTRLS_zero_invalid_count() 450 CU_ASSERT(errno_set_invalid == EFAULT in test_VIDIOC_S_EXT_CTRLS_zero_invalid_count() 478 CU_ASSERT(errno_set_invalid == EFAULT in test_VIDIOC_S_EXT_CTRLS_zero_invalid_count() 518 CU_ASSERT_EQUAL(errno_null, EFAULT); in test_VIDIOC_S_EXT_CTRLS_NULL() 607 CU_ASSERT(errno_try_invalid == EFAULT in test_VIDIOC_TRY_EXT_CTRLS_zero_invalid_count() 638 CU_ASSERT(errno_try_invalid == EFAULT in test_VIDIOC_TRY_EXT_CTRLS_zero_invalid_count() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/select/ |
D | select03.c | 39 { "Faulty readfds", &maxfds, &faulty_fds, &pwritefds_reg, &nullfds, &valid_to, EFAULT }, 40 { "Faulty writefds", &maxfds, &preadfds_reg, &faulty_fds, &nullfds, &valid_to, EFAULT }, 41 { "Faulty exceptfds", &maxfds, &preadfds_reg, &pwritefds_reg, &faulty_fds, &valid_to, EFAULT }, 42 { "Faulty timeout", &maxfds, &preadfds_reg, &pwritefds_reg, &nullfds, &invalid_to, EFAULT },
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
D | rename08.c | 93 fname, (char *)-1, EFAULT}, 96 (char *)-1, fname, EFAULT}, 100 NULL, NULL, EFAULT}
|
/third_party/ltp/testcases/kernel/syscalls/sched_rr_get_interval/ |
D | sched_rr_get_interval03.c | 33 { &zero_pid, NULL, EFAULT} 70 if (tc->exp_errno == EFAULT in run() 76 if (tc->exp_errno == EFAULT) in run()
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm01.c | 274 cma_check_errno(EFAULT); in cma_test_iov_invalid() 281 cma_check_errno(EFAULT); in cma_test_iov_invalid() 288 cma_check_errno(EFAULT); in cma_test_iov_invalid() 295 cma_check_errno(EFAULT); in cma_test_iov_invalid() 379 cma_check_errno(EFAULT); in cma_test_invalid_protection() 386 cma_check_errno(EFAULT); in cma_test_invalid_protection()
|
/third_party/ltp/testcases/kernel/syscalls/name_to_handle_at/ |
D | name_to_handle_at02.c | 33 {"invalid-path", AT_FDCWD, &invalid_path, 0, &valid_fhp, &valid_mount_id, EFAULT}, 34 {"invalid-file-handle", AT_FDCWD, &valid_path, 0, &invalid_fhp, &valid_mount_id, EFAULT}, 37 {"invalid-mount_id", AT_FDCWD, &valid_path, 0, &valid_fhp, &invalid_mount_id, EFAULT},
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl03.c | 48 {&sem_id, GETALL, &bad_ptr, EFAULT, "invalid union arg"}, 49 {&sem_id, IPC_SET, &bad_ptr, EFAULT, "invalid union arg"} 68 if (tc->error == EFAULT && tv->semctl == libc_semctl) { in verify_semctl()
|
/third_party/ltp/testcases/kernel/syscalls/init_module/ |
D | init_module02.c | 40 {"NULL-buffer", &null_buf, &size, "", 0, 0, EFAULT}, 41 {"faulty-buffer", &faulty_buf, &size, "", 0, 0, EFAULT}, 42 {"null-param", &buf, &size, NULL, 0, 1, EFAULT},
|
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ |
D | ltp_tbio.c | 85 return -EFAULT; in send_request() 90 return -EFAULT; in send_request() 100 return -EFAULT; in send_request() 115 return -EFAULT; in send_request() 129 return -EFAULT; in tbio_io() 295 return -EFAULT; in test_bio_split() 302 return -EFAULT; in test_bio_split()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_peeloff.c | 65 SCTP_LTRACE_ERR_RET(NULL, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EFAULT); in sctp_can_peel_off() 66 return (EFAULT); in sctp_can_peel_off() 99 SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EFAULT); in sctp_do_peeloff() 100 return (EFAULT); in sctp_do_peeloff() 184 SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EFAULT); in sctp_get_peeloff() 185 *error = EFAULT; in sctp_get_peeloff()
|
/third_party/ltp/testcases/kernel/syscalls/clone3/ |
D | clone302.c | 35 {"invalid args", &invalid_args, sizeof(*valid_args), 0, NULL, SIGCHLD, 0, 0, 0, EFAULT}, 38 {"extra size", &valid_args, sizeof(*valid_args) + 1, 0, NULL, SIGCHLD, 0, 0, 0, EFAULT}, 42 …pidfd", &valid_args, sizeof(*valid_args), CLONE_PIDFD, &invalid_address, SIGCHLD, 0, 0, 0, EFAULT},
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | usbd_generic_epfile.c | 81 return -EFAULT; in generic_epfile_submit_sync() 93 return -EFAULT; in generic_epfile_submit_sync() 103 return -EFAULT; in generic_epfile_submit_sync() 108 return -EFAULT; in generic_epfile_submit_sync() 354 return -EFAULT; in generic_epfile_handle_read() 430 return -EFAULT; in generic_epfile_handle_ioctl() 449 return -EFAULT; in generic_epfile_handle_ioctl() 459 return -EFAULT; in generic_epfile_handle_ioctl() 479 return -EFAULT; in generic_epfile_handle_ioctl() 506 return -EFAULT; in generic_epfile_handle_ioctl() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
D | msgctl04.c | 46 {&msg_id2, IPC_STAT, (struct msqid_ds *)-1, EFAULT}, 48 {&msg_id2, IPC_SET, (struct msqid_ds *)-1, EFAULT}, 73 if (tc[i].error == EFAULT && in verify_msgctl()
|
/third_party/ltp/testcases/kernel/syscalls/getsockname/ |
D | getsockname01.c | 90 &sinlen, -1, EFAULT, setup1, cleanup1, 94 NULL, -1, EFAULT, setup1, cleanup1, 98 (socklen_t *) 1, -1, EFAULT, setup1, cleanup1,
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl02.c | 64 {&shm_id2, IPC_SET, (struct shmid_ds *)-1, EFAULT}, 65 {&shm_id2, IPC_STAT, (struct shmid_ds *)-1, EFAULT}, 92 if (tc[i].error == EFAULT && tv->shmctl == libc_shmctl) { in verify_shmctl()
|
/third_party/ltp/testcases/kernel/syscalls/io_pgetevents/ |
D | io_pgetevents02.c | 35 {"invalid events", &ctx, 1, 1, NULL, &to, &sigmask, EFAULT}, 36 {"invalid timeout", &ctx, 1, 1, events, NULL, &sigmask, EFAULT}, 37 {"invalid sigmask", &ctx, 1, 1, events, &to, NULL, EFAULT},
|
/third_party/ltp/testcases/kernel/syscalls/access/ |
D | access03.c | 34 TST_EXP_FAIL(access(tc->addr, tc->mode), EFAULT, in verify_access() 43 TST_EXP_FAIL(access(tc->addr, tc->mode), EFAULT, in verify_access()
|
/third_party/ltp/testcases/kernel/syscalls/getpeername/ |
D | getpeername01.c | 71 {-1, (struct sockaddr *)-1, &sinlen, -1, EFAULT, setup4, cleanup4, 73 {-1, (struct sockaddr *)&fsin1, NULL, -1, EFAULT, setup4, 75 {-1, (struct sockaddr *)&fsin1, (socklen_t *)1, -1, EFAULT, setup4,
|
/third_party/ltp/testcases/kernel/syscalls/chroot/ |
D | chroot03.c | 41 {(char *)-1, EFAULT, "chroot(an invalid address)"}, 60 if (tcases[i].error == EFAULT) in setup()
|