FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | clib_atomic_fetch_add(a, b) __sync_fetch_and_add(a, b) |
#define | clib_atomic_fetch_sub(a, b) __sync_fetch_and_sub(a, b) |
#define | clib_atomic_fetch_and(a, b) __sync_fetch_and_and(a, b) |
#define | clib_atomic_fetch_xor(a, b) __sync_fetch_and_xor(a, b) |
#define | clib_atomic_fetch_or(a, b) __sync_fetch_and_or(a, b) |
#define | clib_atomic_fetch_nand(a, b) __sync_fetch_nand(a, b) |
#define | clib_atomic_add_fetch(a, b) __sync_add_and_fetch(a, b) |
#define | clib_atomic_sub_fetch(a, b) __sync_sub_and_fetch(a, b) |
#define | clib_atomic_and_fetch(a, b) __sync_and_and_fetch(a, b) |
#define | clib_atomic_xor_fetch(a, b) __sync_xor_and_fetch(a, b) |
#define | clib_atomic_or_fetch(a, b) __sync_or_and_fetch(a, b) |
#define | clib_atomic_nand_fetch(a, b) __sync_nand_and_fetch(a, b) |
#define | clib_atomic_cmp_and_swap(addr, old, new) __sync_val_compare_and_swap(addr, old, new) |
#define | clib_atomic_bool_cmp_and_swap(addr, old, new) __sync_bool_compare_and_swap(addr, old, new) |
#define | clib_atomic_test_and_set(a) __sync_lock_test_and_set(a, 1) |
#define | clib_atomic_release(a) __sync_lock_release(a) |
#define | clib_atomic_load_acq_n(a) __atomic_load_n((a), __ATOMIC_ACQUIRE) |
#define | clib_atomic_store_rel_n(a, b) __atomic_store_n ((a), (b), __ATOMIC_RELEASE) |
#define | clib_atomic_swap_acq_n(a, b) __atomic_exchange_n ((a), (b), __ATOMIC_ACQUIRE) |
#define | clib_atomic_fetch_add_rel(a, b) __atomic_fetch_add((a), (b), __ATOMIC_RELEASE) |
#define | clib_atomic_fetch_sub_rel(a, b) __atomic_fetch_sub((a), (b), __ATOMIC_RELEASE) |