Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/internal/
Dtraceme_recorder.cc54 mutex global_lock; member
58 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()
/external/swiftshader/third_party/LLVM/lib/Support/
DThreading.cpp24 static sys::Mutex* global_lock = 0; variable
30 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()
/external/vulkan-validation-layers/tests/layers/
Ddevice_profile_api.cpp37 static std::mutex global_lock; variable
60 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()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c230 struct tdb_lock_type global_lock; member
412 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 …]
/external/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi_cmds.c367 u32 global_lock = 0; in acpi_global_lock() local
374 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()
/external/u-boot/cmd/
Dtpm_test.c504 VOIDTEST(global_lock)
520 VOIDENT(global_lock)
/external/u-boot/arch/x86/include/asm/
Dacpi_table.h206 u32 global_lock; /* Global lock */ member
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_conv_algorithm_picker.cc90 tensorflow::mutex_lock global_lock(mu); in LockGpu() local
/external/u-boot/arch/x86/lib/
Dacpi_table.c172 facs->global_lock = 0; in acpi_create_facs()
/external/libchrome/mojo/core/ports/
Dports_unittest.cc326 base::AutoLock global_lock(global_lock_); in WaitForIdle() local
366 base::AutoLock global_lock(global_lock_); in ForwardEvent() local
384 base::AutoLock global_lock(global_lock_); in BroadcastEvent() local