Searched refs:Lock (Results 1 - 25 of 732) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutlock.c165 * PARAMETERS: Lock - Pointer to a valid RW lock
175 ACPI_RW_LOCK *Lock)
180 Lock->NumReaders = 0;
181 Status = AcpiOsCreateMutex (&Lock->ReaderMutex);
187 Status = AcpiOsCreateMutex (&Lock->WriterMutex);
194 ACPI_RW_LOCK *Lock)
197 AcpiOsDeleteMutex (Lock->ReaderMutex);
198 AcpiOsDeleteMutex (Lock->WriterMutex);
200 Lock->NumReaders = 0;
201 Lock
174 AcpiUtCreateRwLock( ACPI_RW_LOCK *Lock) argument
193 AcpiUtDeleteRwLock( ACPI_RW_LOCK *Lock) argument
225 AcpiUtAcquireReadLock( ACPI_RW_LOCK *Lock) argument
251 AcpiUtReleaseReadLock( ACPI_RW_LOCK *Lock) argument
293 AcpiUtAcquireWriteLock( ACPI_RW_LOCK *Lock) argument
305 AcpiUtReleaseWriteLock( ACPI_RW_LOCK *Lock) argument
[all...]
/haiku/headers/private/tracker/
H A DAutoLock.h52 fHasLock = fLock->Lock();
60 fHasLock = fLock->Lock();
75 // explicit Lock/Unlock calls are only used in special cases
87 bool Lock() function in class:AutoLock
90 fHasLock = fLock->Lock();
/haiku/headers/os/support/
H A DAutolock.h22 inline bool Lock();
37 fIsLocked(looper->Lock())
47 fIsLocked(locker->Lock())
57 fIsLocked(locker.Lock())
77 BAutolock::Lock() function in class:BAutolock
83 fIsLocked = fLooper->Lock();
85 fIsLocked = fLocker->Lock();
/haiku/headers/build/os/app/
H A DLooper.h23 bool Lock() { return true; } function in class:BLooper
/haiku/src/kits/tracker/
H A DLockingList.h50 Lock();
53 bool Lock();
72 LockingList<T>::Lock() function in class:BPrivate::LockingList
74 return lock.Lock();
/haiku/src/system/kernel/vm/
H A DPageCacheLocker.h22 bool Lock(vm_page* page, bool dontWait = true);
36 Lock(page, dontWait);
/haiku/headers/private/shared/
H A DAutoLocker.h18 inline bool Lock(Lockable* lockable) function in class:BPrivate::AutoLockerStandardLocking
20 return lockable->Lock();
33 inline bool Lock(Lockable* lockable) function in class:BPrivate::AutoLockerHandlerLocking
48 inline bool Lock(Lockable* lockable) function in class:BPrivate::AutoLockerReadLocking
63 inline bool Lock(Lockable* lockable) function in class:BPrivate::AutoLockerWriteLocking
103 Lock();
113 Lock();
128 Lock();
143 inline bool Lock() function in class:BPrivate::AutoLocker
146 fLocked = fLocking.Lock(fLockabl
[all...]
H A DPthreadMutexLocker.h22 inline bool Lock(pthread_mutex_t* lockable) function in class:BPrivate::AutoLockerMutexLocking
/haiku/src/tests/kits/support/blocker/
H A DSemaphoreLockCountTest1.cpp5 It tests use cases "Count Lock Requests" for a semaphore style BLocker.
94 CPPUNIT_ASSERT(thread2Lock.Lock());
95 CPPUNIT_ASSERT(thread3Lock.Lock());
99 CPPUNIT_ASSERT(theLocker->Lock());
137 CPPUNIT_ASSERT(thread2Lock.Lock());
141 CPPUNIT_ASSERT(theLocker->Lock());
164 CPPUNIT_ASSERT(thread3Lock.Lock());
168 CPPUNIT_ASSERT(theLocker->Lock());
189 SemaphoreLockCountTest1Caller *threadedTest = new SemaphoreLockCountTest1Caller("BLocker::Semaphore Lock Count Test", theTest);
H A DBenaphoreLockCountTest1.cpp5 It tests use cases "Count Lock Requests" for a benaphore style BLocker.
97 CPPUNIT_ASSERT(thread2Lock.Lock());
99 CPPUNIT_ASSERT(thread3Lock.Lock());
104 CPPUNIT_ASSERT(theLocker->Lock());
149 CPPUNIT_ASSERT(thread2Lock.Lock());
154 CPPUNIT_ASSERT(theLocker->Lock());
181 CPPUNIT_ASSERT(thread3Lock.Lock());
186 CPPUNIT_ASSERT(theLocker->Lock());
209 new BThreadedTestCaller<BenaphoreLockCountTest1>("BLocker::Benaphore Lock Count Test #1", theTest);
/haiku/headers/private/kernel/util/
H A DAutoLock.h24 inline bool Lock(mutex *lockable) function in class:BPrivate::MutexLocking
40 inline bool Lock(recursive_lock *lockable) function in class:BPrivate::RecursiveLockLocking
56 inline bool Lock(rw_lock *lockable) function in class:BPrivate::ReadWriteLockReadLocking
69 inline bool Lock(rw_lock *lockable) function in class:BPrivate::ReadWriteLockWriteLocking
86 inline bool Lock(int* lockable) function in class:BPrivate::InterruptsLocking
115 inline bool Lock(spinlock* lockable) function in class:BPrivate::SpinLocking
142 inline bool Lock(spinlock* lockable) function in class:BPrivate::InterruptsSpinLocking
164 inline bool Lock(rw_spinlock* lockable) function in class:BPrivate::ReadSpinLocking
187 inline bool Lock(rw_spinlock* lockable) function in class:BPrivate::InterruptsReadSpinLocking
210 inline bool Lock(rw_spinloc function in class:BPrivate::WriteSpinLocking
233 inline bool Lock(rw_spinlock* lockable) function in class:BPrivate::InterruptsWriteSpinLocking
256 inline bool Lock(seqlock* lockable) function in class:BPrivate::WriteSequentialLocking
279 inline bool Lock(seqlock* lockable) function in class:BPrivate::InterruptsWriteSequentialLocking
[all...]
/haiku/headers/private/fs_shell/
H A Dfssh_auto_locker.h18 inline bool Lock(Lockable *lockable) function in class:FSShell::AutoLockerStandardLocking
20 return lockable->Lock();
33 inline bool Lock(Lockable *lockable) function in class:FSShell::AutoLockerReadLocking
48 inline bool Lock(Lockable *lockable) function in class:FSShell::AutoLockerWriteLocking
78 Lock();
87 Lock();
102 Lock();
117 inline bool Lock() function in class:FSShell::AutoLocker
120 fLocked = fLocking.Lock(fLockable);
/haiku/src/tests/kits/app/bclipboard/
H A DLockTester.cpp26 bool Lock()
28 @results Lock() returns true
35 CHK(clip.Lock());
41 clip->Lock();
47 bool Lock()
49 @results Lock() returns false
67 CHK(clip->Lock() == false);
80 clip.Lock();
107 clip.Lock();
/haiku/src/system/kernel/scheduler/
H A Dscheduler_locking.h19 inline bool Lock(CPUEntry* cpu) function in class:Scheduler::CPURunQueueLocking
36 inline bool Lock(CoreEntry* core) function in class:Scheduler::CoreRunQueueLocking
52 inline bool Lock(CoreEntry* core) function in class:Scheduler::CoreCPUHeapLocking
68 bool Lock(int* /* lockable */) function in class:Scheduler::SchedulerModeLocking
96 bool Lock(int* lockable) function in class:Scheduler::InterruptsSchedulerModeLocking
127 bool Lock(int* lockable) function in class:Scheduler::InterruptsBigSchedulerLocking
/haiku/headers/private/interface/
H A DToolTipManager.h30 bool Lock() { return fLock.Lock(); } function in class:BToolTipManager
/haiku/src/tests/kits/app/bmessenger/
H A DSMReplyTarget.cpp19 CHK(fLooper->Lock());
29 fLooper->Lock();
/haiku/src/kits/debugger/dwarf/
H A DDwarfManager.h25 bool Lock() { return fLock.Lock(); } function in class:DwarfManager
/haiku/src/apps/mediaplayer/media_node_framework/video/
H A DVideoTarget.cpp23 return fBitmapLock.Lock();
/haiku/src/kits/app/
H A DAppServerLink.cpp33 sLock.Lock();
/haiku/src/tests/kits/app/bmessagequeue/
H A DMessageQueueTestCase.cpp38 if (theMessageQueue->Lock()) {
53 if (theMessageQueue->Lock()) {
63 if (theMessageQueue->Lock()) {
76 if (theMessageQueue->Lock()) {
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DVnodeToInode.h24 inline void Lock();
47 inline bool Lock(VnodeToInode* vti) function in class:VnodeToInodeLocking
49 vti->Lock();
83 VnodeToInode::Lock() function in class:VnodeToInode
/haiku/headers/os/package/hpkg/
H A DBlockBufferPoolNoLock.h23 virtual bool Lock();
/haiku/src/kits/package/hpkg/
H A DBlockBufferPoolNoLock.cpp30 BBlockBufferPoolNoLock::Lock() function in class:BPackageKit::BHPKG::BBlockBufferPoolNoLock
/haiku/src/tests/servers/app/stress_test/
H A Dmain.cpp100 if (window->Lock()) {
111 if (window->Lock()) {
121 if (window->Lock()) {
132 if (window->Lock()) {
143 if (window->Lock()) {
154 if (window->Lock()) {
165 if (window->Lock()) {
179 if (window->Lock()) {
195 if (window->Lock()) {
214 fWindow->Lock();
[all...]
/haiku/src/servers/registrar/
H A DPriorityMessageQueue.cpp44 // Lock
46 PriorityMessageQueue::Lock() function in class:PriorityMessageQueue
48 return fLock.Lock();
64 result = Lock();
85 if (Lock()) {
100 if (fLock.Lock()) {

Completed in 347 milliseconds

1234567891011>>