/external/chromium_org/third_party/sqlite/src/src/ |
H A D | os_os2.c | 713 ** Helper functions to obtain and relinquish the global mutex. The 714 ** global mutex is used to protect os2ShmNodeList. 716 ** Function os2ShmMutexHeld() is used to assert() that the global mutex 759 ** Either os2ShmNode.mutex must be held or os2ShmNode.nRef==0 and 765 sqlite3_mutex *mutex; /* Mutex to access this object */ member in struct:os2ShmNode 791 ** All other fields are read/write. The os2Shm.pShmNode->mutex must be held 841 assert( sqlite3_mutex_held(pNode->mutex) || pNode->nRef==0 ); 933 pNode->mutex = sqlite3_mutex_alloc(SQLITE_MUTEX_FAST); 934 if( !pNode->mutex ) { 955 sqlite3_mutex_enter(pNode->mutex); [all...] |
H A D | os_win.c | 356 ** Create the mutex and shared memory used for locking in the file 368 ** to derive a mutex name. */ 374 /* Create/open the named mutex */ 382 /* Acquire the mutex before continuing */ 386 ** case-sensitive, take advantage of that by uppercasing the mutex name 414 /* If shared memory could not be created, then close the mutex and fail */ 436 /* Acquire the mutex */ 458 /* Done with the mutex */ 1227 ** Helper functions to obtain and relinquish the global mutex. The 1228 ** global mutex i 1275 sqlite3_mutex *mutex; /* Mutex to access this object */ member in struct:winShmNode [all...] |
H A D | os_unix.c | 484 ** Helper functions to obtain and relinquish the global mutex. The 485 ** global mutex is used to protect the unixInodeInfo and 489 ** Function unixMutexHeld() is used to assert() that the global mutex 1067 ** The mutex entered using the unixEnterMutex() function must be held 1099 ** The mutex entered using the unixEnterMutex() function must be held 1371 /* This mutex is needed because pFile->pInode is shared across threads 1737 ** It is *not* necessary to hold the mutex when this routine is called, 1738 ** even on VxWorks. A mutex will be acquired on VxWorks by the 2598 /* This mutex is needed because pFile->pInode is shared across threads 3562 ** Either unixShmNode.mutex mus 3568 sqlite3_mutex *mutex; /* Mutex to access this object */ member in struct:unixShmNode [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator.h | 438 GetRegionInfo(i)->mutex.Lock(); 444 GetRegionInfo(i)->mutex.Unlock(); 483 BlockingMutex mutex; member in struct:__sanitizer::SizeClassAllocator64::RegionInfo 515 BlockingMutexLock l(®ion->mutex); 729 SpinMutexLock l(&sci->mutex); 741 SpinMutexLock l(&sci->mutex); 791 GetSizeClassInfo(i)->mutex.Lock(); 797 GetSizeClassInfo(i)->mutex.Unlock(); 829 SpinMutex mutex; member in struct:__sanitizer::SizeClassAllocator32::SizeClassInfo
|
/external/fio/ |
H A D | fio.h | 23 #include "mutex.h" 240 struct fio_mutex *mutex; member in struct:thread_data
|
/external/linux-tools-perf/perf-3.12.0/include/linux/ |
H A D | perf_event.h | 39 #include <linux/mutex.h> 309 * Locked for modification by both ctx->mutex and ctx->lock; holding 388 struct mutex child_mutex; 399 struct mutex mmap_mutex; 461 * Protect the list of events. Locking either mutex or lock 463 * the list you need to lock both the mutex and the spinlock. 465 struct mutex mutex; member in struct:perf_event_context
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/bench/ |
H A D | numa.c | 412 * Return a process-shared (global) mutex: 414 static void init_global_mutex(pthread_mutex_t *mutex) argument 420 pthread_mutex_init(mutex, &attr); 1451 /* This mutex is locked - the last started thread will wake us: */
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 1195 // MutexBase and Mutex implement mutex on pthreads-based platforms. They 1198 // Mutex mutex; 1200 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1205 // the following to define a static mutex: 1209 // You can forward declare a static mutex like this: 1213 // To create a dynamic mutex, just define an object of type Mutex. 1216 // Acquires this mutex. 1222 // Releases this mutex. 1226 // mutex whe 1277 GTestMutexLock(MutexBase* mutex) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
H A D | d3d11_screen.h | 99 maybe_mutex_t<threadsafe> mutex; member in struct:GalliumD3D11ScreenImpl 104 #define SYNCHRONIZED lock_t<maybe_mutex_t<threadsafe> > lock_(mutex)
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 1185 // MutexBase and Mutex implement mutex on pthreads-based platforms. They 1188 // Mutex mutex; 1190 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1195 // the following to define a static mutex: 1199 // You can forward declare a static mutex like this: 1203 // To create a dynamic mutex, just define an object of type Mutex. 1206 // Acquires this mutex. 1212 // Releases this mutex. 1216 // mutex whe 1267 GTestMutexLock(MutexBase* mutex) argument [all...] |
/external/qemu/include/exec/ |
H A D | cpu-all.h | 474 QemuMutex mutex; member in struct:RAMList
|
/external/blktrace/ |
H A D | blktrace.c | 103 * data onto. It's list is protected above (tracer_devpath_head.mutex) 124 * We will use a mutex to guard each of the trace_buf list. The tracers 142 pthread_mutex_t mutex; member in struct:tracer_devpath_head 522 static void t_pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) argument 527 pthread_cond_timedwait(cond, mutex, &ts); 1140 pthread_mutex_destroy(&hd->mutex); 1161 pthread_mutex_init(&hd->mutex, NULL); 1177 pthread_mutex_lock(&hd->mutex); 1179 pthread_mutex_unlock(&hd->mutex); 1399 pthread_mutex_lock(&hd->mutex); [all...] |
/external/chromium_org/testing/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 1607 // Mutex implements mutex on Windows platforms. It is used in conjunction 1610 // Mutex mutex; 1612 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the 1641 // Does nothing if the current thread holds the mutex. Otherwise, crashes 1662 # define GTEST_DECLARE_STATIC_MUTEX_(mutex) \ 1663 extern ::testing::internal::Mutex mutex 1665 # define GTEST_DEFINE_STATIC_MUTEX_(mutex) \ 1666 ::testing::internal::Mutex mutex(::testing::internal::Mutex::kStaticMutex) 1675 explicit GTestMutexLock(Mutex* mutex) argument 1930 GTestMutexLock(MutexBase* mutex) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | r600_pipe.h | 154 pipe_mutex mutex; member in struct:r600_pipe_fences
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
H A D | _os2.h | 182 CRITICAL_SECTION mutex; /* this is recursive on NT */ member in struct:_MDLock 184 HMTX mutex; /* this is recursive on NT */ 371 #define _MD_FREE_LOCK(lock) (DosCloseEventSem(((PRAMSEM)(&((lock)->mutex)))->hevSem)) 372 #define _MD_LOCK(lock) (SemRequest486(&((lock)->mutex), -1)) 373 #define _MD_TEST_AND_LOCK(lock) (SemRequest486(&((lock)->mutex), -1),0) 379 SemReleasex86( &(lock)->mutex, 0 ); \ 384 #define _MD_FREE_LOCK(lock) (DosCloseMutexSem((lock)->mutex)) 385 #define _MD_LOCK(lock) (DosRequestMutexSem((lock)->mutex, SEM_INDEFINITE_WAIT)) 386 #define _MD_TEST_AND_LOCK(lock) (DosRequestMutexSem((lock)->mutex, SEM_INDEFINITE_WAIT),0) 392 DosReleaseMutexSem((lock)->mutex); \ [all...] |
H A D | _win16.h | 154 PRUint32 mutex; member in struct:_MDLock
|
H A D | _win95.h | 172 CRITICAL_SECTION mutex; /* this is recursive on NT */ member in struct:_MDLock 381 #define _MD_NEW_LOCK(lock) (InitializeCriticalSection(&((lock)->mutex)),(lock)->notified.length=0,(lock)->notified.link=NULL,PR_SUCCESS) 382 #define _MD_FREE_LOCK(lock) DeleteCriticalSection(&((lock)->mutex)) 383 #define _MD_LOCK(lock) EnterCriticalSection(&((lock)->mutex)) 384 #define _MD_TEST_AND_LOCK(lock) (EnterCriticalSection(&((lock)->mutex)),0)
|
H A D | _winnt.h | 191 CRITICAL_SECTION mutex; /* this is recursive on NT */ member in struct:_MDLock 395 #define _MD_NEW_LOCK(lock) (InitializeCriticalSection(&((lock)->mutex)),PR_SUCCESS) 396 #define _MD_FREE_LOCK(lock) DeleteCriticalSection(&((lock)->mutex)) 398 #define _MD_LOCK(lock) EnterCriticalSection(&((lock)->mutex)) 399 #define _MD_TEST_AND_LOCK(lock) (TryEnterCriticalSection(&((lock)->mutex))== FALSE) 400 #define _MD_UNLOCK(lock) LeaveCriticalSection(&((lock)->mutex)) 404 BOOL rv = TryEnterCriticalSection(&((lock)->mutex)); \ 409 EnterCriticalSection(&((lock)->mutex)); \ 413 #define _MD_UNLOCK(lock) LeaveCriticalSection(&((lock)->mutex))
|
/external/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 1317 // MutexBase and Mutex implement mutex on pthreads-based platforms. They 1320 // Mutex mutex; 1322 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end 1327 // the following to define a static mutex: 1331 // You can forward declare a static mutex like this: 1335 // To create a dynamic mutex, just define an object of type Mutex. 1338 // Acquires this mutex. 1345 // Releases this mutex. 1350 // mutex whe 1413 GTestMutexLock(MutexBase* mutex) argument [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_pipe.h | 154 pipe_mutex mutex; member in struct:r600_pipe_fences
|
/external/clang/test/SemaCXX/ |
H A D | warn-thread-safety-analysis.cpp | 211 // expected-warning{{releasing mutex 'sls_mu' that was not held}} 217 // expected-warning{{acquiring mutex 'sls_mu' that is already held}} 222 sls_mu.Lock(); // expected-note {{mutex acquired here}} 223 } // expected-warning{{mutex 'sls_mu' is still held at the end of function}} 227 sls_mu.Lock(); // expected-note{{mutex acquired here}} 229 sls_mu2.Lock(); // expected-note{{mutex acquired here}} 230 } // expected-warning{{mutex 'sls_mu' is not held on every path through here}} \ 231 // expected-warning{{mutex 'sls_mu2' is not held on every path through here}} 234 sls_mu.Lock(); // expected-note {{mutex acquired here}} 237 } // expected-warning{{mutex 'sls_m 1967 struct __attribute__((lockable)) mutex { struct in namespace:GoingNative [all...] |
/external/valgrind/main/helgrind/ |
H A D | hg_main.c | 1110 "granted on mutex/rwlock which is currently " 1123 "granted on mutex/wrlock which does not " 1243 lock_ga should refer to a standard mutex. */ 1901 void* mutex, Word mbRec ) 1905 (Int)tid, mbRec, (void*)mutex ); 1908 (Addr)mutex, tid ); 1914 void evh__HG_PTHREAD_MUTEX_DESTROY_PRE( ThreadId tid, void* mutex, argument 1922 (Int)tid, (void*)mutex, (Int)mutex_is_init ); 1928 lk = map_locks_maybe_lookup( (Addr)mutex ); 1931 /* We're destroying a mutex whic 1900 evh__HG_PTHREAD_MUTEX_INIT_POST( ThreadId tid, void* mutex, Word mbRec ) argument 1971 evh__HG_PTHREAD_MUTEX_LOCK_PRE( ThreadId tid, void* mutex, Word isTryLock ) argument 2387 evh__HG_PTHREAD_COND_WAIT_POST( ThreadId tid, void* cond, void* mutex, Bool timeout) argument [all...] |
/external/chromium_org/v8/src/ |
H A D | gdb-jit.cc | 2055 static base::LazyMutex mutex = LAZY_MUTEX_INITIALIZER; member in namespace:v8 2063 base::LockGuard<base::Mutex> lock_guard(mutex.Pointer()); 2110 base::LockGuard<base::Mutex> lock_guard(mutex.Pointer()); 2147 base::LockGuard<base::Mutex> lock_guard(mutex.Pointer());
|
/external/chromium_org/v8/src/heap/ |
H A D | spaces.h | 11 #include "src/base/platform/mutex.h" 1468 base::Mutex* mutex() { return &mutex_; } function in class:v8::internal::FreeListCategory
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
H A D | SDL_malloc.c | 145 etc is surrounded with either a pthread mutex or a win32 264 pthread or WIN32 mutex lock/unlock. (If set true, this can be 2008 If USE_LOCKS is defined, the "mutex" lock is acquired and released 2038 MLOCK_T mutex; /* locate lock among fields that rarely change */ member in struct:malloc_state 2157 #define PREACTION(M) ((GLOBALLY_INITIALIZE() || use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0) 2158 #define POSTACTION(M) { if (use_lock(M)) RELEASE_LOCK(&(M)->mutex); } 2500 INITIAL_LOCK(&gm->mutex); 4422 INITIAL_LOCK(&m->mutex);
|