Include dependency graph for rtai_atomic.h:

Go to the source code of this file.
Defines | |
| #define | atomic_inc(v) (void) atomic_add_return(1, v) |
| #define | atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) |
Functions | |
| static unsigned long | atomic_xchg (volatile void *ptr, unsigned long x) |
| static unsigned long | atomic_cmpxchg (volatile void *ptr, unsigned long old, unsigned long new) |
| static int | atomic_add_return (int i, atomic_t *v) |
| static int | atomic_sub_return (int i, atomic_t *v) |
| #define atomic_dec_and_test | ( | v | ) | (atomic_sub_return(1, v) == 0) |
Definition at line 166 of file rtai_atomic.h.
Referenced by rtai_critical_enter(), and rtf_destroy().
| #define atomic_inc | ( | v | ) | (void) atomic_add_return(1, v) |
Definition at line 165 of file rtai_atomic.h.
Referenced by rt_Trigger(), rt_trigger(), rtai_critical_exit(), rtf_create(), and set_rtext().
| static int atomic_add_return | ( | int | i, | |
| atomic_t * | v | |||
| ) | [inline, static] |
Definition at line 129 of file rtai_atomic.h.
References __asm__(), and atomic_t::counter.
Here is the call graph for this function:

| static unsigned long atomic_cmpxchg | ( | volatile void * | ptr, | |
| unsigned long | old, | |||
| unsigned long | new | |||
| ) | [inline, static] |
Definition at line 97 of file rtai_atomic.h.
References __asm__().
Here is the call graph for this function:

| static int atomic_sub_return | ( | int | i, | |
| atomic_t * | v | |||
| ) | [inline, static] |
Definition at line 147 of file rtai_atomic.h.
References __asm__(), and atomic_t::counter.
Here is the call graph for this function:

| static unsigned long atomic_xchg | ( | volatile void * | ptr, | |
| unsigned long | x | |||
| ) | [inline, static] |
Definition at line 86 of file rtai_atomic.h.
1.4.7