Searched refs:Mutex (Results 1 - 25 of 158) sorted by relevance

1234567

/fuchsia/zircon/third_party/lib/acpica/source/components/executer/
H A Dexmutex.c3 * Module Name: exmutex - ASL Mutex Acquire/Release functions
76 ACPI_THREAD_STATE *Thread = ObjDesc->Mutex.OwnerThread;
86 if (ObjDesc->Mutex.Next)
88 (ObjDesc->Mutex.Next)->Mutex.Prev = ObjDesc->Mutex.Prev;
91 if (ObjDesc->Mutex.Prev)
93 (ObjDesc->Mutex.Prev)->Mutex.Next = ObjDesc->Mutex
[all...]
H A Dexsystem.c108 * PARAMETERS: Mutex - Mutex to wait on
121 ACPI_MUTEX Mutex,
130 Status = AcpiOsAcquireMutex (Mutex, ACPI_DO_NOT_WAIT);
141 Status = AcpiOsAcquireMutex (Mutex, Timeout);
120 AcpiExSystemWaitMutex( ACPI_MUTEX Mutex, UINT16 Timeout) argument
/fuchsia/zircon/system/ulib/fbl/include/fbl/
H A Dmutex.h12 // Notes about class Mutex
14 // Mutex is a C++ helper class intended to wrap a mutex-style synchronization
24 class __TA_CAPABILITY("mutex") Mutex {
26 constexpr Mutex() : mutex_(MUTEX_INITIAL_VALUE(mutex_)) { } function
27 ~Mutex() { mutex_destroy(&mutex_); }
40 DISALLOW_COPY_ASSIGN_AND_MOVE(Mutex); variable
64 class __TA_CAPABILITY("mutex") Mutex {
67 constexpr Mutex() : mutex_(MTX_INIT) { }
69 Mutex() { mtx_init(&mutex_, mtx_plain); }
71 ~Mutex() { mtx_destro
[all...]
/fuchsia/zircon/kernel/tests/
H A Dlock_dep_tests.cpp23 struct Spinlock : fbl::Mutex {
24 using fbl::Mutex::Mutex;
181 struct Mutex : fbl::Mutex { struct in namespace:test
182 using fbl::Mutex::Mutex;
186 struct Nestable : fbl::Mutex {
187 using fbl::Mutex::Mutex;
[all...]
/fuchsia/zircon/third_party/lib/acpica/source/components/dispatcher/
H A Ddsmethod.c311 /* Create the actual OS Mutex */
313 Status = AcpiOsCreateMutex (&MutexDesc->Mutex.OsMutex);
320 MutexDesc->Mutex.SyncLevel = MethodDesc->Method.SyncLevel;
321 MethodDesc->Method.Mutex = MutexDesc;
381 if (!ObjDesc->Method.Mutex)
404 ObjDesc->Method.Mutex->Mutex.SyncLevel))
407 "Cannot acquire Mutex for method [%4.4s]"
420 !ObjDesc->Method.Mutex->Mutex
[all...]
/fuchsia/zircon/kernel/lib/crypto/include/lib/crypto/entropy/
H A Dhw_rng_collector.h44 fbl::Mutex lock_;
H A Djitterentropy_collector.h55 fbl::Mutex lock_;
/fuchsia/zircon/kernel/vm/
H A Dvm_object.cpp38 Guard<fbl::Mutex> guard{AllVmosLock::Get()};
56 Guard<fbl::Mutex> guard{&lock_};
68 Guard<fbl::Mutex> guard{AllVmosLock::Get()};
86 Guard<fbl::Mutex> guard{&lock_};
93 Guard<fbl::Mutex> guard{&lock_};
103 Guard<fbl::Mutex> guard{&lock_};
114 Guard<fbl::Mutex> guard{&lock_};
135 Guard<fbl::Mutex> guard{&lock_};
141 Guard<fbl::Mutex> guard{&lock_};
153 Guard<fbl::Mutex> guar
[all...]
H A Dpmm_node.cpp95 Guard<fbl::Mutex> guard{&lock_};
136 Guard<fbl::Mutex> guard{&lock_};
179 Guard<fbl::Mutex> guard{&lock_};
233 Guard<fbl::Mutex> guard{&lock_};
294 Guard<fbl::Mutex> guard{&lock_};
310 Guard<fbl::Mutex> guard{&lock_};
327 Guard<fbl::Mutex> guard{&lock_};
351 Guard<fbl::Mutex> guard{&lock_};
H A Dvm_address_region_or_mapping.cpp33 Guard<fbl::Mutex> guard{aspace_->lock()};
87 Guard<fbl::Mutex> guard{aspace_->lock()};
/fuchsia/zircon/kernel/object/
H A Dbus_transaction_initiator_dispatcher.cpp54 Guard<fbl::Mutex> guard{get_lock()};
70 Guard<fbl::Mutex> guard{get_lock()};
76 Guard<fbl::Mutex> guard{get_lock()};
98 Guard<fbl::Mutex> guard{get_lock()};
104 Guard<fbl::Mutex> guard{get_lock()};
H A Djob_dispatcher.cpp52 // Guard<fbl::Mutex> guard{get_lock()};
157 Guard<fbl::Mutex> guard{AllJobsLock::Get()};
160 Guard<fbl::Mutex> parent_guard{parent_->get_lock()};
182 Guard<fbl::Mutex> guard{AllJobsLock::Get()};
192 Guard<fbl::Mutex> guard{AllJobsLock::Get()};
205 Guard<fbl::Mutex> guard{get_lock()};
217 Guard<fbl::Mutex> guard{get_lock()};
230 Guard<fbl::Mutex> guard{get_lock()};
243 Guard<fbl::Mutex> guard{get_lock()};
302 Guard<fbl::Mutex> guar
[all...]
H A Dtimer_dispatcher.cpp74 Guard<fbl::Mutex> guard{get_lock()};
86 Guard<fbl::Mutex> guard{get_lock()};
121 Guard<fbl::Mutex> guard{get_lock()};
167 Guard<fbl::Mutex> guard{get_lock()};
H A Dpci_device_dispatcher.cpp90 Guard<fbl::Mutex> guard{&lock_};
101 Guard<fbl::Mutex> guard{&lock_};
112 Guard<fbl::Mutex> guard{&lock_};
121 Guard<fbl::Mutex> guard{&lock_};
128 Guard<fbl::Mutex> guard{&lock_};
146 Guard<fbl::Mutex> guard{&lock_};
157 Guard<fbl::Mutex> guard{&lock_};
186 Guard<fbl::Mutex> guard{&lock_};
200 Guard<fbl::Mutex> guard{&lock_};
H A Dprocess_dispatcher.cpp133 Guard<fbl::Mutex> guard{get_lock()};
155 Guard<fbl::Mutex> guard{get_lock()};
177 Guard<fbl::Mutex> guard{get_lock()};
206 Guard<fbl::Mutex> guard{get_lock()};
246 Guard<fbl::Mutex> guard{get_lock()};
280 Guard<fbl::Mutex> guard{get_lock()};
303 Guard<fbl::Mutex> guard{get_lock()};
346 Guard<fbl::Mutex> guard{&handle_table_lock_};
413 Guard<fbl::Mutex> guard{&handle_table_lock_};
423 Guard<fbl::Mutex> guar
[all...]
H A Dsocket_dispatcher.cpp132 Guard<fbl::Mutex> guard{get_lock()};
197 Guard<fbl::Mutex> guard{get_lock()};
228 Guard<fbl::Mutex> guard{get_lock()};
310 Guard<fbl::Mutex> guard{get_lock()};
376 Guard<fbl::Mutex> guard{get_lock()};
398 Guard<fbl::Mutex> guard{get_lock()};
413 Guard<fbl::Mutex> guard{get_lock()};
441 Guard<fbl::Mutex> guard{get_lock()};
457 Guard<fbl::Mutex> guard{get_lock()};
463 Guard<fbl::Mutex> guar
[all...]
H A Dfutex_context.cpp42 Guard<fbl::Mutex> guard{&lock_};
73 Guard<fbl::Mutex> guard2{&lock_};
111 Guard<fbl::Mutex> guard{&lock_};
139 Guard<fbl::Mutex> guard{&lock_};
H A Dexcp_port.cpp77 Guard<fbl::Mutex> guard{&lock_};
90 Guard<fbl::Mutex> guard{&lock_};
103 Guard<fbl::Mutex> guard{&lock_};
121 Guard<fbl::Mutex> guard{&lock_};
180 Guard<fbl::Mutex> guard2{&lock_};
195 Guard<fbl::Mutex> guard{&lock_};
224 Guard<fbl::Mutex> guard{&lock_};
229 Guard<fbl::Mutex> guard{&lock_};
/fuchsia/zircon/third_party/lib/acpica/source/components/utilities/
H A Dutmutex.c116 /* Mutex for _OSI support */
222 if (!AcpiGbl_MutexInfo[MutexId].Mutex)
224 Status = AcpiOsCreateMutex (&AcpiGbl_MutexInfo[MutexId].Mutex);
253 AcpiOsDeleteMutex (AcpiGbl_MutexInfo[MutexId].Mutex);
255 AcpiGbl_MutexInfo[MutexId].Mutex = NULL;
296 * Mutex debug code, for internal debugging only.
310 "Mutex [%s] already acquired by this thread [%u]",
329 "Thread %u attempting to acquire Mutex [%s]\n",
333 AcpiGbl_MutexInfo[MutexId].Mutex, ACPI_WAIT_FOREVER);
337 "Thread %u acquired Mutex [
[all...]
H A Dutxfmutex.c66 * PARAMETERS: Handle - Mutex or prefix handle (optional)
67 * Pathname - Mutex pathname (optional)
109 /* Ensure that we actually have a Mutex object */
134 * PARAMETERS: Handle - Mutex or prefix handle (optional)
135 * Pathname - Mutex pathname (optional)
168 Status = AcpiOsAcquireMutex (MutexObj->Mutex.OsMutex, Timeout);
177 * PARAMETERS: Handle - Mutex or prefix handle (optional)
178 * Pathname - Mutex pathname (optional)
209 AcpiOsReleaseMutex (MutexObj->Mutex.OsMutex);
H A Dutdelete.c180 "***** Mutex %p, OS Mutex %p\n",
181 Object, Object->Mutex.OsMutex));
190 AcpiOsDeleteMutex (Object->Mutex.OsMutex);
196 AcpiOsDeleteMutex (Object->Mutex.OsMutex);
217 if (Object->Method.Mutex)
219 AcpiOsDeleteMutex (Object->Method.Mutex->Mutex.OsMutex);
220 AcpiUtDeleteObjectDesc (Object->Method.Mutex);
221 Object->Method.Mutex
[all...]
/fuchsia/zircon/kernel/include/kernel/
H A Dmutex.h76 // Declares a fbl::Mutex member of the struct or class |containing_type|.
85 LOCK_DEP_INSTRUMENT(containing_type, fbl::Mutex)
98 // Declares a singleton fbl::Mutex with the name |name|.
105 LOCK_DEP_SINGLETON_LOCK(name, fbl::Mutex, ##__VA_ARGS__)
122 class Mutex;
124 // Configure Guard<fbl::Mutex> to use the following policy. This must be done
126 LOCK_DEP_POLICY(Mutex, MutexPolicy);
130 // Lock policy for acquiring an fbl::Mutex.
146 // A enum tag that can be passed to Guard<fbl::Mutex>::Release(...) to
160 // Guard<fbl::Mutex>
[all...]
/fuchsia/zircon/system/dev/light/ams-light/
H A Dtcs3400.h66 fbl::Mutex proxy_input_lock_ TA_ACQ_BEFORE(i2c_lock_);
67 fbl::Mutex feature_lock_;
68 fbl::Mutex i2c_lock_;
/fuchsia/zircon/system/dev/thermal/aml-thermal-s905d2g/
H A Daml-pwm.h40 fbl::Mutex pwm_lock_;
/fuchsia/zircon/system/ulib/intel-hda/include/intel-hda/codec-utils/
H A Dcodec-driver-base.h116 fbl::Mutex device_channel_lock_;
120 fbl::Mutex active_streams_lock_;
123 fbl::Mutex shutdown_lock_ __TA_ACQUIRED_BEFORE(device_channel_lock_, active_streams_lock_);
134 fbl::Mutex unsol_tag_lock_;

Completed in 91 milliseconds

1234567