HelenOS sources

__sync_val_compare_and_swap_4   73 kernel/arch/arm32/src/atomic.c unsigned __sync_val_compare_and_swap_4(volatile void *ptr0, unsigned expected,
__sync_val_compare_and_swap_4  187 uspace/lib/c/arch/arm32/src/atomic.c unsigned __sync_val_compare_and_swap_4(volatile void *ptr, unsigned old_val, unsigned new_val)
HelenOS homepage, sources at GitHub