/haiku/src/kits/app/ |
H A D | DirectMessageTarget.cpp | 52 atomic_add(&fReferenceCount, 1); 59 if (atomic_add(&fReferenceCount, -1) == 1)
|
/haiku/src/system/kernel/arch/x86/paging/ |
H A D | X86PagingStructures.h | 39 atomic_add(&ref_count, 1); 46 if (atomic_add(&ref_count, -1) == 1)
|
/haiku/src/system/kernel/arch/arm/paging/ |
H A D | ARMPagingStructures.h | 39 atomic_add(&ref_count, 1); 46 if (atomic_add(&ref_count, -1) == 1)
|
/haiku/src/system/kernel/arch/m68k/paging/ |
H A D | M68KPagingStructures.h | 39 atomic_add(&ref_count, 1); 46 if (atomic_add(&ref_count, -1) == 1)
|
/haiku/src/system/kernel/arch/ppc/paging/ |
H A D | PPCPagingStructures.h | 40 atomic_add(&ref_count, 1); 47 if (atomic_add(&ref_count, -1) == 1)
|
/haiku/headers/private/graphics/common/ |
H A D | benaphore.h | 22 #define ACQUIRE_BEN(x) if((atomic_add(&(x.ben), 1)) >= 1) acquire_sem(x.sem); 23 #define RELEASE_BEN(x) if((atomic_add(&(x.ben), -1)) > 1) release_sem(x.sem);
|
/haiku/src/system/boot/platform/riscv/ |
H A D | smp.h | 26 if (atomic_add(&fLock, -1) < 0) { 33 atomic_add(&fLock, 1);
|
/haiku/src/apps/resedit/ |
H A D | ResWindow.cpp | 20 atomic_add(&sWindowCount, 1); 56 atomic_add(&sWindowCount, -1);
|
/haiku/src/system/kernel/arch/mips/ |
H A D | arch_asm.S | 10 FUNC(atomic_add)
|
/haiku/src/apps/patchbay/ |
H A D | CountEventConsumer.h | 38 atomic_add(&fEventCount, 1);
|
/haiku/src/system/libroot/os/arch/ppc/ |
H A D | tls.c | 21 int32 next = atomic_add(&gNextSlot, 1);
|
/haiku/src/system/libroot/os/arch/sparc/ |
H A D | tls.c | 21 int32 next = atomic_add(&gNextSlot, 1);
|
/haiku/headers/private/userlandfs/legacy/ |
H A D | lock.h | 41 #define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s); 42 #define UNLOCK(l) if (atomic_add(&l.c, 1) < 0) release_sem(l.s);
|
/haiku/src/tests/kits/storage/virtualdrive/ |
H A D | lock.h | 33 #define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s); 34 #define UNLOCK(l) if (atomic_add(&l.c, 1) < 0) release_sem(l.s);
|
/haiku/headers/private/graphics/radeon_hd/ |
H A D | lock.h | 41 if (atomic_add(&lock->count, 1) > 0) 51 if (atomic_add(&lock->count, -1) > 1)
|
/haiku/headers/private/support/ |
H A D | StringPrivate.h | 58 atomic_add(&DataRefCount(data), 1); 64 if (atomic_add(&DataRefCount(data), -1) == 1)
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | lock.h | 41 #define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s); 42 #define UNLOCK(l) if (atomic_add(&l.c, 1) < 0) release_sem(l.s);
|
/haiku/src/kits/support/ |
H A D | Referenceable.cpp | 44 int32 previousReferenceCount = atomic_add(&fReferenceCount, 1); 57 int32 previousReferenceCount = atomic_add(&fReferenceCount, -1);
|
/haiku/headers/private/graphics/intel_extreme/ |
H A D | lock.h | 41 if (atomic_add(&lock->count, 1) > 0) 51 if (atomic_add(&lock->count, -1) > 1)
|
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | refcnt.h | 31 refs = atomic_add(&r->r_refs, 1); 41 refs = atomic_add(&r->r_refs, -1) - 1;
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | lock.h | 30 if (atomic_add(&(l->c), -1) <= 0) 37 if (atomic_add(&(l->c), 1) < 0) 43 //#define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s); 44 //#define UNLOCK(l) if (atomic_add(&l.c, 1) < 0) release_sem(l.s);
|
/haiku/src/add-ons/media/media-add-ons/dvb/ |
H A D | PacketQueue.cpp | 75 if (atomic_add(&fPacketCount, 1) == fMaxPackets) { 76 atomic_add(&fPacketCount, -1); 98 atomic_add(&fPacketCount, -1); 118 atomic_add(&fPacketCount, -1);
|
/haiku/src/libs/compat/freebsd_network/compat/machine/ |
H A D | atomic.h | 13 atomic_add((int32 *)(ptr), value) 16 atomic_add((int32 *)(ptr), -value) 41 #define atomic_fetchadd_32(ptr, val) atomic_add((int32 *)ptr, val)
|
/haiku/src/kits/package/ |
H A D | TempfileManager.cpp | 53 BString name = BString(baseName) << atomic_add(&fNextNumber, 1);
|
/haiku/src/servers/registrar/mime/ |
H A D | RegistrarThreadManager.cpp | 94 if (atomic_add(&fThreadCount, 1) >= kThreadLimit) { 96 atomic_add(&fThreadCount, -1); 108 atomic_add(&fThreadCount, -1); 250 atomic_add(&fThreadCount, -1);
|