Searched refs:locked (Results 1 - 23 of 23) sorted by relevance

/haiku/src/tests/servers/app/newerClipping/
H A DMultiLocker.cpp129 bool locked = false; local
136 locked = true;
142 locked = (acquire_sem_etc(fReadSem, 1, B_DO_NOT_RESCHEDULE,
144 } else locked = true;
147 if (locked) register_thread();
159 return locked;
169 bool locked = false; local
178 locked = true;
183 locked = (acquire_sem_etc(fWriterLock, 1, B_DO_NOT_RESCHEDULE,
185 } else locked
381 bool locked = true; local
[all...]
/haiku/src/servers/app/
H A DMultiLocker.cpp140 bool locked = (rw_lock_read_lock(&fLock) == B_OK); local
148 return locked;
159 bool locked = (rw_lock_write_lock(&fLock) == B_OK); local
167 return locked;
238 bool locked = false; local
248 locked = true;
255 locked = status == B_OK;
257 if (locked)
261 return locked;
268 bool locked local
[all...]
H A DDrawState.h130 void SetDrawingModeLocked(bool locked);
H A DDrawState.cpp673 DrawState::SetDrawingModeLocked(bool locked) argument
675 fDrawingModeLocked = locked;
/haiku/src/tests/kits/support/bstring/
H A DStringAccessTest.cpp57 BString locked("a string");
58 char *ptrstr = locked.LockBuffer(20);
60 strcat(ptrstr, " to be locked");
61 locked.UnlockBuffer();
62 CPPUNIT_ASSERT(strcmp(ptrstr, "a string to be locked") == 0);
/haiku/src/kits/shared/
H A DRWLocker.cpp209 bool locked = false; local
216 locked = true;
221 locked = true;
227 if (error == B_OK && !locked) {
281 bool locked = false; local
308 // locked the data. But that doesn't harm.
315 locked = true;
340 locked = true;
352 if (!locked && error == B_OK) {
372 if (!locked
[all...]
/haiku/src/bin/bfs_tools/lib/
H A DCache.h25 locked(0L),
38 int32 locked; member in class:Cache::Cacheable
64 if (entry->locked <= 0 || force)
109 entry->locked++;
119 entry->locked--;
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache_priv.h73 locked; /* list of clean and locked blocks */ member in struct:block_cache
H A Dfs_cache.c10 The locked list is for blocks that are locked in the cache by
538 real_dump_cache_list(&bc.locked);
557 for(ce=bc.locked.lru; ce; prev=ce, ce=ce->next) {
579 printf("LOCKED 0x%x (tail 0x%x, head 0x%x)\n", &bc.locked,
580 bc.locked.lru, bc.locked.mru);
581 for(nce=bc.locked.lru; nce; nce=nce->next)
603 for(oce=bc.locked.lru; oce; oce=oce->next) {
616 cel = &bc.locked;
[all...]
/haiku/src/kits/app/
H A DClipboard.cpp153 bool locked = fLock.Lock(); local
156 if (locked && _DownloadFromSystem() != B_OK) {
157 locked = false;
162 return locked;
277 // This function is for jumping to the debugger if not locked
279 debugger("The clipboard must be locked before proceeding.");
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_phy.c731 * @locked: semaphore has already been acquired or not
738 bool locked)
744 if (!locked) {
761 if (!locked)
801 * @locked: semaphore has already been acquired or not
807 bool locked)
813 if (!locked) {
830 if (!locked)
869 * @locked: semaphore has already been acquired or not
876 bool locked)
737 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
806 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
875 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
950 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
3545 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool locked, bool page_set) argument
3655 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument
4125 bool locked = false; local
4187 bool locked = false; local
[all...]
/haiku/headers/private/userlandfs/legacy/
H A Dcache.h75 locked; /* list of clean and locked blocks */ member in struct:block_cache
/haiku/src/libs/compat/freebsd_network/
H A Dcallout.cpp190 _callout_stop(struct callout *c, bool drain, bool locked = false)
195 if (!locked)
/haiku/src/add-ons/kernel/generic/mpu401/
H A Dmpu401.c556 spinlock locked = B_SPINLOCK_INITIALIZER; variable
561 acquire_spinlock(&locked);
568 release_spinlock(&locked);
/haiku/src/system/kernel/
H A Dimage.cpp86 register_image(Team *team, extended_image_info *info, size_t size, bool locked) argument
98 if (!locked)
114 if (!locked)
H A DUserTimer.cpp197 bool locked = false; local
198 while (!locked && atomic_get(&userTimer->fSkip) == 0) {
199 locked = try_acquire_write_seqlock(&sUserTimerLock);
200 if (!locked)
204 if (locked) {
H A Dsmp.cpp166 bool locked = B_SPINLOCK_IS_LOCKED(lock); local
167 if (locked) {
168 kprintf(" locked from %p\n", find_lock_caller(lock));
170 kprintf(" not locked\n");
/haiku/src/apps/terminal/
H A DTerminalRoster.cpp112 bool locked = fLock.Lock(); local
113 if (!locked)
/haiku/src/apps/mediaconverter/
H A DMediaConverterApp.cpp165 bool locked = fWin->Lock(); local
167 if (locked && (fWin->CountSourceFiles() > 0)) {
177 if (locked) {
/haiku/src/kits/interface/
H A DMenu.cpp747 const bool locked = LockLooper(); local
750 if (locked)
756 if (locked) {
780 const bool locked = LockLooper(); local
786 if (locked)
791 if (locked) {
871 bool locked = LockLooper();
883 if (locked && Window() != NULL && !Window()->IsHidden()) {
890 if (locked)
2434 bool locked local
[all...]
/haiku/src/apps/deskbar/
H A DTeamMenuItem.cpp401 bool locked = sub->LockLooper(); local
404 if (locked)
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DQuery.cpp377 bool locked = false; local
392 locked = true;
433 locked = true;
461 if (locked)
/haiku/src/apps/cortex/MediaRoutingView/
H A DMediaRoutingView.cpp646 bool locked; local
647 if(message->FindBool("locked", &locked) < B_OK)
652 uint32 f = locked ?

Completed in 230 milliseconds