/nptl/ |
A D | tst-rwlock2.c | 28 int e; in do_test() local 69 e = pthread_rwlock_tryrdlock (&r); in do_test() 70 if (e == 0) in do_test() 75 if (e != EBUSY) in do_test() 82 e = pthread_rwlock_trywrlock (&r); in do_test() 83 if (e == 0) in do_test() 88 if (e != EBUSY) in do_test() 110 if (e == 0) in do_test() 115 if (e != EBUSY) in do_test() 137 if (e == 0) in do_test() [all …]
|
A D | tst-rwlock3.c | 31 int e; in do_test() local 47 e = pthread_rwlock_rdlock (&r); in do_test() 48 if (e == 0) in do_test() 53 if (e != EDEADLK) in do_test() 60 e = pthread_rwlock_wrlock (&r); in do_test() 61 if (e == 0) in do_test() 66 if (e != EDEADLK) in do_test()
|
A D | tst-attr2.c | 52 if (e != 0) in do_test() 69 if (e != 0) in do_test() 100 if (e != 0) in do_test() 117 if (e != 0) in do_test() 147 if (e != 0) in do_test() 164 if (e != 0) in do_test() 194 if (e != 0) in do_test() 211 if (e != 0) in do_test() 228 if (e != 0) in do_test() 260 if (e != 0) in do_test() [all …]
|
A D | tst-mutex8.c | 54 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in tf() 96 int e; in check_type() local 106 if (e != 0) in check_type() 123 if (e != 0) in check_type() 159 if (e == 0) in check_type() 164 if (e != EBUSY) in check_type() 189 if (e == 0) in check_type() 219 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in check_type() 241 if (e == 0) in check_type() 294 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in check_type() [all …]
|
A D | tst-rwlock15.c | 41 int e = pthread_rwlock_timedwrlock (&r, &ts); in writer() local 42 if (e != ETIMEDOUT) in writer() 57 int e; in reader() local 58 while ((e = pthread_rwlock_tryrdlock (&r)) != EBUSY) in reader() 60 if (e != 0) in reader() 64 e = pthread_rwlock_rdlock (&r); in reader() 65 if (e != 0) in reader()
|
A D | tst-clock2.c | 34 int e = pthread_barrier_wait (&b2); in tf() local 35 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in tf() 41 e = pthread_barrier_wait (&bN); in tf() 42 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in tf() 104 int e; in do_test() local 113 e = pthread_barrier_wait (&b2); in do_test() 114 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in do_test()
|
A D | tst-rwlock9.c | 72 int e; in writer_thread() local 82 e = (clockid == CLOCK_USE_TIMEDLOCK) in writer_thread() 85 if (e != 0 && e != ETIMEDOUT) in writer_thread() 88 while (e == ETIMEDOUT); in writer_thread() 119 int e; in reader_thread() local 129 e = pthread_rwlock_timedrdlock (&lock, &ts); in reader_thread() 131 e = pthread_rwlock_clockrdlock (&lock, clockid, &ts); in reader_thread() 132 if (e != 0 && e != ETIMEDOUT) in reader_thread() 135 while (e == ETIMEDOUT); in reader_thread()
|
A D | tst-cond22.c | 26 int e = pthread_barrier_wait (&b); in tf() local 27 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in tf() 71 int e = pthread_barrier_wait (&b); in do_test() local 72 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in do_test() 123 e = pthread_barrier_wait (&b); in do_test() 124 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in do_test()
|
A D | tst-sched1.c | 78 int e = pthread_join (th, NULL); in do_test() local 79 if (e != 0) in do_test() 81 printf ("join failed: %d\n", e); in do_test()
|
A D | tst-tpp.h | 85 int e = pthread_setschedparam (pthread_self (), SCHED_FIFO, &sp); in init_tpp_test() local 86 if (e != 0) in init_tpp_test() 88 errno = e; in init_tpp_test()
|
A D | tst-cleanup4.c | 168 int e = pthread_barrier_wait (&b2); in do_test() local 169 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in do_test() 178 if ((e = pthread_join (th, &r)) != 0) in do_test() 180 printf ("join failed: %d\n", e); in do_test()
|
A D | tst-minstack-throw.cc | 67 catch (std::exception &e) in threadfunc() local 69 TEST_COMPARE (strcmp (e.what (), "test exception"), 0); in threadfunc()
|
A D | pthread_mutex_timedlock.c | 366 if (e == ETIMEDOUT) in __pthread_mutex_clocklock_common() 368 else if (e == ESRCH || e == EDEADLK) in __pthread_mutex_clocklock_common() 370 assert (e != EDEADLK in __pthread_mutex_clocklock_common() 375 assert (e != ESRCH || !robust); in __pthread_mutex_clocklock_common() 380 e = __futex_abstimed_wait64 (&(unsigned int){0}, 0, clockid, in __pthread_mutex_clocklock_common() 382 while (e != ETIMEDOUT); in __pthread_mutex_clocklock_common() 385 else if (e != 0) in __pthread_mutex_clocklock_common() 386 return e; in __pthread_mutex_clocklock_common() 529 int e = __futex_abstimed_wait64 ( in __pthread_mutex_clocklock_common() local 532 if (e == ETIMEDOUT || e == EOVERFLOW) in __pthread_mutex_clocklock_common() [all …]
|
A D | tst-setuid1.c | 886 int e = pthread_barrier_wait (&b4); in tf2() local 887 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in tf2() 903 int e = pthread_barrier_wait (&b3); in tf() local 904 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in tf() 959 if (e != 0) in do_one_test() 967 if (e != 0) in do_one_test() 973 e = pthread_barrier_wait (&b3); in do_one_test() 974 if (e != 0 && e != PTHREAD_BARRIER_SERIAL_THREAD) in do_one_test() 984 if (e != 0) in do_one_test() 990 e = pthread_barrier_wait (&b4); in do_one_test() [all …]
|
A D | tst-mutexpp10.c | 110 int e = pthread_mutex_init (&m1, &ma); in do_test() local 111 if (e == ENOTSUP) in do_test() 116 else if (e != 0) in do_test()
|
A D | tst-rwlock6.c | 123 int e = (clockid == CLOCK_USE_TIMEDLOCK) in do_test_clock() local 126 if (e != 0) in do_test_clock() 128 cnt, fnname, e); in do_test_clock()
|
A D | pthread_mutex_init.c | 44 int e = futex_unlock_pi (&(unsigned int){0}, 0); in prio_inherit_missing() local 45 atomic_store_relaxed (&tpi_supported, e == ENOSYS ? -1 : 1); in prio_inherit_missing()
|
A D | tst-tls6.sh | 35 for aligned in a e f; do
|
A D | TODO-kernel | 19 - the scheduler should be thread group-aware, i.e., it has to give time to
|
A D | pthread_mutex_lock.c | 430 int e = __futex_lock_pi64 (&mutex->__data.__lock, 0 /* ununsed */, in __pthread_mutex_lock_full() local 432 if (e == ESRCH || e == EDEADLK) in __pthread_mutex_lock_full() 434 assert (e != EDEADLK in __pthread_mutex_lock_full() 439 assert (e != ESRCH || !robust); in __pthread_mutex_lock_full()
|
A D | pthread_mutex_trylock.c | 291 int e = INTERNAL_SYSCALL_CALL (futex, &mutex->__data.__lock, in ___pthread_mutex_trylock() local 295 if (INTERNAL_SYSCALL_ERROR_P (e) in ___pthread_mutex_trylock() 296 && INTERNAL_SYSCALL_ERRNO (e) == EWOULDBLOCK) in ___pthread_mutex_trylock()
|