|
static ALWAYS_INLINE atomic_val_t | atomic_get (const atomic_t *target) |
| Implementation of atomic_get.
|
|
static ALWAYS_INLINE atomic_val_t | xtensa_cas (atomic_t *addr, atomic_val_t oldval, atomic_val_t newval) |
| Xtensa specific atomic compare-and-set (CAS).
|
|
static ALWAYS_INLINE bool | atomic_cas (atomic_t *target, atomic_val_t oldval, atomic_val_t newval) |
| Implementation of atomic_cas.
|
|
static ALWAYS_INLINE bool | atomic_ptr_cas (atomic_ptr_t *target, void *oldval, void *newval) |
| Implementation of atomic_ptr_cas.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_set (atomic_t *target, atomic_val_t value) |
| Implementation of atomic_set.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_add (atomic_t *target, atomic_val_t value) |
| Implementation of atomic_add.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_sub (atomic_t *target, atomic_val_t value) |
| Implementation of atomic_sub.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_inc (atomic_t *target) |
| Implementation of atomic_inc.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_dec (atomic_t *target) |
| Implementation of atomic_dec.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_or (atomic_t *target, atomic_val_t value) |
| Implementation of atomic_or.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_xor (atomic_t *target, atomic_val_t value) |
| Implementation of atomic_xor.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_and (atomic_t *target, atomic_val_t value) |
| Implementation of atomic_and.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_nand (atomic_t *target, atomic_val_t value) |
| Implementation of atomic_nand.
|
|
static ALWAYS_INLINE void * | atomic_ptr_get (const atomic_ptr_t *target) |
| Implementation of atomic_ptr_get.
|
|
static ALWAYS_INLINE void * | atomic_ptr_set (atomic_ptr_t *target, void *value) |
| Implementation of atomic_ptr_set.
|
|
static ALWAYS_INLINE atomic_val_t | atomic_clear (atomic_t *target) |
| Implementation of atomic_clear.
|
|
static ALWAYS_INLINE void * | atomic_ptr_clear (atomic_ptr_t *target) |
| Implementation of atomic_ptr_clear.
|
|