Searched refs:atomic_test_and_set (Results 1 - 25 of 47) sorted by path

12

/haiku/headers/private/kernel/arch/x86/32/
H A Datomic.h90 #define atomic_test_and_set atomic_test_and_set_inline macro
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/
H A Dnvme_atomic.h105 return atomic_test_and_set(v, 1, 0);
/haiku/src/build/libroot/
H A Datomic.cpp30 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) function
/haiku/src/system/kernel/arch/arm/
H A Darch_atomic32.cpp44 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) function
128 int32 oldValue = atomic_test_and_set((int32*)value, newValue, testAgainst);
/haiku/src/system/kernel/arch/m68k/paging/040/
H A DM68KPagingMethod040.h141 return atomic_test_and_set((int32*)entry, newEntry, oldEntry);
/haiku/src/system/kernel/arch/ppc/paging/460/
H A DPPCPagingMethod460.h159 return atomic_test_and_set((int32*)entry, newEntry, oldEntry);
/haiku/src/system/kernel/arch/ppc/paging/classic/
H A DPPCPagingMethodClassic.h159 return atomic_test_and_set((int32*)entry, newEntry, oldEntry);
/haiku/src/system/kernel/arch/x86/
H A Darch_debug_console.cpp428 while (atomic_test_and_set(&sEarlyBootMessageLock, 1, 0) != 0)
/haiku/src/system/kernel/arch/x86/paging/32bit/
H A DX86PagingMethod32Bit.h129 return atomic_test_and_set((int32*)entry, newEntry, oldEntry);
/haiku/src/system/libroot/os/arch/generic/
H A Dgeneric_atomic.cpp28 atomic_test_and_set(int32_t* ptr, int32_t desired, int32_t expected) function
/haiku/src/system/libroot/os/arch/x86/
H A Datomic.S39 /* 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/libroot/os/locks/
H A Dinit_once.cpp34 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,
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_key.cpp92 if (atomic_test_and_set(&sKeyTable[key].sequence, nextSequence,
/haiku/src/tools/fs_shell/
H A Datomic.cpp30 return atomic_test_and_set((int32*)value, newValue, testAgainst);
/haiku/headers/os/support/
H A DSupportDefs.h275 atomic_test_and_set(int32* value, int32 newValue, int32 testAgainst) function
371 extern int32 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst);
/haiku/headers/private/fs_shell/
H A Dfssh_api_wrapper.h61 #define atomic_test_and_set fssh_atomic_test_and_set macro
/haiku/headers/private/kernel/
H A Dlock.h251 if (atomic_test_and_set(&lock->count, -1, 0) != 0)
H A Dsmp.h213 return atomic_test_and_set(&lock->lock, 1u << 31, 0) == 0;
H A Dthread.h354 if (atomic_test_and_set(&thread->wait.status, status, 1) != 1)
/haiku/headers/private/kernel/util/
H A Datomic.h23 return (PointerType*)atomic_test_and_set((int32*)_pointer, (int32)set,
/haiku/headers/private/kernel/vm/
H A Dvm_types.h230 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/bus_managers/acpi/
H A DACPICAHaiku.cpp1240 } while (atomic_test_and_set((int32*)lock, newValue, oldValue) != (int32)oldValue);
1262 } while (atomic_test_and_set((int32*)lock, newValue, oldValue) != (int32)oldValue);
H A DEmbeddedController.cpp587 } while (atomic_test_and_set(&sc->ec_sci_pending, 0, pending));
/haiku/src/add-ons/kernel/busses/i2c/pch/
H A Dpch_i2c.cpp111 if (atomic_test_and_set(&bus->busy, 1, 0) != 0)
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp755 atomic_test_and_set(&sMaxAllocatedDataHeaderCount, current, max);
770 atomic_test_and_set(&sMaxAllocatedNetBufferCount, current, max);

Completed in 210 milliseconds

12