/external/ltp/testcases/kernel/syscalls/add_key/ |
add_key02.c | 41 } tcases[] = { variable in typeref:struct:tcase 49 TEST(tst_syscall(__NR_add_key, tcases[i].type, tcases[i].desc, 50 tcases[i].payload, tcases[i].plen, 58 if (TEST_ERRNO == tcases[i].exp_errno) { 65 tst_strerrno(tcases[i].exp_errno)); 73 .tcnt = ARRAY_SIZE(tcases),
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat06.c | 91 } tcases[] = { variable in typeref:struct:test_case_t 106 if (tcases[i].setup != NULL) 107 tcases[i].setup(i); 109 TEST(creat(tcases[i].fname, tcases[i].mode)); 111 if (tcases[i].cleanup != NULL) 112 tcases[i].cleanup(); 119 if (TEST_ERRNO == tcases[i].error) { 125 tst_strerrno(tcases[i].error)); 155 if (tcases[i].fname [all...] |
creat04.c | 40 } tcases[] = { variable in typeref:struct:tcase 49 TEST(creat(tcases[i].fname, 0444)); 52 SAFE_UNLINK(tcases[i].fname); 86 .tcnt = ARRAY_SIZE(tcases),
|
creat01.c | 46 } tcases[] = { variable in typeref:struct:tcase 56 fd = creat(filename, tcases[i].mode);
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
mknod01.c | 53 int tcases[] = { /* modes to give nodes created (1 per text case) */ variable 64 int TST_TOTAL = ARRAY_SIZE(tcases); 83 if (S_ISCHR(tcases[i])) 87 TEST(mknod(PATH, tcases[i], dev)); 92 PATH, tcases[i], dev, TEST_ERRNO, 97 PATH, tcases[i], dev, TEST_RETURN);
|
/external/ltp/testcases/kernel/syscalls/fstatfs/ |
fstatfs01.c | 62 } tcases[2] = { variable in typeref:struct:tcase 67 int TST_TOTAL = ARRAY_SIZE(tcases); 82 TEST(fstatfs(*tcases[i].fd, &stats)); 85 tst_resm(TFAIL | TTERRNO, "%s", tcases[i].msg); 88 tcases[i].msg, stats.f_type);
|
/external/ltp/testcases/kernel/syscalls/nanosleep/ |
nanosleep04.c | 37 static struct timespec tcases[] = { variable in typeref:struct:timespec 43 int TST_TOTAL = ARRAY_SIZE(tcases); 75 verify_nanosleep(&tcases[i]);
|
/external/ltp/testcases/kernel/syscalls/syscall/ |
syscall01.c | 79 static void (*tcases[])(void) = { variable 87 tcases[n](); 93 .tcnt = ARRAY_SIZE(tcases),
|
/external/ltp/testcases/kernel/syscalls/signal/ |
signal01.c | 66 } tcases[] = { variable in typeref:struct:tcase 76 int TST_TOTAL = ARRAY_SIZE(tcases); 120 if (tcases[tc].kill) { 164 void (*sighandler)(int) = tcases[tcase].sighandler; 168 if (tcases[tcase].kill)
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
pwritev01.c | 47 } tcases[] = { variable in typeref:struct:tcase 56 struct tcase *tc = &tcases[n]; 111 .tcnt = ARRAY_SIZE(tcases),
|
pwritev02.c | 71 } tcases[] = { variable in typeref:struct:tcase 83 struct tcase *tc = &tcases[n]; 125 .tcnt = ARRAY_SIZE(tcases),
|
/external/ltp/testcases/kernel/syscalls/request_key/ |
request_key02.c | 50 } tcases[] = { variable in typeref:struct:test_case 58 struct test_case *tc = tcases + n; 112 .tcnt = ARRAY_SIZE(tcases),
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
madvise02.c | 72 } tcases[] = { variable in typeref:struct:tcase 87 for (i = 0; i < ARRAY_SIZE(tcases); i++) { 88 struct tcase *tc = &tcases[i]; 154 struct tcase *tc = &tcases[i]; 184 .tcnt = ARRAY_SIZE(tcases),
|
madvise01.c | 48 } tcases[] = { variable in typeref:struct:tcase 104 struct tcase *tc = &tcases[i]; 124 .tcnt = ARRAY_SIZE(tcases),
|
/external/ltp/testcases/kernel/syscalls/epoll_ctl/ |
epoll_ctl02.c | 62 } tcases[] = { variable in typeref:struct:testcase 102 struct testcase *tc = &tcases[n]; 121 .tcnt = ARRAY_SIZE(tcases),
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
preadv01.c | 47 } tcases[] = { variable in typeref:struct:tcase 57 struct tcase *tc = &tcases[n]; 117 .tcnt = ARRAY_SIZE(tcases),
|
preadv02.c | 74 } tcases[] = { variable in typeref:struct:tcase 87 struct tcase *tc = &tcases[n]; 134 .tcnt = ARRAY_SIZE(tcases),
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl07.c | 76 } tcases[] = { variable in typeref:struct:tcase 83 int TST_TOTAL = ARRAY_SIZE(tcases); 155 verify_cloexec(tcases + i);
|
/external/ltp/testcases/kernel/syscalls/kill/ |
kill11.c | 64 } tcases[] = { variable in typeref:struct:tcase 175 for (i = 0; i < ARRAY_SIZE(tcases); i++) 176 verify_kill(tcases + i);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
1-6.c | 193 struct tcase tcases[] = { variable in typeref:struct:tcase 255 for (i = 0; i < ARRAY_SIZE(tcases); i++) { 256 p.sched_policy = tcases[i].sched_policy; 257 p.sched_priority = get_prio(&tcases[i]);
|
/external/ltp/testcases/kernel/syscalls/access/ |
access01.c | 48 } tcases[] = { variable in typeref:struct:tcase 140 struct tcase *tc = tcases + n; 178 .tcnt = ARRAY_SIZE(tcases),
|