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

1234567891011>>

/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutlock.c131 * PARAMETERS: Lock - Pointer to a valid RW lock
141 ACPI_RW_LOCK *Lock)
146 Lock->NumReaders = 0;
147 Status = AcpiOsCreateMutex (&Lock->ReaderMutex);
153 Status = AcpiOsCreateMutex (&Lock->WriterMutex);
160 ACPI_RW_LOCK *Lock)
163 AcpiOsDeleteMutex (Lock->ReaderMutex);
164 AcpiOsDeleteMutex (Lock->WriterMutex);
166 Lock->NumReaders = 0;
167 Lock
140 AcpiUtCreateRwLock( ACPI_RW_LOCK *Lock) argument
159 AcpiUtDeleteRwLock( ACPI_RW_LOCK *Lock) argument
191 AcpiUtAcquireReadLock( ACPI_RW_LOCK *Lock) argument
217 AcpiUtReleaseReadLock( ACPI_RW_LOCK *Lock) argument
259 AcpiUtAcquireWriteLock( ACPI_RW_LOCK *Lock) argument
271 AcpiUtReleaseWriteLock( ACPI_RW_LOCK *Lock) argument
[all...]
/haiku-fatelf/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-fatelf/src/add-ons/translators/exr/openexr/ilmthread/
H A DIlmThreadMutex.h40 // class Mutex, class Lock
44 // be performed using an instance of a Lock (defined below).
47 // the presence of C++ exceptions. Constructing a Lock object locks
48 // the mutex; destroying the Lock unlocks the mutex.
50 // Lock objects are not themselves thread-safe. You should never
51 // share a Lock object among multiple threads.
63 // Lock lock (mtx); // Lock constructor locks the mutex
83 class Lock;
107 friend class Lock;
111 class Lock class in namespace:IlmThread
115 Lock (const Mutex& m, bool autoLock = true): function in class:IlmThread::Lock
[all...]
/haiku-fatelf/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-fatelf/headers/build/os/app/
H A DLooper.h23 bool Lock() { return true; } function in class:BLooper
/haiku-fatelf/src/kits/package/
H A DBlockBufferCacheNoLock.cpp28 BBlockBufferCacheNoLock::Lock() function in class:BPackageKit::BBlockBufferCacheNoLock
/haiku-fatelf/src/kits/tracker/
H A DLockingList.h50 Lock();
53 bool Lock();
71 LockingList<T>::Lock() function in class:BPrivate::LockingList
73 return lock.Lock();
/haiku-fatelf/src/add-ons/opengl/swpipe/
H A DGalliumFramebuffer.h23 status_t Lock();
/haiku-fatelf/src/apps/debugger/dwarf/
H A DDwarfManager.h23 bool Lock() { return fLock.Lock(); } function in class:DwarfManager
/haiku-fatelf/src/system/kernel/vm/
H A DPageCacheLocker.h22 bool Lock(vm_page* page, bool dontWait = true);
36 Lock(page, dontWait);
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfAttribute.cpp53 using IlmThread::Lock;
90 Lock lock (criticalSection);
108 Lock lock (tMap.mutex);
119 Lock lock (tMap.mutex);
134 Lock lock (tMap.mutex);
144 Lock lock (tMap.mutex);
/haiku-fatelf/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);
/haiku-fatelf/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-fatelf/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::AutoLockerReadLocking
48 inline bool Lock(Lockable* lockable) function in class:BPrivate::AutoLockerWriteLocking
88 Lock();
98 Lock();
113 Lock();
128 inline bool Lock() function in class:BPrivate::AutoLocker
131 fLocked = fLocking.Lock(fLockable);
/haiku-fatelf/src/apps/webpositive/support/
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::AutoLockerReadLocking
48 inline bool Lock(Lockable* lockable) function in class:BPrivate::AutoLockerWriteLocking
88 Lock();
98 Lock();
113 Lock();
128 inline bool Lock() function in class:BPrivate::AutoLocker
131 fLocked = fLocking.Lock(fLockable);
/haiku-fatelf/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-fatelf/headers/private/interface/
H A DToolTipManager.h30 bool Lock() { return fLock.Lock(); } function in class:BToolTipManager
/haiku-fatelf/headers/private/kernel/util/
H A DAutoLock.h25 inline bool Lock(mutex *lockable) function in class:BPrivate::MutexLocking
41 inline bool Lock(recursive_lock *lockable) function in class:BPrivate::RecursiveLockLocking
57 inline bool Lock(rw_lock *lockable) function in class:BPrivate::ReadWriteLockReadLocking
70 inline bool Lock(rw_lock *lockable) function in class:BPrivate::ReadWriteLockWriteLocking
87 inline bool Lock(int* lockable) function in class:BPrivate::InterruptsLocking
116 inline bool Lock(spinlock* lockable) function in class:BPrivate::SpinLocking
143 inline bool Lock(spinlock* lockable) function in class:BPrivate::InterruptsSpinLocking
165 inline bool Lock(Thread* thread) function in class:BPrivate::ThreadCPUPinLocking
/haiku-fatelf/src/tests/kits/app/bmessenger/
H A DSMReplyTarget.cpp19 CHK(fLooper->Lock());
29 fLooper->Lock();
/haiku-fatelf/src/apps/cdplayer/
H A DPlayList.cpp50 fLocker.Lock();
73 fLocker.Lock();
87 fLocker.Lock();
99 fLocker.Lock();
116 fLocker.Lock();
132 fLocker.Lock();
148 fLocker.Lock();
161 fLocker.Lock();
192 fLocker.Lock();
222 fLocker.Lock();
[all...]
/haiku-fatelf/headers/os/package/
H A DBlockBufferCacheNoLock.h21 virtual bool Lock();
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/
H A DBlockBufferCacheKernel.cpp26 BlockBufferCacheKernel::Lock() function in class:BlockBufferCacheKernel
/haiku-fatelf/src/apps/mediaplayer/media_node_framework/video/
H A DVideoTarget.cpp23 return fBitmapLock.Lock();
/haiku-fatelf/src/kits/app/
H A DAppServerLink.cpp33 sLock.Lock();
/haiku-fatelf/src/tests/kits/app/bmessagequeue/
H A DMessageQueueTestCase.cpp38 if (theMessageQueue->Lock()) {
53 if (theMessageQueue->Lock()) {
63 if (theMessageQueue->Lock()) {
76 if (theMessageQueue->Lock()) {

Completed in 165 milliseconds

1234567891011>>