HomeSort by relevance Sort by last modified time
    Searched refs:setup1 (Results 1 - 25 of 39) sorted by null

1 2

  /external/ltp/testcases/kernel/syscalls/mlock/
mlock01.c 55 void setup1(int);
73 &addr1, 1, setup1}, {
74 &addr1, 1024, setup1}, {
75 &addr1, 1024 * 1024, setup1}, {
76 &addr1, 1024 * 1024 * 10, setup1}
136 void setup1(int len) function
  /external/ltp/testcases/kernel/syscalls/munlock/
munlock01.c 72 void setup1(int);
86 &addr1, 1, setup1}, {
87 &addr1, 1024, setup1}, {
88 &addr1, 1024 * 1024, setup1}, {
89 &addr1, 1024 * 1024 * 10, setup1}
131 void setup1(int i) function
  /external/ltp/testcases/kernel/syscalls/getsockopt/
getsockopt01.c 65 void setup(void), setup0(void), setup1(void),
97 EFAULT, setup1, cleanup1, "invalid option buffer"}
101 EFAULT, setup1, cleanup1, "invalid optlen"}
107 EOPNOTSUPP, setup1, cleanup1, "invalid level"}
111 -1, EOPNOTSUPP, setup1, cleanup1, "invalid option name"}
115 -1, EOPNOTSUPP, setup1, cleanup1,
120 ENOPROTOOPT, setup1, cleanup1, "invalid option name (IP)"}
124 ENOPROTOOPT, setup1, cleanup1, "invalid option name (TCP)"}
194 void setup1(void) function
  /external/ltp/testcases/kernel/syscalls/setsockopt/
setsockopt01.c 65 void setup(void), setup0(void), setup1(void),
99 sizeof(fsin1), -1, EFAULT, setup1, cleanup1,
106 EINVAL, setup1, cleanup1, "invalid optlen"}
110 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
115 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
120 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
125 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
201 void setup1(void) function
  /external/ltp/testcases/kernel/syscalls/fdatasync/
fdatasync02.c 97 static int setup1(void);
102 {EBADF, "invalid file descriptor", setup1, NULL},
150 int setup1(void) function
  /external/ltp/testcases/kernel/syscalls/iopl/
iopl02.c 86 static int setup1(void);
122 if (setup1()) {
123 /* setup1() failed, skip this test */
162 /* setup1() - set up non-super user for second test case */
163 int setup1(void) function
  /external/ltp/testcases/kernel/syscalls/socketcall/
socketcall04.c 85 void setup1(void);
100 AF_INET, SOCK_STREAM, 6, SYS_LISTEN, setup1, "listen call"};
137 /*setup1()*/
138 void setup1(void) function
socketcall03.c 85 void setup1(void);
100 AF_INET, SOCK_STREAM, 6, SYS_BIND, setup1, "bind call"};
139 /*setup1()*/
140 void setup1(void) function
  /external/ltp/testcases/kernel/syscalls/getsockname/
getsockname01.c 63 void setup(void), setup0(void), setup1(void),
89 &sinlen, -1, EFAULT, setup1, cleanup1,
93 NULL, -1, EFAULT, setup1, cleanup1,
97 (socklen_t *) 1, -1, EFAULT, setup1, cleanup1,
168 void setup1(void) function
  /external/ltp/testcases/kernel/syscalls/accept/
accept01.c 51 static void setup1(void);
76 &sinlen, -1, EINVAL, setup1, cleanup1,
79 (socklen_t *) 1, -1, EINVAL, setup1, cleanup1,
88 &sinlen, -1, EOPNOTSUPP, setup1, cleanup1,
157 static void setup1(void) function
179 setup1(); /* get a socket in s */
187 setup1();
  /external/ltp/testcases/kernel/module/delete_module/
delete_module02.c 60 static void setup1(void);
75 { modname, EPERM, "non-superuser", setup1, cleanup1},
121 static void setup1(void) function
  /external/ltp/testcases/kernel/syscalls/listen/
listen01.c 62 void setup(void), setup0(void), setup1(void),
79 PF_INET, SOCK_DGRAM, 0, 0, -1, EOPNOTSUPP, setup1, cleanup1,
141 void setup1(void) function
  /external/ltp/testcases/kernel/syscalls/mprotect/
mprotect01.c 60 static void setup1(struct test_case *self);
68 {NULL, 0, PROT_READ, ENOMEM, setup1},
121 static void setup1(struct test_case *self) function
  /external/ltp/testcases/kernel/syscalls/setgroups/
setgroups03.c 89 int setup1(); /* setup function to test error EPERM */
102 0, 2, "Permission denied, not super-user", EPERM, setup1}
184 * setup1 - Setup function to test setgroups() which returns -1
190 int setup1(void) function
  /external/ltp/testcases/kernel/syscalls/syslog/
syslog11.c 93 static int setup1(void);
104 {3, &buf, 0, setup1, cleanup1, "type 3/Read ring buffer for non-root "
165 int setup1(void) function
syslog12.c 105 static int setup1(void);
114 {2, &buf, 0, EPERM, setup1, cleanup1, "non-root user"},
186 int setup1(void) function
  /external/ltp/testcases/kernel/module/query_module/
query_module03.c 125 static int setup1(void);
142 "accessible address space", setup1, cleanup1}
146 "results for too small buffer size", setup1, cleanup1},
194 int setup1(void) function
query_module01.c 128 static int setup1(void);
137 setup1, cleanup1},
146 setup1, cleanup1},
149 setup1, cleanup1},
292 int setup1(void) function
  /external/ltp/testcases/kernel/syscalls/connect/
connect01.c 64 void setup(void), setup0(void), setup1(void), setup2(void),
89 sizeof(struct sockaddr_in), -1, EFAULT, setup1,
94 3, -1, EINVAL, setup1, cleanup1, "invalid salen"}, {
104 sizeof(sin2), -1, ECONNREFUSED, setup1, cleanup1,
108 sizeof(sin4), -1, EAFNOSUPPORT, setup1, cleanup1,
203 void setup1(void) function
218 setup1(); /* get a socket in s */
  /external/ltp/testcases/kernel/syscalls/recvfrom/
recvfrom01.c 69 void setup1(void);
104 0, ENOTSOCK, setup1, cleanup1, "invalid socket buffer"},
114 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"},
119 -1, EINVAL, setup1, cleanup1, "invalid MSG_OOB flag set"},
124 -1, EAGAIN, setup1, cleanup1, "invalid MSG_ERRQUEUE flag set"},};
211 void setup1(void) function
232 "client setup1 failed - no message ready in 2 sec");
238 setup1();
  /external/ltp/testcases/kernel/syscalls/sendto/
sendto01.c 71 static void setup1(void);
120 .setup = setup1,
135 .setup = setup1,
163 .setup = setup1,
179 .setup = setup1,
194 .setup = setup1,
222 .setup = setup1,
396 static void setup1(void) function
413 setup1();
  /external/ltp/testcases/kernel/syscalls/ioperm/
ioperm02.c 91 static int setup1(void);
125 if (setup1()) {
126 /* setup1() failed, skip this test */
166 /* setup1() - set up non-super user for second test case */
167 int setup1(void) function
  /external/ltp/testcases/kernel/syscalls/llseek/
llseek02.c 95 int setup1(); /* setup function to test llseek() for EINVAL */
109 1, SEEK_TOP, "'whence' argument is not valid", EINVAL, setup1}, {
207 * setup1() - setup function for a test condition for which llseek(2)
213 int setup1(void) function
269 /* Close the temporary file(s) created in setup1/setup2 */
  /external/ltp/testcases/kernel/syscalls/mknod/
mknod06.c 91 int setup1(); /* setup function to test mknod for EEXIST */
105 "tnode_1", "Specified node already exists", EEXIST, setup1},
259 * setup1() - setup function for a test condition for which mknod(2)
265 int setup1(void) function
269 tst_brkm(TBROK, cleanup, "Fails to create node in setup1()");
  /external/ltp/testcases/kernel/syscalls/pread/
pread02.c 90 int setup1(); /* setup function for test #1 */
104 1, K1, 0, "file descriptor is a PIPE or FIFO", ESPIPE, setup1}, {
204 * setup1() - setup function for a test condition for which pread()
211 int setup1(void) function

Completed in 1075 milliseconds

1 2