/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | engine.cpp | 36 acquire_lock(&fRingBuffer.lock); 48 // is in write combining mode - releasing the lock does this, as the 56 release_lock(&fRingBuffer.lock); 160 uninit_lock(&ringBuffer.lock); 171 if (init_lock(&ringBuffer.lock, name) < B_OK) { 247 // a better way to do this would be to acquire the engine's lock and
|
/haiku/src/add-ons/kernel/busses/pci/x86/ |
H A D | X86PCIController.cpp | 195 InterruptsSpinLocker lock(fLock); 223 InterruptsSpinLocker lock(fLock); 278 InterruptsSpinLocker lock(fLock); 308 InterruptsSpinLocker lock(fLock);
|
/haiku/src/add-ons/kernel/network/protocols/unix/ |
H A D | UnixEndpoint.h | 13 #include <lock.h>
|
/haiku/src/add-ons/tracker/zipomatic/ |
H A D | ZipperThread.cpp | 272 static BLocker lock; local 274 if (lock.Lock()) { 325 lock.Unlock(); 339 lock.Unlock();
|
/haiku/src/system/kernel/arch/x86/ |
H A D | msi.cpp | 12 #include <lock.h>
|
/haiku/src/add-ons/kernel/drivers/audio/generic/ |
H A D | util.c | 43 lock(void) function
|
/haiku/headers/private/bluetooth/ |
H A D | btCoreData.h | 10 #include <lock.h>
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | net_socket.cpp | 67 mutex lock; member in struct:net_socket_private 103 mutex_init(&lock, "socket"); 127 mutex_lock(&lock); 137 mutex_unlock(&lock); 141 mutex_destroy(&lock); 634 MutexLocker locker(parent->lock); 675 mutex_lock(&parent->lock); 685 mutex_unlock(&parent->lock); 699 MutexLocker _(parent->lock); 713 MutexLocker _(socket->lock); [all...] |
/haiku/src/kits/debug/ |
H A D | DebugLooper.cpp | 41 status_t Wait(BLocker& lock) argument 45 lock.Unlock(); 50 lock.Lock();
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Inode.h | 103 struct flock* lock); 105 const struct flock* lock, bool wait); 107 const struct flock* lock);
|
/haiku/src/apps/haikudepot/ui/ |
H A D | PackageContentsView.cpp | 202 fPackageLock("package contents populator lock"), 259 BAutolock lock(&fPackageLock); 278 BAutolock lock(&fPackageLock); 311 BAutolock lock(&view->fPackageLock);
|
/haiku/src/system/kernel/ |
H A D | guarded_heap.cpp | 59 mutex lock; member in struct:guarded_heap_area 65 rw_lock lock; member in struct:guarded_heap 74 RW_LOCK_INITIALIZER("guarded heap lock"), 353 mutex_init(&area->lock, "guarded_heap_area_lock"); 361 WriteLocker areaListWriteLocker(heap.lock); 418 ReadLocker areaListReadLocker(heap.lock); 422 MutexLocker locker(area->lock); 448 ReadLocker areaListReadLocker(heap.lock); 457 mutex_lock(&area->lock); 539 MutexLocker locker(area->lock, tru [all...] |
H A D | sem.cpp | 61 // sFreeSemsTail), Team::sem_list, and together with sem_entry::lock 63 // * sem_entry::lock: Protects all sem_entry members. owner, team_link 65 // lock itself doesn't need protection -- sem_entry objects are never deleted. 67 // The locking order is sSemsSpinlock -> sem_entry::lock -> scheduler lock. All 70 // sem_entry::lock and verifying that sem_entry::id matches afterwards. 117 spinlock lock; // protects only the id field when unused member in struct:sem_entry 305 The semaphore's lock must be held when called. 363 SpinLocker semLocker(sSems[slot].lock); 508 SpinLocker semLocker(sem->lock); [all...] |
/haiku/src/kits/tracker/ |
H A D | Tests.cpp | 142 AutoLock<BLocker> lock(locker); 144 if (!lock || quitting) 147 lock.Unlock();
|
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | uhci.h | 15 #include <lock.h> 44 bool lock = true); 46 bool lock = true);
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | PlaylistWindow.cpp | 84 fLocker(new RWLocker("command stack lock")), 427 AutoLocker<Playlist> lock(fPlaylist); 428 if (!lock.IsLocked()) { 439 lock.Unlock(); 457 BAutolock lock(fPlaylist); 472 BAutolock lock(this);
|
/haiku/src/system/kernel/debug/ |
H A D | frame_buffer_console.cpp | 17 #include <lock.h> 48 mutex lock; member in struct:console_info 422 mutex_lock(&sConsole.lock); 445 mutex_unlock(&sConsole.lock); 454 mutex_init(&sConsole.lock, "console_lock");
|
H A D | user_debugger.cpp | 96 // get the write lock 97 TRACE(("debugger_write(): acquiring write lock...\n")); 123 // release the write lock 134 Interrupts must be disabled and the thread's debug info lock must be held. 148 Interrupts must be disabled and the thread debug info lock must be held. 201 The team's lock must be held. 221 * structure at the same time, `lock' must be held when calling the function. 239 B_INITIALIZE_SPINLOCK(&info->lock); 246 * `lock' must not be held nor may interrupts be disabled. 251 * 1. get `lock' [all...] |
/haiku/src/kits/network/libnetservices/ |
H A D | HttpAuthentication.cpp | 139 BPrivate::AutoLocker<BLocker> lock(fLock); 239 BPrivate::AutoLocker<BLocker> lock(fLock); 247 BPrivate::AutoLocker<BLocker> lock(fLock); 255 BPrivate::AutoLocker<BLocker> lock(fLock); 263 BPrivate::AutoLocker<BLocker> lock(fLock);
|
/haiku/src/apps/deskbar/ |
H A D | ResourceSet.cpp | 474 BAutolock lock(&fLock); 493 BAutolock lock(&fLock); 517 BAutolock lock(&fLock); 678 BAutolock lock(&fLock); 783 BAutolock lock(&fLock); 832 BAutolock lock(&fLock); 869 BAutolock lock(&fLock); 898 // Don't have 'em, lock access to make 'em.
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_ns.c | 114 pthread_mutex_lock(&ctrlr->lock); 121 pthread_mutex_unlock(&ctrlr->lock); 127 * Get the controller of an open name space and lock it, 143 pthread_mutex_lock(&ctrlr->lock); 146 * Between the check and lock, the ns may have gone away. 152 pthread_mutex_unlock(&ctrlr->lock); 174 pthread_mutex_unlock(&ctrlr->lock); 199 pthread_mutex_unlock(&ctrlr->lock); 219 pthread_mutex_unlock(&ctrlr->lock);
|
/haiku/src/kits/media/ |
H A D | TimedEventQueuePrivate.cpp | 73 BAutolock lock(fLock); 140 BAutolock lock(fLock); 157 BAutolock lock(fLock); 229 BAutolock lock(fLock); 291 BAutolock lock(fLock); 423 BAutolock lock(fLock); 500 BAutolock lock(fLock);
|
/haiku/src/system/kernel/cache/ |
H A D | block_cache.cpp | 18 #include <lock.h> 214 mutex lock; member in struct:__anon39::block_cache 332 mutex_lock(&cache->lock); 340 mutex_unlock(&cache->lock); 344 mutex_lock(&cache->lock); 352 mutex_unlock(&cache->lock); 858 Must not be called with a cache lock held. 1206 mutex_unlock(&fCache->lock); 1232 mutex_lock(&fCache->lock); 1421 /*! Should be called with the cache's lock hel [all...] |
/haiku/src/add-ons/kernel/generic/tty/ |
H A D | tty.cpp | 50 tty::lock: Guards the access to tty::{input_buffer,settings::{termios, 53 share the same lock. 56 RequestQueue methods do the locking themselves (the lock is a 64 {Reader,Writer}Locker classes. Upon construction they lock the tty, 65 (tty::lock) create a RequestOwner and queue Requests in the respective 99 { recursive_lock_lock(fCookie->tty->lock); } 101 { recursive_lock_unlock(fCookie->tty->lock); } 329 /*! The caller must already hold the request lock. 357 /*! The caller must already hold the request lock. 385 /*! The request lock MUS [all...] |
/haiku/src/add-ons/kernel/drivers/bus/usb/ |
H A D | usb_raw.cpp | 17 #include <lock.h> 37 mutex lock; member in struct:__anon127 61 mutex_init(&device->lock, "usb_raw device lock"); 65 mutex_destroy(&device->lock); 130 mutex_lock(&device->lock); 131 mutex_destroy(&device->lock); 236 mutex_lock(&device->lock); 237 mutex_destroy(&device->lock); 734 MutexLocker deviceLocker(device->lock); [all...] |