| /kernel/tests/ |
| A D | lock_dep_tests.cpp | 23 struct Spinlock : fbl::Mutex { 24 using fbl::Mutex::Mutex; 181 struct Mutex : fbl::Mutex { struct 182 using fbl::Mutex::Mutex; 186 struct Nestable : fbl::Mutex { 187 using fbl::Mutex::Mutex; 264 using test::Mutex; in lock_dep_dynamic_analysis_tests() 279 Guard<Mutex> guard_a{&a.lock}; in lock_dep_dynamic_analysis_tests() 288 Guard<Mutex> guard_a{&a.lock}; in lock_dep_dynamic_analysis_tests() 469 Baz<Mutex> baz1; in lock_dep_dynamic_analysis_tests() [all …]
|
| /kernel/vm/ |
| A D | vm_object.cpp | 39 Guard<fbl::Mutex> guard{AllVmosLock::Get()}; in VmObject() 57 Guard<fbl::Mutex> guard{&lock_}; in ~VmObject() 87 Guard<fbl::Mutex> guard{&lock_}; in set_user_id() 94 Guard<fbl::Mutex> guard{&lock_}; in user_id() 104 Guard<fbl::Mutex> guard{&lock_}; in parent_user_id() 115 Guard<fbl::Mutex> guard{&lock_}; in is_cow_clone() 136 Guard<fbl::Mutex> guard{&lock_}; in num_mappings() 142 Guard<fbl::Mutex> guard{&lock_}; in IsMappedByUser() 154 Guard<fbl::Mutex> guard{&lock_}; in share_count() 198 Guard<fbl::Mutex> guard{&lock_}; in SetChildObserver() [all …]
|
| A D | vm_object_physical.cpp | 65 Guard<fbl::Mutex> guard{&lock_}; in Dump() 103 Guard<fbl::Mutex> guard{&lock_}; in Lookup() 122 Guard<fbl::Mutex> guard{&lock_}; in GetMappingCachePolicy() 133 Guard<fbl::Mutex> guard{&lock_}; in SetMappingCachePolicy()
|
| A D | pmm_node.cpp | 95 Guard<fbl::Mutex> guard{&lock_}; in AllocPage() 136 Guard<fbl::Mutex> guard{&lock_}; in AllocPages() 179 Guard<fbl::Mutex> guard{&lock_}; in AllocRange() 233 Guard<fbl::Mutex> guard{&lock_}; in AllocContiguous() 294 Guard<fbl::Mutex> guard{&lock_}; in FreePage() 310 Guard<fbl::Mutex> guard{&lock_}; in FreeList() 327 Guard<fbl::Mutex> guard{&lock_}; in CountTotalStates() 351 Guard<fbl::Mutex> guard{&lock_}; in Dump()
|
| A D | vm_aspace.cpp | 212 Guard<fbl::Mutex> guard{&aspace_list_lock}; in Create() 249 Guard<fbl::Mutex> guard{&lock_}; in RootVmar() 258 Guard<fbl::Mutex> guard{&lock_}; in Destroy() 280 Guard<fbl::Mutex> guard{&lock_}; in is_destroyed() 556 Guard<fbl::Mutex> guard{&lock_}; in PageFault() 566 Guard<fbl::Mutex> guard{&lock_}; in Dump() 576 Guard<fbl::Mutex> guard{&lock_}; in EnumerateChildren() 589 Guard<fbl::Mutex> guard{&aspace_list_lock}; in DumpAllAspaces() 610 Guard<fbl::Mutex> guard{&lock_}; in AllocatedPages() 622 Guard<fbl::Mutex> guard{&lock_}; in vdso_base_address() [all …]
|
| A D | vm_address_region_or_mapping.cpp | 33 Guard<fbl::Mutex> guard{aspace_->lock()}; in Destroy() 87 Guard<fbl::Mutex> guard{aspace_->lock()}; in AllocatedPages()
|
| /kernel/object/ |
| A D | job_dispatcher.cpp | 206 Guard<fbl::Mutex> guard{get_lock()}; in AddChildProcess() 218 Guard<fbl::Mutex> guard{get_lock()}; in AddChildJob() 231 Guard<fbl::Mutex> guard{get_lock()}; in RemoveChildProcess() 244 Guard<fbl::Mutex> guard{get_lock()}; in RemoveChildJob() 303 Guard<fbl::Mutex> guard{get_lock()}; in GetPolicy() 351 Guard<fbl::Mutex> guard{get_lock()}; in SetBasicPolicy() 478 Guard<fbl::Mutex> guard{get_lock()}; in SetExceptionPort() 551 Guard<fbl::Mutex> lock{get_lock()}; in exception_port() 556 Guard<fbl::Mutex> guard{get_lock()}; in debugger_exception_port() 561 Guard<fbl::Mutex> guard{get_lock()}; in set_kill_on_oom() [all …]
|
| A D | process_dispatcher.cpp | 155 Guard<fbl::Mutex> guard{get_lock()}; in Initialize() 239 Guard<fbl::Mutex> guard{get_lock()}; in Suspend() 265 Guard<fbl::Mutex> guard{get_lock()}; in Resume() 294 Guard<fbl::Mutex> guard{get_lock()}; in AddThread() 354 Guard<fbl::Mutex> guard{get_lock()}; in state() 595 Guard<fbl::Mutex> guard{get_lock()}; in GetStats() 614 Guard<fbl::Mutex> guard{get_lock()}; in GetAspaceMaps() 624 Guard<fbl::Mutex> guard{get_lock()}; in GetVmos() 648 Guard<fbl::Mutex> guard{get_lock()}; in GetThreads() 682 Guard<fbl::Mutex> guard{get_lock()}; in SetExceptionPort() [all …]
|
| A D | pci_device_dispatcher.cpp | 90 Guard<fbl::Mutex> guard{&lock_}; in EnableBusMaster() 101 Guard<fbl::Mutex> guard{&lock_}; in EnablePio() 112 Guard<fbl::Mutex> guard{&lock_}; in EnableMmio() 121 Guard<fbl::Mutex> guard{&lock_}; in GetBar() 128 Guard<fbl::Mutex> guard{&lock_}; in GetConfig() 146 Guard<fbl::Mutex> guard{&lock_}; in ResetDevice() 157 Guard<fbl::Mutex> guard{&lock_}; in MapInterrupt() 186 Guard<fbl::Mutex> guard{&lock_}; in QueryIrqModeCaps() 200 Guard<fbl::Mutex> guard{&lock_}; in SetIrqMode()
|
| A D | bus_transaction_initiator_dispatcher.cpp | 61 Guard<fbl::Mutex> guard{get_lock()}; in Pin() 76 Guard<fbl::Mutex> guard{get_lock()}; in ReleaseQuarantine() 82 Guard<fbl::Mutex> guard{get_lock()}; in on_zero_handles() 104 Guard<fbl::Mutex> guard{get_lock()}; in RemovePmo() 110 Guard<fbl::Mutex> guard{get_lock()}; in Quarantine()
|
| A D | timer_dispatcher.cpp | 74 Guard<fbl::Mutex> guard{get_lock()}; in on_zero_handles() 86 Guard<fbl::Mutex> guard{get_lock()}; in Set() 121 Guard<fbl::Mutex> guard{get_lock()}; in Cancel() 167 Guard<fbl::Mutex> guard{get_lock()}; in OnTimerFired()
|
| A D | thread_dispatcher.cpp | 102 Guard<fbl::Mutex> guard{get_lock()}; in Initialize() 171 Guard<fbl::Mutex> guard{get_lock()}; in Start() 240 Guard<fbl::Mutex> guard{get_lock()}; in Kill() 267 Guard<fbl::Mutex> guard{get_lock()}; in Suspend() 305 Guard<fbl::Mutex> guard{get_lock()}; in Resume() 333 Guard<fbl::Mutex> guard{get_lock()}; in IsDyingOrDead() 523 Guard<fbl::Mutex> guard{get_lock()}; in SetExceptionPort() 576 Guard<fbl::Mutex> guard{get_lock()}; in exception_port() 629 Guard<fbl::Mutex> guard{get_lock()}; in ExceptionHandlerExchange() 664 Guard<fbl::Mutex> guard{get_lock()}; in EnterException() [all …]
|
| A D | socket_dispatcher.cpp | 132 Guard<fbl::Mutex> guard{get_lock()}; in Shutdown() 191 Guard<fbl::Mutex> guard{get_lock()}; in Write() 222 Guard<fbl::Mutex> guard{get_lock()}; in WriteControl() 304 Guard<fbl::Mutex> guard{get_lock()}; in Read() 362 Guard<fbl::Mutex> guard{get_lock()}; in ReadControl() 384 Guard<fbl::Mutex> guard{get_lock()}; in CheckShareable() 399 Guard<fbl::Mutex> guard{get_lock()}; in Share() 427 Guard<fbl::Mutex> guard{get_lock()}; in Accept() 448 Guard<fbl::Mutex> guard{get_lock()}; in GetInfo() 461 Guard<fbl::Mutex> guard{get_lock()}; in GetReadThreshold() [all …]
|
| A D | handle.cpp | 93 Guard<fbl::Mutex> guard{ArenaLock::Get()}; in Alloc() 192 Guard<fbl::Mutex> guard{ArenaLock::Get()}; in Delete() 208 Guard<fbl::Mutex> guard{ArenaLock::Get()}; in FromU32() 218 Guard<fbl::Mutex> guard{ArenaLock::Get()}; in Count() 223 Guard<fbl::Mutex> guard{ArenaLock::Get()}; in OutstandingHandles() 228 Guard<fbl::Mutex> guard{ArenaLock::Get()}; in DumpTableInfo()
|
| A D | excp_port.cpp | 77 Guard<fbl::Mutex> guard{&lock_}; in SetTarget() 90 Guard<fbl::Mutex> guard{&lock_}; in SetTarget() 103 Guard<fbl::Mutex> guard{&lock_}; in SetTarget() 117 Guard<fbl::Mutex> guard{&lock_}; in OnPortZeroHandles() 176 Guard<fbl::Mutex> guard2{&lock_}; in OnPortZeroHandles() 191 Guard<fbl::Mutex> guard{&lock_}; in OnTargetUnbind() 220 Guard<fbl::Mutex> guard{&lock_}; in PortMatches() 225 Guard<fbl::Mutex> guard{&lock_}; in SendPacketWorker()
|
| A D | channel_dispatcher.cpp | 110 Guard<fbl::Mutex> guard{get_lock()}; in add_observer() 118 Guard<fbl::Mutex> guard{get_lock()}; in RemoveWaiter() 146 Guard<fbl::Mutex> guard{get_lock()}; in set_owner() 178 Guard<fbl::Mutex> guard{get_lock()}; in Read() 209 Guard<fbl::Mutex> guard{get_lock()}; in Write() 241 Guard<fbl::Mutex> guard{get_lock()}; in Call() 313 Guard<fbl::Mutex> guard{get_lock()}; in ResumeInterruptedCall()
|
| A D | port_dispatcher.cpp | 49 fbl::TypedArena<PortPacket, fbl::Mutex> arena_; 198 Guard<fbl::Mutex> guard{get_lock()}; in on_zero_handles() 271 Guard<fbl::Mutex> guard{get_lock()}; in Queue() 317 Guard<fbl::Mutex> guard{get_lock()}; in Dequeue() 354 Guard<fbl::Mutex> guard{get_lock()}; in MaybeReap() 398 Guard<fbl::Mutex> guard{get_lock()}; in CancelQueued() 441 Guard<fbl::Mutex> guard{get_lock()}; in LinkExceptionPort() 450 Guard<fbl::Mutex> guard{get_lock()}; in UnlinkExceptionPort()
|
| A D | futex_context.cpp | 50 Guard<fbl::Mutex> guard{&lock_}; in FutexWait() 81 Guard<fbl::Mutex> guard2{&lock_}; in FutexWait() 122 Guard<fbl::Mutex> guard{&lock_}; in FutexWake() 163 Guard<fbl::Mutex> guard{&lock_}; in FutexRequeue()
|
| /kernel/include/kernel/ |
| A D | mutex.h | 85 LOCK_DEP_INSTRUMENT(containing_type, fbl::Mutex) 105 LOCK_DEP_SINGLETON_LOCK(name, fbl::Mutex, ##__VA_ARGS__) 122 class Mutex; variable 126 LOCK_DEP_POLICY(Mutex, MutexPolicy);
|
| /kernel/dev/pcie/include/dev/ |
| A D | pcie_bus_driver.h | 200 fbl::Mutex bus_topology_lock_; 201 fbl::Mutex bus_rescan_lock_; 202 mutable fbl::Mutex start_lock_; 214 fbl::Mutex legacy_irq_list_lock_; 219 static fbl::Mutex driver_lock_;
|
| /kernel/object/include/object/ |
| A D | pager_dispatcher.h | 30 fbl::Mutex mtx_; 57 fbl::Mutex mtx_;
|
| /kernel/lib/crypto/include/lib/crypto/entropy/ |
| A D | hw_rng_collector.h | 44 fbl::Mutex lock_;
|
| A D | jitterentropy_collector.h | 55 fbl::Mutex lock_;
|
| /kernel/vm/include/vm/ |
| A D | vm_object.h | 176 Guard<fbl::Mutex> guard{&lock_}; in GetPage() 186 Lock<fbl::Mutex>* lock() TA_RET_CAP(lock_) { return &lock_; } in lock() 187 Lock<fbl::Mutex>& lock_ref() TA_RET_CAP(lock_) { return lock_; } in lock_ref() 210 Guard<fbl::Mutex> guard{AllVmosLock::Get()}; in ForEach() 251 Lock<fbl::Mutex>& lock_;
|
| A D | page_source.h | 42 fbl::Mutex mtx_;
|