Go to the source code of this file.
Data Structures | |
struct | atomic_t |
struct | __rtai_xchg_dummy |
Defines | |
#define | LOCK_PREFIX "" |
#define | __rtai_xg(x) ((struct __rtai_xchg_dummy *)(x)) |
Functions | |
static unsigned long | atomic_xchg (volatile void *ptr, unsigned long x) |
static unsigned long | atomic_cmpxchg (volatile void *ptr, unsigned long o, unsigned long n) |
static __inline__ int | atomic_dec_and_test (atomic_t *v) |
static __inline__ void | atomic_inc (atomic_t *v) |
#define __rtai_xg | ( | x | ) | ((struct __rtai_xchg_dummy *)(x)) |
Definition at line 48 of file rtai_atomic.h.
#define LOCK_PREFIX "" |
Definition at line 41 of file rtai_atomic.h.
static unsigned long atomic_cmpxchg | ( | volatile void * | ptr, | |
unsigned long | o, | |||
unsigned long | n | |||
) | [inline, static] |
Definition at line 59 of file rtai_atomic.h.
References __asm__(), __rtai_xg, and LOCK_PREFIX.
Here is the call graph for this function:
static __inline__ int atomic_dec_and_test | ( | atomic_t * | v | ) | [static] |
Definition at line 71 of file rtai_atomic.h.
References __asm__(), atomic_t::counter, and LOCK_PREFIX.
Here is the call graph for this function:
static __inline__ void atomic_inc | ( | atomic_t * | v | ) | [static] |
Definition at line 82 of file rtai_atomic.h.
References __asm__(), atomic_t::counter, and LOCK_PREFIX.
Here is the call graph for this function:
static unsigned long atomic_xchg | ( | volatile void * | ptr, | |
unsigned long | x | |||
) | [inline, static] |
Definition at line 50 of file rtai_atomic.h.
References __asm__(), __rtai_xg, and LOCK_PREFIX.
Here is the call graph for this function: