HomeSort by: relevance | last modified time | path
    Searched defs:Mutex (Results 1 - 13 of 13) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/
vts_many_threads_bench.cc 31 class __attribute__((aligned(64))) Mutex {
33 Mutex() { pthread_mutex_init(&m_, NULL); }
34 ~Mutex() { pthread_mutex_destroy(&m_); }
43 Mutex mutexes[kNumMutexes];
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/
dd_rtl.h 23 struct Mutex {
41 typedef AddrHashMap<Mutex, 31051> MutexHashMap;
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_mutex.cc 20 // Simple reader-writer spin-mutex. Optimized for not-so-contended case.
25 // then Report mutex can be locked while under Threads mutex.
55 // If [i][j]==true, then one can lock mutex j while under mutex i.
123 Printf("Mutex %d participates in a cycle\n", i);
211 Mutex::Mutex(MutexType type, StatType stat_type) {
223 Mutex::~Mutex() {
    [all...]
tsan_mutex.h 43 class Mutex {
45 explicit Mutex(MutexType type, StatType stat_type);
46 ~Mutex();
65 Mutex(const Mutex&);
66 void operator = (const Mutex&);
69 typedef GenericScopedLock<Mutex> Lock;
70 typedef GenericScopedReadLock<Mutex> ReadLock;
tsan_report.cc 46 const char *Mutex() { return Magenta(); }
95 return "destroy of a locked mutex";
97 return "double lock of a mutex";
99 return "use of an invalid mutex (e.g. uninitialized or destroyed)";
101 return "unlock of an unlocked mutex (or by a wrong thread)";
103 return "read lock of a write locked mutex";
105 return "read unlock of a write locked mutex";
225 Printf("%sM%zd%s%s", d.Mutex(), rm->id, d.Default(), after);
231 Printf("%sM%zd (%p)%s%s", d.Mutex(), rm->id, rm->addr, d.Default(), after);
237 Printf("%s", d.Mutex());
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/
tsan_test_util.h 32 class Mutex {
44 explicit Mutex(Type type = Normal);
45 ~Mutex();
63 Mutex(const Mutex&);
64 void operator = (const Mutex&);
104 void Create(const Mutex &m);
105 void Destroy(const Mutex &m);
106 void Lock(const Mutex &m);
107 bool TryLock(const Mutex &m)
    [all...]
tsan_test_util_posix.cc 92 Mutex::Mutex(Type type)
97 Mutex::~Mutex() {
101 void Mutex::Init() {
116 void Mutex::StaticInit() {
124 void Mutex::Destroy() {
137 void Mutex::Lock() {
149 bool Mutex::TryLock() {
162 void Mutex::Unlock()
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_allocator.h 179 SpinMutex Mutex{};
182 SpinMutexLock Lock(&Mutex);
232 Mutex() {}
240 Mutex() {}
246 SpinMutexLock L0(&Mutex);
247 SpinMutexLock L1(&O.Mutex);
261 SpinMutexLock L0(&Mutex);
262 SpinMutexLock L1(&O.Mutex);
xray_buffer_queue.h 141 SpinMutex Mutex;
257 SpinMutexLock G(&Mutex);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_deadlock_detector2.cc 77 struct Mutex {
105 Mutex *getMutex(u32 id);
106 u32 getMutexId(Mutex *m);
110 Mutex* mutex[kL1Size]; member in struct:__sanitizer::DD
156 Mutex *DD::getMutex(u32 id) {
157 return &mutex[id / kL2Size][id % kL2Size];
160 u32 DD::getMutexId(Mutex *m) {
162 Mutex *tab = mutex[i]
    [all...]
  /src/sys/external/bsd/acpica/dist/os_specific/service_layers/
oswinxf.c 881 void *Mutex;
921 Mutex = CreateSemaphore (NULL, InitialUnits, MaxUnits, NULL);
922 if (!Mutex)
930 AcpiGbl_Semaphores[i].OsHandle = Mutex;
934 i, MaxUnits, InitialUnits, Mutex));
1160 /* Mutex interfaces, just implement with a semaphore */
  /src/sys/external/bsd/acpica/dist/include/
acobject.h 294 UINT8 SyncLevel; /* 0-15, specified in Mutex() call */
297 ACPI_THREAD_ID ThreadId; /* Current owner of the mutex */
298 struct acpi_thread_state *OwnerThread; /* Current owner of the mutex */
327 union acpi_operand_object *Mutex;
634 ACPI_OBJECT_MUTEX Mutex;
aclocal.h 177 * Mutex typedefs and structs
183 * Predefined handles for the mutex objects used within the subsystem
184 * All mutex objects are automatically created by AcpiUtMutexInitialize.
225 /* This Thread ID means that the mutex is not in use (unlocked) */
241 ACPI_MUTEX Mutex;
881 UINT8 CurrentSyncLevel; /* Mutex Sync (nested acquire) level */

Completed in 21 milliseconds