/haiku/src/system/libroot/os/locks/ |
H A D | init_once.cpp | 34 int32 value = atomic_test_and_set(control, STATE_INITIALIZING, 59 value = atomic_test_and_set(control, semaphore, STATE_INITIALIZING); 68 value = atomic_test_and_set(control, STATE_SPINNING,
|
H A D | mutex.cpp | 68 oldValue = atomic_test_and_set(&lock->lock, B_USER_MUTEX_LOCKED, 0);
|
/haiku/src/system/libroot/posix/pthread/ |
H A D | pthread_spinlock.cpp | 40 while (atomic_test_and_set((int32*)&lock->lock, LOCKED, UNLOCKED) 52 if (atomic_test_and_set((int32*)&lock->lock, LOCKED, UNLOCKED) == LOCKED)
|
H A D | pthread_once.cpp | 66 int32 value = atomic_test_and_set((int32*)&onceControl->state, 94 value = atomic_test_and_set((int32*)&onceControl->state, 104 value = atomic_test_and_set((int32*)&onceControl->state,
|
H A D | pthread_key.cpp | 92 if (atomic_test_and_set(&sKeyTable[key].sequence, nextSequence,
|
H A D | pthread_cond.cpp | 77 atomic_test_and_set((int32*)&cond->lock, B_USER_MUTEX_LOCKED, 0);
|
/haiku/src/system/boot/platform/riscv/ |
H A D | smp.h | 20 return atomic_test_and_set(&fLock, -1, 0) == 0;
|
/haiku/src/kits/shared/ |
H A D | WeakReferenceable.cpp | 38 } while (atomic_test_and_set(&fUseCount, count + 1, count) != count); 83 atomic_test_and_set(&fPointer->fUseCount, 0, 1);
|
/haiku/headers/private/kernel/arch/x86/32/ |
H A D | atomic.h | 90 #define atomic_test_and_set atomic_test_and_set_inline macro
|
/haiku/src/system/libroot/os/arch/m68k/ |
H A D | atomic.S | 72 /* int atomic_test_and_set(int *value, int setTo, int testValue) 74 FUNCTION(atomic_test_and_set): 80 FUNCTION_END(atomic_test_and_set)
|
/haiku/src/libs/compat/freebsd_network/compat/machine/ |
H A D | atomic.h | 31 (atomic_test_and_set((int32 *)(ptr), new, old) == (int32)old)
|
/haiku/headers/private/kernel/util/ |
H A D | atomic.h | 23 return (PointerType*)atomic_test_and_set((int32*)_pointer, (int32)set,
|
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_atomic32.cpp | 44 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) function 128 int32 oldValue = atomic_test_and_set((int32*)value, newValue, testAgainst);
|
/haiku/src/tools/fs_shell/ |
H A D | atomic.cpp | 30 return atomic_test_and_set((int32*)value, newValue, testAgainst);
|
/haiku/src/build/libroot/ |
H A D | atomic.cpp | 30 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) function
|
/haiku/src/system/libroot/os/ |
H A D | atomic.c | 29 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) function
|
/haiku/headers/private/kernel/vm/ |
H A D | vm_types.h | 230 thread_id previousThread = atomic_test_and_set(&page->accessing_thread, 244 thread_id previousThread = atomic_test_and_set(&page->accessing_thread, -1, 271 thread_id previousThread = atomic_test_and_set(&page->accessing_thread,
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/ |
H A D | nvme_atomic.h | 105 return atomic_test_and_set(v, 1, 0);
|
/haiku/src/system/libroot/os/arch/x86/ |
H A D | atomic.S | 39 /* int32 atomic_test_and_set(int32* value, int32 newValue, 41 FUNCTION(atomic_test_and_set): 48 FUNCTION_END(atomic_test_and_set)
|
/haiku/src/system/kernel/arch/arm/paging/32bit/ |
H A D | ARMPagingMethod32Bit.h | 132 return atomic_test_and_set((int32*)entry, newEntry, oldEntry); 156 page_table_entry oldEntry = atomic_test_and_set((int32*)entry,
|
/haiku/src/system/kernel/arch/x86/paging/32bit/ |
H A D | X86PagingMethod32Bit.h | 129 return atomic_test_and_set((int32*)entry, newEntry, oldEntry);
|
/haiku/src/system/libroot/os/arch/generic/ |
H A D | generic_atomic.cpp | 28 atomic_test_and_set(int32_t* ptr, int32_t desired, int32_t expected) function
|
/haiku/src/system/kernel/arch/m68k/paging/040/ |
H A D | M68KPagingMethod040.h | 141 return atomic_test_and_set((int32*)entry, newEntry, oldEntry);
|
/haiku/src/system/kernel/arch/ppc/paging/460/ |
H A D | PPCPagingMethod460.h | 159 return atomic_test_and_set((int32*)entry, newEntry, oldEntry);
|
/haiku/src/system/kernel/arch/ppc/paging/classic/ |
H A D | PPCPagingMethodClassic.h | 159 return atomic_test_and_set((int32*)entry, newEntry, oldEntry);
|