Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 16 of 16) sorted by relevance

/bionic/libc/bionic/
Dpthread_spinlock.cpp37 Lock lock; member
46 static inline pthread_spinlock_internal_t* __get_internal_spinlock(pthread_spinlock_t* lock) { in __get_internal_spinlock()
51 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_init() local
57 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_destroy() local
62 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_trylock() local
67 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_lock() local
78 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_unlock() local
/bionic/libc/private/
Dbionic_lock.h59 void lock() { in lock() function
/bionic/benchmarks/
Dpthread_benchmark.cpp99 pthread_rwlock_t lock; in BM_pthread_rwlock_read() local
112 pthread_rwlock_t lock; in BM_pthread_rwlock_write() local
/bionic/libc/malloc_debug/
DMapData.cpp149 std::lock_guard<std::mutex> lock(m_); in find() local
DRecordData.cpp129 std::lock_guard<std::mutex> lock(dump_lock_); in Dump() local
/bionic/libc/kernel/uapi/drm/
Ddrm_sarea.h47 struct drm_hw_lock lock; member
Ddrm.h47 #define _DRM_LOCK_IS_HELD(lock) ((lock) & _DRM_LOCK_HELD) argument
48 #define _DRM_LOCK_IS_CONT(lock) ((lock) & _DRM_LOCK_CONT) argument
49 #define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD | _DRM_LOCK_CONT)) argument
71 __volatile__ unsigned int lock; member
Dvia_drm.h113 __u32 lock; member
/bionic/tools/versioner/src/
DDriver.cpp165 std::unique_lock<std::mutex> lock(cc1_init_mutex); in generateTargetCC1Flags() local
DDeclarationDatabase.cpp285 std::unique_lock<std::mutex> lock(this->mutex); in parseAST() local
/bionic/libc/kernel/uapi/linux/
Ddlm_device.h59 struct dlm_lock_params lock; member
Daudit.h319 __u32 lock; member
Dcdrom.h641 __u8 lock : 1; member
643 __u8 lock : 1; member
Dperf_event.h223 __u32 lock; member
/bionic/tests/
Dpthread_test.cpp802 pthread_rwlock_t lock; member
861 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
897 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
979 pthread_rwlock_t lock; member in RwlockKindTestHelper
1597 pthread_mutex_t lock; member
2070 pthread_spinlock_t lock; in TEST() local
/bionic/libc/tzcode/
Dlocaltime.c22 static int lock(void) { return pthread_mutex_lock(&locallock); } in lock() function
25 static int lock(void) { return 0; } in lock() function