Searched refs:atomic_get (Results 26 - 50 of 91) sorted by relevance

1234

/haiku/src/apps/haikudepot/ui/
H A DScreenshotWindow.cpp275 int32 index = atomic_get(&fCurrentScreenshotIndex);
360 const int32 currentIndex = atomic_get(&fCurrentScreenshotIndex);
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_keyboard.cpp146 if (atomic_get(&sKeyboardOpenCount) == 0)
281 if (atomic_get(&sKeyboardOpenCount) != 0)
386 if (atomic_get(&sKeyboardOpenCount) == 0) {
H A Dps2_common.cpp305 if (atomic_get(&sIgnoreInterrupts)) {
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DStream.cpp148 while (atomic_get(&fInsideNotify) != 0)
287 while (atomic_get(&fInsideNotify) != 0)
536 if (atomic_get(&fProcessedBuffers) <= 0)
/haiku/src/system/libroot/os/arch/generic/
H A Dgeneric_atomic.cpp61 atomic_get(int32_t* ptr) function
/haiku/src/apps/powerstatus/
H A DACPIDriverInterface.cpp224 while (atomic_get(&fIsWatching) > 0) {
/haiku/src/servers/app/drawing/
H A DAlphaMaskCache.cpp67 if (atomic_get(&it->fMask->fNextMaskCount) > 0) {
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_barrier.cpp82 while (atomic_get((int32*)&barrier->waiter_count) < 0) {
/haiku/headers/os/support/
H A DSupportDefs.h305 atomic_get(int32* value) function
375 extern int32 atomic_get(int32 *value);
/haiku/src/system/kernel/locks/
H A Duser_mutex.cpp121 result = atomic_get(value);
127 result = atomic_get(value);
317 if (atomic_get(&entry->ref_count) > 0)
/haiku/src/servers/index/
H A DVolumeWatcher.cpp142 return (atomic_get(&fStopped) != 0);
280 return (atomic_get(&fBusy) != 0);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/pci/
H A Drtwn_pci_rx.c391 status = atomic_get(&pc->pc_intr_status);
392 tx_rings = atomic_get(&pc->pc_intr_tx_rings);
/haiku/src/system/kernel/
H A Dcondition_variable.cpp394 const int32 oldCount = atomic_get(&fEntriesCount);
400 while (atomic_get(&fEntriesCount) == oldCount) {
H A Dsmp.cpp140 int32 lastIndex = (uint32)atomic_get(&sLastIndex) % NUM_LAST_CALLERS;
707 return atomic_get((int32*)&lock->count);
823 } else if (atomic_get(&get_cpu_struct()->ici_counter)
824 != atomic_get(&sBroadcastMessageCounter)) {
H A Dtimer.cpp450 while (atomic_get(&cpuData.current_event_in_progress) == 1)
/haiku/src/add-ons/kernel/network/stack/
H A Dinterfaces.h156 inline bool IsBusy() const { return atomic_get((int32*)&fBusy) == 1 ; }
H A Ddevice_interfaces.cpp60 if (atomic_get(&interface->monitor_count) > 0)
103 while (atomic_get(&interface->ref_count) > 0) {
/haiku/src/servers/app/
H A DEventStream.cpp183 uint32 pos = atomic_get((int32*)&fCursorBuffer->pos);
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DHIDReport.cpp230 while (atomic_get(&fBusyCount) != 0)
/haiku/src/system/libroot/posix/
H A Dsemaphore.cpp33 int32 current = atomic_get(value);
/haiku/headers/private/kernel/
H A Dthread.h217 return atomic_get(&thread->wait.status) == 1;
/haiku/headers/os/drivers/
H A DKernelExport.h49 #define B_SPINLOCK_IS_LOCKED(spinlock) (atomic_get(&(spinlock)->lock) > 0)
/haiku/src/system/kernel/posix/
H A Dxsi_message_queue.cpp383 int32 oldCount = atomic_get(&sXsiMessageCount);
648 if (atomic_get(&sXsiMessageQueueCount) >= MAX_XSI_MESSAGE_QUEUE) {
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIController.cpp290 if ((int32)(addr_t)cookie == atomic_get(&fCurrentRequest))
/haiku/src/apps/terminal/
H A DTermParse.cpp1303 if (atomic_get(&fReadBufferSize) == 0) {
1305 while (atomic_get(&fReadBufferSize) == 0 && status == B_OK) {
1322 int32 toRead = atomic_get(&fReadBufferSize);

Completed in 160 milliseconds

1234