/haiku/src/system/libroot/os/ |
H A D | find_paths.cpp | 132 atomic_add(&defaultLocations->fReferenceCount, 1); 138 if (atomic_add(&fReferenceCount, -1) == 1)
|
/haiku/src/system/kernel/arch/arm/paging/32bit/ |
H A D | ARMVMTranslationMap32Bit.cpp | 488 atomic_add(&gMappedPagesCount, -1); 552 atomic_add(&gMappedPagesCount, -1);
|
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixProducer/ |
H A D | Producer.cpp | 50 if (atomic_add(&fInstances, 1) != 0) 93 atomic_add(&fInstances, -1);
|
/haiku/src/add-ons/kernel/drivers/input/hid_shared/ |
H A D | KeyboardProtocolHandler.cpp | 163 if (atomic_add(&sDebuggerCommandAdded, 1) == 0) { 179 if (atomic_add(&sDebuggerCommandAdded, -1) == 1) {
|
/haiku/src/system/runtime_loader/ |
H A D | elf_load_image.cpp | 523 atomic_add(&found->ref_count, 1); 557 atomic_add(&found->ref_count, 1);
|
/haiku/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | cm.c | 770 if (atomic_add(&card->inth_count, 1) == 0) { 783 if (atomic_add(&card->inth_count, -1) == 1) {
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | ClientVolume.cpp | 519 return atomic_add(&sNextVolumeID, 1);
|
/haiku/src/add-ons/kernel/network/ppp/pap/ |
H A D | Protocol.cpp | 258 return (uint8) atomic_add(&fID, 1);
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | proto_bulk.c | 330 .tag = atomic_add(&udi->tag, 1),
|
/haiku/src/add-ons/kernel/network/ppp/pppoe/ |
H A D | pppoe.cpp | 135 return (uint32) atomic_add(&sHostUniq, 1);
|
/haiku/src/system/boot/loader/ |
H A D | partitions.cpp | 118 id = atomic_add(&sIdCounter, 1);
|
/haiku/src/kits/translation/ |
H A D | TranslatorRoster.cpp | 881 int32 former = atomic_add(&fKnownImages[image], -1); 1261 if (atomic_add(&lock, 1) != 0) { 1266 atomic_add(&lock, -1); 1281 atomic_add(&lock, -1);
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | engine.cpp | 52 atomic_add(&flush, 1);
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | mbuf.c | 274 if (*refcnt == 1 || atomic_add((int32*)refcnt, -1) == 1) {
|
/haiku/src/add-ons/kernel/drivers/input/usb_hid/ |
H A D | Driver.cpp | 105 int32 parentCookie = atomic_add(&sParentCookie, 1);
|
/haiku/src/add-ons/kernel/busses/scsi/virtio/ |
H A D | VirtioSCSIController.cpp | 234 atomic_add(&fCurrentRequest, 1);
|
/haiku/src/apps/processcontroller/ |
H A D | ProcessController.cpp | 574 if (atomic_add(&gPopupFlag, 1) > 0) { 575 atomic_add(&gPopupFlag, -1); 918 atomic_add (&gPopupFlag, -1);
|
/haiku/src/kits/app/ |
H A D | Looper.cpp | 617 int32 atomicCount = atomic_add(&fAtomicCount, -1); 974 oldCount = atomic_add(&looper->fAtomicCount, 1); 1495 int32 atomicCount = atomic_add(&fAtomicCount, -1);
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | routes.cpp | 196 if (route == NULL || atomic_add(&route->ref_count, -1) != 1) 235 if (route != NULL && atomic_add(&route->ref_count, 1) == 0) { 642 atomic_add(&route->ref_count, 1);
|
H A D | datalink.cpp | 198 atomic_add((int32*)&device->stats.send.packets, 1); 202 atomic_add((int32*)&device->stats.send.dropped, 1); 204 atomic_add((int32*)&device->stats.send.errors, 1);
|
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | SerialDevice.cpp | 401 atomic_add(&fPendingDPC, 1); 527 atomic_add(&fPendingDPC, -1); 924 atomic_add(&fWriteBufferAvail, bytesLeft);
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | websearchfs.c | 131 if (atomic_add(&refcount, 1)) 148 atomic_add(&ns->nodecount, 1); 183 atomic_add(&refcount, -1); 209 atomic_add(&refcount, -1); 224 atomic_add(&ns->nodecount, -1); 734 atomic_add(&ns->nodecount, 1); 774 atomic_add(&ns->nodecount, -1);
|
/haiku/src/system/kernel/device_manager/ |
H A D | legacy_drivers.cpp | 516 atomic_add(&sDriverEventsPending, 1); 821 atomic_add(&sDriverEventsPending, 1); 1104 atomic_add(&sDriverEventsPending, 1);
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | RPCServer.cpp | 266 return static_cast<uint32>(atomic_add(&fXID, 1));
|
/haiku/src/preferences/mail/ |
H A D | DNSQuery.cpp | 389 int32 nextId= atomic_add(&gID, 1);
|