Home
last modified time | relevance | path

Searched refs:MutexLocker (Results 1 – 25 of 148) sorted by relevance

123456

/haiku/src/add-ons/kernel/network/ppp/ppp_manager/
H A DKPPPManager.cpp44 MutexLocker _(sListLock); // auto_lock in CreateInterface()
85 MutexLocker _(sListLock); // auto_lock in CreateInterfaceWithName()
127 MutexLocker _(sListLock); // auto_lock in DeleteInterface()
146 MutexLocker _(sListLock); // auto_lock in RemoveInterface()
220 MutexLocker _(sListLock); // auto_lock in UnregisterInterface()
231 MutexLocker _(sListLock); // auto_lock in ControlInterface()
251 MutexLocker _(sListLock); in GetInterfaces()
273 MutexLocker _(sListLock); // auto_lock in CountInterfaces()
291 MutexLocker _(sListLock); // auto_lock in EnableReports()
300 MutexLocker _(sListLock); // auto_lock in DisableReports()
[all …]
/haiku/src/add-ons/kernel/bluetooth/btCoreData/
H A DConnectionInterface.cpp95 MutexLocker _(&sConnectionListLock); in AddConnection()
107 MutexLocker locker(&sConnectionListLock); in RemoveConnection()
138 MutexLocker locker(&sConnectionListLock); in RemoveConnection()
167 MutexLocker _(&sConnectionListLock); in RouteConnection()
187 MutexLocker _(&sConnectionListLock); in ConnectionByHandle()
207 MutexLocker _(&sConnectionListLock); in ConnectionByDestination()
227 MutexLocker _(&conn->fLock); in allocate_command_ident()
252 MutexLocker _(&conn->fLock); in lookup_command_ident()
265 MutexLocker _(&conn->fLock); in free_command_ident()
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DMetadataCache.cpp40 MutexLocker _(fLock); in GetStat()
64 MutexLocker _(fLock); in SetStat()
77 MutexLocker _(fLock); in GrowFile()
93 MutexLocker _(fLock); in GetAccess()
115 MutexLocker _(fLock); in SetAccess()
132 MutexLocker _(fLock); in LockValid()
145 MutexLocker _(fLock); in UnlockValid()
H A DInodeIdMap.cpp17 MutexLocker _(fLock); in AddName()
47 MutexLocker _(fLock); in RemoveName()
61 MutexLocker _(fLock); in RemoveEntry()
71 MutexLocker _(fLock); in GetFileInfo()
H A DNFS4Server.cpp62 MutexLocker _(fFSLock); in ServerRebooted()
87 MutexLocker _(fFSLock); in AddFileSystem()
101 MutexLocker _(fFSLock); in RemoveFileSystem()
110 MutexLocker _(fClientIdLock); in ClientId()
147 MutexLocker _(fFSLock); in FileSystemMigrated()
197 MutexLocker _(fThreadStartLock); in _StartRenewing()
240 MutexLocker _(fFSLock); in _Renewal()
330 MutexLocker locker(fFSLock); in CallbackRecall()
372 MutexLocker locker(fFSLock); in CallbackGetAttr()
406 MutexLocker _(fFSLock); in RecallAll()
H A DRPCCallbackServer.cpp73 MutexLocker _(fServerCreationLock); in Get()
83 MutexLocker _(fServerCreationLock); in ShutdownAll()
155 MutexLocker _(fThreadLock); in StartServer()
184 MutexLocker _(&fThreadLock); in StopServer()
192 MutexLocker locker(fConnectionLock); in StopServer()
221 MutexLocker locker(fConnectionLock); in NewConnection()
263 MutexLocker _(fConnectionLock); in ReleaseConnection()
H A DMetadataCache.h71 MutexLocker _(fLock); in InvalidateStat()
80 MutexLocker _(fLock); in InvalidateAccess()
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dcondition_variable.cpp76 MutexLocker _(sConditionVariablesLock); in Add()
95 MutexLocker conditionLocker(sConditionVariablesLock); in Wait()
139 MutexLocker _(sConditionVariablesLock); in _RemoveFromVariable()
170 MutexLocker locker(sConditionVariablesLock); in Publish()
183 MutexLocker locker(sConditionVariablesLock); in Unpublish()
197 MutexLocker _(sConditionVariablesLock); in Add()
214 MutexLocker locker(sConditionVariablesLock); in _Notify()
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A DL2capEndpoint.cpp129 MutexLocker locker(fLock); in Shutdown()
211 MutexLocker _(fLock); in Bind()
229 MutexLocker _(fLock); in Unbind()
248 MutexLocker _(fLock); in Listen()
278 MutexLocker _(fLock); in Connect()
347 MutexLocker locker(fLock); in Accept()
380 MutexLocker locker(fLock); in ReadData()
404 MutexLocker locker(fLock); in SendData()
458 MutexLocker locker(endpoint->fLock); in _SendTimer()
497 MutexLocker locker(fLock); in Sendable()
[all …]
/haiku/src/system/kernel/posix/
H A Dxsi_semaphore.cpp240 MutexLocker _(team->xsi_sem_context->lock); in ClearUndo()
258 MutexLocker _(team->xsi_sem_context->lock); in ClearUndos()
351 MutexLocker _(team->xsi_sem_context->lock); in RecordUndo()
405 MutexLocker _(team->xsi_sem_context->lock); in RecordUndo()
422 MutexLocker _(team->xsi_sem_context->lock); in RevertUndo()
641 MutexLocker _(sXsiSemaphoreSetLock); in xsi_sem_undo()
652 MutexLocker setLocker(semaphoreSet->Lock()); in xsi_sem_undo()
653 MutexLocker _(team->xsi_sem_context->lock); in xsi_sem_undo()
687 MutexLocker ipcLocker(sIpcLock); in _user_xsi_semget()
701 MutexLocker semaphoreSetLocker(sXsiSemaphoreSetLock); in _user_xsi_semget()
[all …]
H A Dxsi_message_queue.cpp109 status_t BlockAndUnlock(ConditionVariableEntry *queueEntry, MutexLocker *queueLocker) in BlockAndUnlock()
490 MutexLocker ipcHashLocker(sIpcLock); in _user_xsi_msgctl()
491 MutexLocker messageQueueHashLocker(sXsiMessageQueueLock); in _user_xsi_msgctl()
506 MutexLocker messageQueueLocker; in _user_xsi_msgctl()
634 MutexLocker _(sXsiMessageQueueLock); in _user_xsi_msgget()
662 MutexLocker _(sXsiMessageQueueLock); in _user_xsi_msgget()
683 MutexLocker messageQueueHashLocker(sXsiMessageQueueLock); in _user_xsi_msgrcv()
690 MutexLocker messageQueueLocker(messageQueue->Lock()); in _user_xsi_msgrcv()
781 MutexLocker messageQueueHashLocker(sXsiMessageQueueLock); in _user_xsi_msgsnd()
788 MutexLocker messageQueueLocker(messageQueue->Lock()); in _user_xsi_msgsnd()
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPReportManager.cpp93 MutexLocker locker(fLock); in EnableReports()
111 MutexLocker locker(fLock); in DisableReports()
140 MutexLocker locker(fLock); in DoesReport()
182 MutexLocker locker(fLock); in Report()
H A DKPPPInterface.cpp265 MutexLocker locker(fLock); in ~KPPPInterface()
516 MutexLocker locker(fLock); in Control()
536 MutexLocker locker(fLock); in Control()
602 MutexLocker locker(fLock); in Control()
765 MutexLocker locker(fLock); in Control()
780 MutexLocker locker(fLock); in Control()
833 MutexLocker locker(fLock); in Control()
966 MutexLocker locker(fLock); in SetDevice()
1014 MutexLocker locker(fLock); in AddProtocol()
1078 MutexLocker locker(fLock); in RemoveProtocol()
[all …]
/haiku/src/system/libroot/os/locks/
H A Drw_lock.cpp119 MutexLocker locker(lock->lock); in __rw_lock_read_lock()
138 MutexLocker locker(lock->lock); in __rw_lock_read_unlock()
166 MutexLocker locker(lock->lock); in __rw_lock_write_lock()
199 MutexLocker locker(lock->lock); in __rw_lock_write_unlock()
/haiku/src/tools/fs_shell/
H A Dblock_cache.cpp218 MutexLocker locker(sNotificationsLock); in flush_pending_notifications()
270 MutexLocker locker(sNotificationsLock); in delete_notification()
295 MutexLocker locker(sNotificationsLock); in add_notification()
978 MutexLocker locker(&cache->lock); in fssh_cache_start_transaction()
1004 MutexLocker locker(&cache->lock); in fssh_cache_sync_transaction()
1046 MutexLocker locker(&cache->lock); in fssh_cache_end_transaction()
1108 MutexLocker locker(&cache->lock); in fssh_cache_abort_transaction()
1160 MutexLocker locker(&cache->lock); in fssh_cache_detach_sub_transaction()
1253 MutexLocker locker(&cache->lock); in fssh_cache_abort_sub_transaction()
1306 MutexLocker locker(&cache->lock); in fssh_cache_start_sub_transaction()
[all …]
/haiku/src/add-ons/kernel/network/stack/
H A Ddevice_interfaces.cpp338 MutexLocker locker(sLock); in count_device_interfaces()
359 MutexLocker locker(sLock); in list_device_interfaces()
399 MutexLocker locker(sLock); in put_device_interface()
423 MutexLocker locker(sLock); in get_device_interface()
447 MutexLocker locker(sLock); in get_device_interface()
598 MutexLocker locker(sLock); in unregister_device_deframer()
624 MutexLocker locker(sLock); in register_device_deframer()
662 MutexLocker locker(sLock); in register_device_handler()
698 MutexLocker locker(sLock); in unregister_device_handler()
731 MutexLocker locker(sLock); in register_device_monitor()
[all …]
H A Dutility.cpp211 MutexLocker locker(fifo->lock); in fifo_enqueue_buffer()
232 MutexLocker locker(fifo->lock); in fifo_dequeue_buffer()
286 MutexLocker locker(fifo->lock); in clear_fifo()
309 MutexLocker locker(fifo->lock); in fifo_socket_enqueue_buffer()
406 MutexLocker locker(sTimerLock); in set_timer()
433 MutexLocker locker(sTimerLock); in cancel_timer()
457 MutexLocker locker(sTimerLock); in wait_for_timer()
H A Ddomains.cpp113 MutexLocker locker(sDomainLock); in get_domain()
125 MutexLocker locker(sDomainLock); in register_domain()
156 MutexLocker locker(sDomainLock); in unregister_domain()
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DStringPool.cpp87 MutexLocker locker(sLock); in Get()
116 MutexLocker locker(sLock); in LastReferenceReleased()
131 MutexLocker locker(sLock); in DumpUsageStatistics()
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPProtocol.cpp41 MutexLocker locker(fWorkerLock); in ~IMAPProtocol()
84 MutexLocker locker(fWorkerLock); in CheckSubscribedFolders()
147 MutexLocker locker(fWorkerLock); in WorkerQuit()
177 MutexLocker locker(fWorkerLock); in UpdateMessageFlags()
193 MutexLocker locker(fWorkerLock); in SyncMessages()
238 MutexLocker locker(fWorkerLock); in HandleFetchBody()
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DDriver.cpp86 MutexLocker lock(gDriverLock); // released on exit in usb_davicom_device_added()
141 MutexLocker lock(gDriverLock); // released on exit in usb_davicom_device_removed()
237 MutexLocker lock(gDriverLock); // released on exit in usb_davicom_open()
289 MutexLocker lock(gDriverLock); // released on exit in usb_davicom_free()
315 MutexLocker lock(gDriverLock); // released on exit in publish_devices()
/haiku/src/system/kernel/slab/
H A DSlab.cpp863 MutexLocker _(cache->lock); in add_alloc_tracing_entry()
878 MutexLocker locker(sMaintenanceLock); in request_memory_manager_maintenance()
911 MutexLocker locker(sMaintenanceLock); in increase_object_reserve()
997 MutexLocker cacheListLocker(sObjectCacheListLock); in object_cache_low_memory()
1013 MutexLocker maintenanceLocker(sMaintenanceLock); in object_cache_low_memory()
1034 MutexLocker cacheLocker(cache->lock); in object_cache_low_memory()
1090 MutexLocker locker(sMaintenanceLock); in object_cache_maintainer()
1129 MutexLocker cacheLocker(cache->lock); in object_cache_maintainer()
1184 MutexLocker _(sObjectCacheListLock); in create_object_cache_etc()
1199 MutexLocker _(sObjectCacheListLock); in delete_object_cache()
[all …]
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DFileSystem.cpp194 MutexLocker nodeListenersLocker(fNodeListenersLock); in ~FileSystem()
375 MutexLocker locker(fVolumeLock); in Mount()
384 MutexLocker locker(fVolumeLock); in Mount()
433 MutexLocker locker(fVolumeLock); in VolumeUnmounted()
441 MutexLocker _(fVolumeLock); in GetVolume()
508 MutexLocker nodeListenersLocker(fNodeListenersLock); in AddNodeListener()
537 MutexLocker nodeListenersLocker(fNodeListenersLock); in RemoveNodeListener()
558 MutexLocker locker(fVNodeOpsLock); in GetVNodeOps()
592 MutexLocker locker(fVNodeOpsLock); in PutVNodeOps()
/haiku/src/system/kernel/fs/
H A DVnode.cpp37 MutexLocker bucketLocker(bucket.lock); in _WaitForLock()
64 MutexLocker bucketLocker(bucket.lock); in _WakeUpLocker()
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DDriver.cpp33 MutexLocker _(gDriverLock); in usb_audio_device_added()
87 MutexLocker _(gDriverLock); in usb_audio_device_removed()
176 MutexLocker _(gDriverLock); in usb_audio_open()
236 MutexLocker _(gDriverLock); in publish_devices()

123456