Lines Matching refs:e
45 int e = LOCK (&m1); in tf() local
46 if (e != 0) in tf()
48 printf ("%ld: child: mutex_lock m1 failed with error %d\n", round, e); in tf()
52 e = LOCK (&m2); in tf()
53 if (e != 0) in tf()
55 printf ("%ld: child: mutex_lock m2 failed with error %d\n", round, e); in tf()
59 e = pthread_barrier_wait (&b); in tf()
60 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in tf()
66 e = pthread_barrier_wait (&b); in tf()
67 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in tf()
107 int e = pthread_mutex_init (&m1, &a); in do_test() local
108 if (e == ENOTSUP) in do_test()
113 else if (e != 0) in do_test()
164 int e = pthread_barrier_wait (&b); in do_test() local
165 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in do_test()
177 e = pthread_barrier_wait (&b); in do_test()
178 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in do_test()
201 e = LOCK (&m1); in do_test()
202 if (e == 0) in do_test()
207 if (e != EOWNERDEAD) in do_test()
213 e = LOCK (&m2); in do_test()
214 if (e == 0) in do_test()
219 if (e != EOWNERDEAD) in do_test()
243 e = pthread_mutex_consistent (&m1); in do_test()
244 if (e != 0) in do_test()
246 printf ("%ld: mutex_consistent m1 failed with error %d\n", round, e); in do_test()
250 e = pthread_mutex_consistent (&m2); in do_test()
251 if (e != 0) in do_test()
253 printf ("%ld: mutex_consistent m2 failed with error %d\n", round, e); in do_test()
258 e = pthread_mutex_unlock (&m1); in do_test()
259 if (e != 0) in do_test()
261 printf ("%ld: mutex_unlock m1 failed with %d\n", round, e); in do_test()
265 e = pthread_mutex_unlock (&m2); in do_test()
266 if (e != 0) in do_test()
268 printf ("%ld: mutex_unlock m2 failed with %d\n", round, e); in do_test()
273 e = LOCK (&m1); in do_test()
274 if (e == 0) in do_test()
279 if (e != ENOTRECOVERABLE) in do_test()
282 round, e); in do_test()
292 e = LOCK (&m2); in do_test()
293 if (e == 0) in do_test()
298 if (e != ENOTRECOVERABLE) in do_test()
301 round, e); in do_test()