OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Mutex
(Results
1 - 12
of
12
) 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/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/dd/
dd_rtl.h
23
struct
Mutex
{
41
typedef AddrHashMap<
Mutex
, 31051> MutexHashMap;
/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
...]
/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/acpica/dist/os_specific/service_layers/
oswinxf.c
773
void *
Mutex
;
813
Mutex
= CreateSemaphore (NULL, InitialUnits, MaxUnits, NULL);
814
if (!
Mutex
)
822
AcpiGbl_Semaphores[i].OsHandle =
Mutex
;
826
i, MaxUnits, InitialUnits,
Mutex
));
1052
/*
Mutex
interfaces, just implement with a semaphore */
/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/include/
acobject.h
186
UINT8 SyncLevel; /* 0-15, specified in
Mutex
() call */
189
ACPI_THREAD_ID ThreadId; /* Current owner of the
mutex
*/
190
struct acpi_thread_state *OwnerThread; /* Current owner of the
mutex
*/
219
union acpi_operand_object *
Mutex
;
526
ACPI_OBJECT_MUTEX
Mutex
;
aclocal.h
69
*
Mutex
typedefs and structs
75
* Predefined handles for the
mutex
objects used within the subsystem
76
* All
mutex
objects are automatically created by AcpiUtMutexInitialize.
117
/* This Thread ID means that the
mutex
is not in use (unlocked) */
133
ACPI_MUTEX
Mutex
;
773
UINT8 CurrentSyncLevel; /*
Mutex
Sync (nested acquire) level */
Completed in 56 milliseconds
Indexes created Sat Feb 21 16:20:20 UTC 2026