/external/ltp/testcases/kernel/syscalls/membarrier/ |
D | membarrier01.c | 33 long exp_ret; /* expected return code for given cmd */ member 52 .exp_ret = -1, 65 .exp_ret = -1, 78 .exp_ret = 0, 93 .exp_ret = -1, 105 .exp_ret = 0, 122 .exp_ret = 0, 140 .exp_ret = -1, 152 .exp_ret = 0, 166 .exp_ret = 0, [all …]
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev01.c | 61 int exp_ret; member 69 .exp_ret = -1, 77 .exp_ret = -1, 85 .exp_ret = -1, 93 .exp_ret = 0, 100 .exp_ret = CHUNK, 107 .exp_ret = -1, 133 ret = (TST_RET == tcase->exp_ret); in test_writev() 134 if (TST_RET < 0 || tcase->exp_ret < 0) { in test_writev() 138 tcase->exp_ret, tst_strerrno(tcase->exp_errno), in test_writev() [all …]
|
/external/ltp/testcases/kernel/syscalls/waitid/ |
D | waitid02.c | 60 int exp_ret; member 84 .exp_ret = -1, 92 .exp_ret = -1, 100 .exp_ret = 0, 108 .exp_ret = 0, 115 .exp_ret = 0, 122 .exp_ret = 0, 130 .exp_ret = 0, 139 .exp_ret = -1, 264 if (TEST_RETURN == t->exp_ret) { in test_waitid() [all …]
|
/external/ltp/testcases/kernel/syscalls/fgetxattr/ |
D | fgetxattr02.c | 78 int exp_ret; member 91 .exp_ret = XATTR_TEST_VALUE_SIZE, 102 .exp_ret = XATTR_TEST_VALUE_SIZE, 113 .exp_ret = XATTR_TEST_VALUE_SIZE, 123 .exp_ret = -1, 134 .exp_ret = -1, 145 .exp_ret = -1, 156 .exp_ret = -1, 172 if (tc[i].exp_ret == TST_RET) { in verify_fgetxattr() 249 if (tc[i].exp_ret >= 0) { in setup()
|
D | fgetxattr01.c | 51 int exp_ret; member 59 .exp_ret = -1, 66 .exp_ret = -1, 73 .exp_ret = XATTR_TEST_VALUE_SIZE, 87 if (tc[i].exp_ret == TST_RET) in verify_fgetxattr()
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep01.c | 47 int exp_ret; member 63 .exp_ret = EINVAL, 71 .exp_ret = EINVAL, 79 .exp_ret = EINVAL, 87 .exp_ret = EINTR, 136 if (TST_RET != tc->exp_ret) { in do_test() 139 tc->exp_ret, tst_strerrno(tc->exp_err), tc->exp_err); in do_test()
|
/external/ltp/testcases/kernel/syscalls/setns/ |
D | setns01.c | 49 int exp_ret; member 70 .exp_ret = -1, 76 .exp_ret = -1, 84 .exp_ret = -1, 90 .exp_ret = -1, 96 .exp_ret = -1, 170 if (ret == t->exp_ret) { in test_setns() 179 ret, t->exp_ret); in test_setns()
|
/external/ltp/testcases/kernel/syscalls/mremap/ |
D | mremap05.c | 57 void *exp_ret; member 80 .exp_ret = MAP_FAILED, 89 .exp_ret = MAP_FAILED, 98 .exp_ret = MAP_FAILED, 143 if (t->ret == t->exp_ret) { in test_mremap() 158 t->ret, t->exp_ret); in test_mremap() 184 t->exp_ret = t->new_address; in setup3() 192 t->exp_ret = t->new_address; in setup4()
|
/external/ltp/testcases/kernel/syscalls/readlinkat/ |
D | readlinkat01.c | 58 int exp_ret; member 78 if (TEST_RETURN != test->exp_ret) { in verify_readlinkat() 81 TEST_RETURN, test->exp_ret); in verify_readlinkat() 88 TEST_RETURN, test->exp_ret); in verify_readlinkat() 92 if (test->exp_ret > 0 && strcmp(test->exp_buf, buf)) { in verify_readlinkat()
|
/external/ltp/testcases/kernel/syscalls/fchownat/ |
D | fchownat01.c | 52 int exp_ret; member 111 if (TEST_RETURN != test->exp_ret) { in fchownat_verify() 114 TEST_RETURN, test->exp_ret, test->exp_errno); in fchownat_verify() 121 test->exp_ret, strerror(test->exp_errno)); in fchownat_verify()
|
/external/ltp/testcases/kernel/syscalls/openat/ |
D | openat01.c | 59 int exp_ret; member 75 if ((test->exp_ret == -1 && TEST_RETURN != -1) || in verify_openat() 76 (test->exp_ret == 0 && TEST_RETURN < 0)) { in verify_openat() 79 TEST_RETURN, test->exp_ret); in verify_openat()
|
/external/ltp/testcases/kernel/syscalls/set_thread_area/ |
D | set_thread_area01.c | 42 int exp_ret; member 79 if (TEST_RETURN != tests[i].exp_ret) { in main() 82 TEST_RETURN, tests[i].exp_ret); in main()
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat01.c | 53 int exp_ret; member 70 if (TEST_RETURN != test->exp_ret) { in verify_mkdirat() 73 TEST_RETURN, test->exp_ret); in verify_mkdirat()
|
/external/ltp/testcases/kernel/syscalls/mknodat/ |
D | mknodat01.c | 59 int exp_ret; member 78 if (TEST_RETURN != test->exp_ret) { in verify_mknodat() 81 TEST_RETURN, test->exp_ret); in verify_mknodat()
|
/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid03.c | 27 int *exp_ret; member 132 if (*tc->exp_ret == 0) in run()
|
/external/ltp/testcases/kernel/syscalls/setreuid/ |
D | setreuid03.c | 52 int *exp_ret; member 112 if (TEST_RETURN == *test_data[i].exp_ret) { in main()
|
D | setreuid05.c | 45 int *exp_ret; member 108 if (TEST_RETURN == *test_data[i].exp_ret) { in main()
|