Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 20 of 20) 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
Dpthread_mutex.cpp268 static Lock lock; variable
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp373 ScopedConcurrentLock lock; in debug_get_malloc_leak_info() local
408 ScopedConcurrentLock lock; in debug_malloc_usable_size() local
473 ScopedConcurrentLock lock; in debug_malloc() local
550 ScopedConcurrentLock lock; in debug_free() local
569 ScopedConcurrentLock lock; in debug_memalign() local
649 ScopedConcurrentLock lock; in debug_realloc() local
769 ScopedConcurrentLock lock; in debug_calloc() local
836 ScopedConcurrentLock lock; in debug_malloc_info() local
891 ScopedConcurrentLock lock; in debug_malloc_iterate() local
906 ScopedConcurrentLock lock; in debug_malloc_disable() local
[all …]
DMapData.cpp180 std::lock_guard<std::mutex> lock(m_); in find() local
DRecordData.cpp122 std::lock_guard<std::mutex> lock(dump_lock_); in Dump() local
/bionic/libc/private/
Dbionic_lock.h59 void lock() { in lock() function
88 explicit LockGuard(Lock& lock) : lock_(lock) { in LockGuard()
/bionic/libfdtrack/
Dfdtrack.cpp101 std::lock_guard<std::mutex> lock(entry->mutex); in fd_hook() local
107 std::lock_guard<std::mutex> lock(entry->mutex); in fd_hook() local
/bionic/benchmarks/
Dpthread_benchmark.cpp148 pthread_rwlock_t lock; in BM_pthread_rwlock_read() local
161 pthread_rwlock_t lock; in BM_pthread_rwlock_write() local
/bionic/libc/kernel/uapi/drm/
Ddrm_sarea.h48 struct drm_hw_lock lock; member
Ddrm.h49 #define _DRM_LOCK_IS_HELD(lock) ((lock) & _DRM_LOCK_HELD) argument
50 #define _DRM_LOCK_IS_CONT(lock) ((lock) & _DRM_LOCK_CONT) argument
51 #define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD | _DRM_LOCK_CONT)) argument
73 __volatile__ unsigned int lock; member
Dvia_drm.h114 __u32 lock; member
/bionic/tests/
Dpthread_test.cpp916 pthread_rwlock_t lock; member
976 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
987 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedwrlock_monotonic_np(lock, &ts); }); in TEST()
998 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
1004 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
1043 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1054 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedrdlock_monotonic_np(lock, &ts); }); in TEST()
1065 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1071 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1163 pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; in TEST() local
[all …]
Ddlfcn_test.cpp1433 std::unique_lock<std::mutex> lock(mtx); in TEST() local
1461 std::unique_lock<std::mutex> lock(mtx); in TEST() local
1501 std::unique_lock<std::mutex> lock(mtx); in TEST() local
/bionic/tools/versioner/src/
DDriver.cpp176 std::unique_lock<std::mutex> lock(cc1_init_mutex); in generateTargetCC1Flags() local
DDeclarationDatabase.cpp339 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.h350 __u32 lock; member
Dcdrom.h641 __u8 lock : 1; member
643 __u8 lock : 1; member
Dperf_event.h258 __u32 lock; member
/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