Home
last modified time | relevance | path

Searched defs:test_case (Results 1 – 25 of 134) sorted by relevance

123456

/third_party/ltp/testcases/kernel/syscalls/utils/
Dmq_timed.h25 struct test_case { struct
26 int *fd;
27 unsigned int len;
28 unsigned int prio;
29 struct tst_ts *rq;
30 long tv_sec;
31 long tv_nsec;
32 int invalid_msg;
33 int send;
34 int signal;
[all …]
/third_party/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt01.c24 static struct test_case { /* test case structure */ struct
25 int domain; /* PF_INET, PF_UNIX, ... */
26 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
27 int proto; /* protocol number (usually 0 = default) */
28 int level; /* IPPROTO_* */
29 int optname;
30 void *optval;
31 int optlen;
32 int experrno; /* expected errno */
33 char *desc;
/third_party/ltp/testcases/kernel/syscalls/fgetxattr/
Dfgetxattr02.c68 struct test_case { struct
81 static struct test_case tc[] = { argument
/third_party/ltp/testcases/kernel/syscalls/fsetxattr/
Dfsetxattr02.c61 struct test_case { struct
73 static struct test_case tc[] = { argument
Dfsetxattr01.c63 struct test_case { struct
72 struct test_case tc[] = { argument
/third_party/ltp/testcases/kernel/syscalls/membarrier/
Dmembarrier01.c28 struct test_case { struct
43 struct test_case tc[] = { argument
/third_party/ltp/testcases/kernel/syscalls/accept/
Daccept01.c33 static struct test_case { struct
34 int domain; /* PF_INET, PF_UNIX, ... */
35 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
36 int proto; /* protocol number (usually 0 = default) */
37 int *fd; /* File descriptor for the test case */
38 struct sockaddr *sockaddr; /* socket address buffer */
39 socklen_t salen; /* accept's 3rd argument */
40 int experrno; /* expected errno */
41 char *desc;
/third_party/ltp/testcases/kernel/syscalls/bind/
Dlibbind.h23 struct test_case { struct
24 int type, protocol;
25 struct sockaddr *address;
26 socklen_t addrlen;
27 const char *description;
Dbind01.c26 static struct test_case { struct
48 struct test_case *tcase = &tcases[nr]; in verify_bind() argument
/third_party/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr02.c57 struct test_case { struct
66 static struct test_case tc[] = { argument
Dsetxattr01.c61 struct test_case { struct
69 struct test_case tc[] = { argument
Dsetxattr03.c49 struct test_case { struct
58 static struct test_case tc[] = { argument
/third_party/ltp/testcases/kernel/syscalls/clock_nanosleep/
Dclock_nanosleep01.c40 struct test_case { struct
51 static struct test_case tcase[] = { argument
/third_party/ltp/testcases/kernel/syscalls/setdomainname/
Dsetdomainname02.c14 struct test_case { struct
28 struct test_case *tcase = &tcases[nr]; in verify_setdomainname() argument
/third_party/ltp/testcases/kernel/syscalls/sysfs/
Dsysfs05.c16 static struct test_case { struct
31 struct test_case *tc = &tcases[nr]; in verify_sysfs05() argument
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/
Drecvmmsg01.c29 struct test_case { struct
39 static struct test_case tcase[] = { argument
/third_party/ltp/testcases/kernel/syscalls/kcmp/
Dkcmp02.c36 static struct test_case { struct
43 } test_cases[] = { argument
Dkcmp01.c29 static struct test_case { struct
36 } test_cases[] = { argument
55 static void do_child(const struct test_case *test) in do_child() argument
/third_party/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c34 struct test_case { struct
35 int ttype; /* test type (enum) */
36 const char *desc; /* test description (name) */
37 int ret; /* expected ret code */
38 int err; /* expected errno code */
39 short expect_revents; /* expected revents value */
40 unsigned int nfds; /* nfds ppoll parameter */
41 sigset_t *sigmask; /* sigmask ppoll parameter */
42 sigset_t *sigmask_cur; /* sigmask set for current process */
43 struct tst_ts *ts; /* ts ppoll parameter */
[all …]
/third_party/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c30 struct test_case { struct
50 static struct test_case tcase[] = { argument
/third_party/ltp/testcases/kernel/syscalls/clock_settime/
Dclock_settime02.c21 struct test_case { struct
29 struct test_case tc[] = { argument
/third_party/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c39 struct test_case { struct
50 static struct test_case tcase[] = { argument
/third_party/ltp/testcases/kernel/syscalls/sched_getattr/
Dsched_getattr02.c47 static struct test_case { struct
61 static void sched_getattr_verify(const struct test_case *test); argument
/third_party/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy02.c36 struct test_case { struct
44 static struct test_case tcase[] = { argument
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise10.c58 static const struct test_case { struct
76 static void cmp_area(char *addr, const struct test_case *tc) in cmp_area() argument

123456