Searched refs:global_lock (Results 1 – 10 of 10) sorted by relevance
54 mutex global_lock; member58 GUARDED_BY(global_lock);60 TraceMeRecorder::Events orphaned_events GUARDED_BY(global_lock);157 mutex_lock lock(g_data->global_lock); in ThreadLocalRecorder()164 mutex_lock lock(g_data->global_lock); in ~ThreadLocalRecorder()173 EXCLUSIVE_LOCKS_REQUIRED(g_data->global_lock) { in Clear()187 TraceMeRecorder::Events Clear() EXCLUSIVE_LOCKS_REQUIRED(g_data->global_lock) { in Clear()201 mutex_lock lock(g_data->global_lock); in Start()221 mutex_lock lock(g_data->global_lock); in Stop()230 mutex_lock lock(g_data->global_lock); in Collect()
24 static sys::Mutex* global_lock = 0; variable30 global_lock = new sys::Mutex(true); in llvm_start_multithreaded()50 delete global_lock; in llvm_stop_multithreaded()59 if (multithreaded_mode) global_lock->acquire(); in llvm_acquire_global_lock()63 if (multithreaded_mode) global_lock->release(); in llvm_release_global_lock()
37 static std::mutex global_lock; variable60 std::lock_guard<std::mutex> lock(global_lock); in GetOriginalPhysicalDeviceLimitsEXT()69 std::lock_guard<std::mutex> lock(global_lock); in SetPhysicalDeviceLimitsEXT()76 std::lock_guard<std::mutex> lock(global_lock); in GetOriginalPhysicalDeviceFormatPropertiesEXT()84 std::lock_guard<std::mutex> lock(global_lock); in SetPhysicalDeviceFormatPropertiesEXT()93 std::lock_guard<std::mutex> lock(global_lock); in CreateInstance()127 std::lock_guard<std::mutex> lock(global_lock); in GetPhysicalDeviceProperties()134 std::lock_guard<std::mutex> lock(global_lock); in GetPhysicalDeviceFormatProperties()
230 struct tdb_lock_type global_lock; member412 if (tdb->global_lock.count && in _tdb_lock()413 (ltype == tdb->global_lock.ltype || ltype == F_RDLCK)) { in _tdb_lock()417 if (tdb->global_lock.count) { in _tdb_lock()507 if (tdb->global_lock.count && in tdb_unlock()508 (ltype == tdb->global_lock.ltype || ltype == F_RDLCK)) { in tdb_unlock()512 if (tdb->global_lock.count) { in tdb_unlock()586 if (tdb->have_transaction_lock || tdb->global_lock.count) { in tdb_transaction_lock()629 if (tdb->global_lock.count && tdb->global_lock.ltype == ltype) { in _tdb_lockall()630 tdb->global_lock.count++; in _tdb_lockall()[all …]
367 u32 global_lock = 0; in acpi_global_lock() local374 status = acpi_acquire_global_lock(ACPI_EC_UDELAY_GLK, &global_lock); in acpi_global_lock()379 status = acpi_release_global_lock(global_lock); in acpi_global_lock()
504 VOIDTEST(global_lock)520 VOIDENT(global_lock)
206 u32 global_lock; /* Global lock */ member
90 tensorflow::mutex_lock global_lock(mu); in LockGpu() local
172 facs->global_lock = 0; in acpi_create_facs()
326 base::AutoLock global_lock(global_lock_); in WaitForIdle() local366 base::AutoLock global_lock(global_lock_); in ForwardEvent() local384 base::AutoLock global_lock(global_lock_); in BroadcastEvent() local