Home
last modified time | relevance | path

Searched refs:EBUSY (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/bionic/
Dpthread_spinlock.cpp58 return lock->lock.trylock() ? 0 : EBUSY; in pthread_spin_destroy()
63 return lock->lock.trylock() ? 0 : EBUSY; in pthread_spin_trylock()
Dpthread_mutex.cpp161 return EBUSY; in PIMutexTryLock()
172 return EBUSY; in PIMutexTryLock()
184 if (ret == EBUSY) { in PIMutexTimedLock()
236 return EBUSY; in PIMutexDestroy()
565 return EBUSY; in NormalMutexTryLock()
805 return EBUSY; in HandleUsingDestroyedMutex()
922 return EBUSY; in pthread_mutex_trylock()
944 return EBUSY; in pthread_mutex_trylock()
958 error = EBUSY; in pthread_mutex_lock_timeout_np()
1033 return EBUSY; in pthread_mutex_destroy()
Dpthread_rwlock.cpp259 return EBUSY; in pthread_rwlock_destroy()
287 return EBUSY; in __pthread_rwlock_tryrdlock()
359 return EBUSY; in __pthread_rwlock_trywrlock()
Dpthread_barrier.cpp179 return EBUSY; in pthread_barrier_destroy()
/bionic/libc/kernel/uapi/asm-generic/
Derrno-base.h24 #define EBUSY 16 macro
/bionic/tests/headers/posix/
Derrno_h.c45 MACRO(EBUSY); in errno_h()
/bionic/libc/private/
Dbionic_errdefs.h54 __BIONIC_ERRDEF(EBUSY, "Device or resource busy")
/bionic/libc/include/bits/
Dthreads_inlines.h46 case EBUSY: return thrd_busy; in __bionic_thrd_error()
/bionic/tests/
Dpthread_test.cpp916 ASSERT_EQ(EBUSY, pthread_rwlock_trywrlock(&l)); in TEST()
917 ASSERT_EQ(EBUSY, pthread_rwlock_tryrdlock(&l)); in TEST()
923 ASSERT_EQ(EBUSY, pthread_rwlock_trywrlock(&l)); in TEST()
966 ASSERT_EQ(EBUSY, arg->trylock_function(&arg->lock)); in pthread_rwlock_wakeup_helper()
1113 ASSERT_EQ(EBUSY, arg->trylock_function(&arg->lock)); in pthread_rwlock_wakeup_timeout_helper()
2143 ASSERT_EQ(EBUSY, pthread_mutex_trylock(&m.lock)); in TestPthreadMutexLockNormal()
2156 ASSERT_EQ(EBUSY, pthread_mutex_trylock(&m.lock)); in TestPthreadMutexLockErrorCheck()
2844 ASSERT_EQ(EBUSY, pthread_barrier_destroy(&barrier)); in TEST()
2907 ASSERT_EQ(EBUSY, pthread_spin_trylock(&lock)); in TEST()
/bionic/docs/
Dstatus.md336 API levels will just have the function fail with EBUSY (matching the likely