Home
last modified time | relevance | path

Searched defs:test_case_t (Results 1 – 25 of 121) sorted by relevance

12345

/third_party/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt01.c69 struct test_case_t { /* test case structure */ struct
70 int domain; /* PF_INET, PF_UNIX, ... */
71 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
72 int proto; /* protocol number (usually 0 = default) */
73 int level; /* IPPROTO_* */
74 int optname;
75 void *optval;
76 socklen_t *optlen;
77 struct sockaddr *sin;
78 int salen;
[all …]
/third_party/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair01.c24 struct test_case_t { struct
25 int domain;
49 struct test_case_t *tc = &tdat[n]; in verify_socketpair() argument
/third_party/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c67 struct test_case_t { struct
68 int domain; /* PF_INET, PF_UNIX, ... */
69 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
70 int proto; /* protocol number (usually 0 = default) */
71 int cmd; /* IPPROTO_* */
72 void *arg;
73 struct sockaddr *sin;
74 int salen;
75 int retval; /* syscall return value */
76 int experrno; /* expected errno */
[all …]
/third_party/ltp/testcases/kernel/syscalls/getsockname/
Dgetsockname01.c67 struct test_case_t { /* test case structure */ struct
68 int domain; /* PF_INET, PF_UNIX, ... */
69 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
70 int proto; /* protocol number (usually 0 = default) */
71 struct sockaddr *sockaddr; /* socket address buffer */
72 socklen_t *salen; /* getsockname's 3rd argument */
73 int retval; /* syscall return value */
74 int experrno; /* expected errno */
75 void (*setup) (void);
76 void (*cleanup) (void);
[all …]
/third_party/ltp/testcases/kernel/syscalls/listen/
Dlisten01.c66 struct test_case_t { /* test case structure */ struct
67 int domain; /* PF_INET, PF_UNIX, ... */
68 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
69 int proto; /* protocol number (usually 0 = default) */
70 int backlog; /* connect's 3rd argument */
71 int retval; /* syscall return value */
72 int experrno; /* expected errno */
73 void (*setup) (void);
74 void (*cleanup) (void);
75 char *desc;
/third_party/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid02.c26 struct test_case_t { struct
39 static struct test_case_t test_cases[] = { argument
Dsetresgid03.c22 struct test_case_t { struct
34 static struct test_case_t test_cases[] = { argument
Dsetresgid01.c83 struct test_case_t { /* test case structure */ struct
103 static struct test_case_t tdat[] = { argument
/third_party/ltp/testcases/kernel/syscalls/socket/
Dsocket01.c23 struct test_case_t { struct
45 struct test_case_t *tc = &tdat[n]; in verify_socket() argument
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop02.c41 static struct test_case_t { struct
42 int semtimedop_only;
43 int *semid;
44 struct sembuf **buf;
45 short *sem_op;
46 unsigned short ctl_sem_num;
47 unsigned short sem_num;
48 short sem_flg;
49 unsigned t_ops;
50 int arr_val;
[all …]
/third_party/ltp/testcases/kernel/syscalls/recvfrom/
Drecvfrom01.c77 struct test_case_t { /* test case structure */ struct
78 int domain; /* PF_INET, PF_UNIX, ... */
79 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
80 int proto; /* protocol number (usually 0 = default) */
81 void *buf; /* recv data buffer */
82 size_t buflen; /* recv's 3rd argument */
83 unsigned flags; /* recv's 4th argument */
84 struct sockaddr *from; /* from address */
85 socklen_t *salen; /* from address value/result buffer length */
86 int retval; /* syscall return value */
[all …]
/third_party/ltp/testcases/kernel/syscalls/sendto/
Dsendto01.c54 struct test_case_t { /* test case structure */ struct
55 int domain; /* PF_INET, PF_UNIX, ... */
56 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
80 struct test_case_t tdat[] = { argument
/third_party/ltp/testcases/kernel/syscalls/mremap/
Dmremap05.c50 struct test_case_t { struct
60 void (*setup) (struct test_case_t *); argument
61 void (*cleanup) (struct test_case_t *); argument
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c85 struct test_case_t { /* test case structure */ struct
104 struct test_case_t tdat[] = { argument
/third_party/ltp/testcases/kernel/syscalls/send/
Dsend01.c55 struct test_case_t { /* test case structure */ struct
78 static struct test_case_t tdat[] = { argument
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c91 struct test_case_t { /* test case structure */ struct
92 int domain; /* PF_INET, PF_UNIX, ... */
93 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
94 int proto; /* protocol number (usually 0 = default) */
95 struct iovec *iov;
96 int iovcnt;
97 void *buf; /* recv data buffer */
98 int buflen; /* recv buffer length */
99 struct msghdr *msg;
100 unsigned flags;
[all …]
/third_party/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c52 struct test_case_t { struct
53 int sockfd;
54 struct sockaddr *sockaddr;
55 socklen_t *addrlen;
56 int expretval;
57 int experrno;
58 void (*setup) (int);
59 void (*cleanup) (int);
60 char *name;
/third_party/ltp/testcases/kernel/syscalls/recv/
Drecv01.c70 struct test_case_t { /* test case structure */ struct
71 int domain; /* PF_INET, PF_UNIX, ... */
72 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
73 int proto; /* protocol number (usually 0 = default) */
74 void *buf; /* recv data buffer */
75 int buflen; /* recv's 3rd argument */
76 unsigned flags; /* recv's 4th argument */
77 int retval; /* syscall return value */
78 int experrno; /* expected errno */
79 void (*setup) (void);
[all …]
/third_party/ltp/testcases/kernel/syscalls/ustat/
Dustat02.c25 static struct test_case_t { struct
26 char *err_desc;
27 int exp_errno;
28 char *exp_errval;
29 dev_t *dev;
30 struct ustat *buf;
/third_party/ltp/testcases/kernel/syscalls/syslog/
Dsyslog12.c88 struct test_case_t { /* test case structure */ struct
111 static struct test_case_t tdat[] = { argument
Dsyslog11.c78 struct test_case_t { /* test case structure */ struct
99 static struct test_case_t tdat[] = { argument
/third_party/ltp/testcases/kernel/syscalls/socketcall/
Dsocketcall02.c23 struct test_case_t { struct
24 int call;
25 unsigned long *args;
26 int exp_err;
27 char *desc;
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait03.c33 static struct test_case_t { struct
34 int *epfd;
35 struct epoll_event **ev;
36 int maxevents;
37 int exp_errno;
38 const char *desc;
/third_party/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile09.c33 static struct test_case_t { struct
34 char *desc;
35 off_t offset;
36 int64_t count;
37 int64_t exp_retval;
38 int64_t exp_updated_offset;
/third_party/ltp/testcases/kernel/syscalls/connect/
Dconnect01.c70 struct test_case_t { /* test case structure */ struct
71 int domain; /* PF_INET, PF_UNIX, ... */
72 int type; /* SOCK_STREAM, SOCK_DGRAM ... */
73 int proto; /* protocol number (usually 0 = default) */
74 struct sockaddr *sockaddr; /* socket address buffer */
75 int salen; /* connect's 3rd argument */
76 int retval; /* syscall return value */
77 int experrno; /* expected errno */
78 void (*setup) (void);
79 void (*cleanup) (void);
[all …]

12345