Go to the source code of this file.
Data Structures | |
| struct | __rtai_xchg_dummy |
Defines | |
| #define | likely(x) __builtin_expect(!!(x), 1) |
| #define | unlikely(x) __builtin_expect(!!(x), 0) |
| #define | LOCK_PREFIX "" |
| #define | atomic_t int |
| #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 54 of file rtai_atomic.h.
| #define atomic_t int |
Definition at line 51 of file rtai_atomic.h.
| #define likely | ( | x | ) | __builtin_expect(!!(x), 1) |
Definition at line 41 of file rtai_atomic.h.
| #define LOCK_PREFIX "" |
Definition at line 48 of file rtai_atomic.h.
| #define unlikely | ( | x | ) | __builtin_expect(!!(x), 0) |
Definition at line 42 of file rtai_atomic.h.
| static unsigned long atomic_cmpxchg | ( | volatile void * | ptr, | |
| unsigned long | o, | |||
| unsigned long | n | |||
| ) | [inline, static] |
Definition at line 65 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 75 of file rtai_atomic.h.
References __asm__(), __rtai_xg, and LOCK_PREFIX.
Here is the call graph for this function:

| static __inline__ void atomic_inc | ( | atomic_t * | v | ) | [static] |
Definition at line 86 of file rtai_atomic.h.
References __asm__(), __rtai_xg, 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 56 of file rtai_atomic.h.
References __asm__(), __rtai_xg, and LOCK_PREFIX.
Here is the call graph for this function:

1.4.7