/aosp_15_r20/external/ltp/testcases/kernel/syscalls/sendmsg/ |
H A D | sendmsg01.c | 85 struct test_case_t { /* test case structure */ struct 104 struct test_case_t tdat[] = { argument
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/recvfrom/ |
H A D | recvfrom01.c | 77 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 …]
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/sendto/ |
H A D | sendto01.c | 54 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
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/sockioctl/ |
H A D | sockioctl01.c | 67 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 …]
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
H A D | semop02.c | 41 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 …]
|
H A D | semop03.c | 23 struct test_case_t { struct 24 union semun semunptr; 25 short op; 26 short flg; 27 short num; 28 int error;
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/mremap/ |
H A D | mremap05.c | 48 struct test_case_t { struct 58 void (*setup) (struct test_case_t *); argument 59 void (*cleanup) (struct test_case_t *); argument
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/send/ |
H A D | send01.c | 55 struct test_case_t { /* test case structure */ struct 78 static struct test_case_t tdat[] = { argument
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/recv/ |
H A D | recv01.c | 70 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 …]
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/listen/ |
H A D | listen01.c | 66 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;
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/connect/ |
H A D | connect01.c | 70 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 …]
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/socketpair/ |
H A D | socketpair01.c | 24 struct test_case_t { struct 47 struct test_case_t *tc = &tdat[n]; in verify_socketpair() argument
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/setresgid/ |
H A D | setresgid02.c | 26 struct test_case_t { struct 39 static struct test_case_t test_cases[] = { argument
|
H A D | setresgid03.c | 22 struct test_case_t { struct 34 static struct test_case_t test_cases[] = { argument
|
H A D | setresgid01.c | 83 struct test_case_t { /* test case structure */ struct 103 static struct test_case_t tdat[] = { argument
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/socket/ |
H A D | socket01.c | 23 struct test_case_t { struct 45 struct test_case_t *tc = &tdat[n]; in verify_socket() argument
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify12.c | 45 static struct test_case_t { struct 46 const char *tname; 47 struct fanotify_mark_type mark; 48 unsigned long long mask; 49 unsigned long long ignore_mask; 50 int event_count; 51 unsigned long long event_set[EVENT_SET_BUF];
|
H A D | fanotify16.c | 76 static struct test_case_t { struct 77 const char *tname; 78 struct fanotify_group_type group; 79 struct fanotify_mark_type mark; 80 unsigned long mask; 81 struct fanotify_mark_type sub_mark; 82 unsigned long sub_mask; 83 unsigned long tmpdir_ignored_mask;
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/getrandom/ |
H A D | getrandom05.c | 23 static struct test_case_t { struct 37 struct test_case_t *tc = &tcases[i]; in verify_getrandom() argument
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/ustat/ |
H A D | ustat02.c | 25 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;
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/epoll_wait/ |
H A D | epoll_wait03.c | 33 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;
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/sendfile/ |
H A D | sendfile09.c | 30 static struct test_case_t { struct 31 char *desc; 32 off_t offset; 33 int64_t count; 34 int64_t exp_retval; 35 int64_t exp_updated_offset;
|
H A D | sendfile02.c | 29 struct test_case_t { struct 30 char *desc; 31 off_t offset; 32 int64_t count; 33 int64_t exp_retval; 34 int64_t exp_updated_offset;
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/pread/ |
H A D | pread02.c | 27 struct test_case_t { struct 41 struct test_case_t *tc = &tcases[n]; in verify_pread() argument
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/unlink/ |
H A D | unlink09.c | 28 static struct test_case_t { struct 29 char *filename; 30 int *fd; 31 int flag; 32 int expected_errno; 33 char *desc;
|