This graph shows which files directly or indirectly include this file:
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.
Referenced by atomic_cmpxchg(), atomic_dec_and_test(), atomic_inc(), and atomic_xchg().
#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.
Referenced by _rt_bits_wait(), _rt_bits_wait_until(), handle_lxrt_request(), intercept_syscall_prologue(), lxrt_fun_call(), mbx_wait_until(), rt_cond_wait(), rt_cond_wait_until(), rt_sem_wait(), rt_sem_wait_until(), rt_sleep(), rt_sleep_until(), rt_task_wait_period(), and rtai_lxrt_invoke().
#define LOCK_PREFIX "" |
Definition at line 48 of file rtai_atomic.h.
Referenced by atomic_cmpxchg(), atomic_dec_and_test(), atomic_inc(), and atomic_xchg().
#define unlikely | ( | x | ) | __builtin_expect(!!(x), 0) |
Definition at line 42 of file rtai_atomic.h.
Referenced by _rt_bits_wait(), _rt_bits_wait_until(), check_to_soften_harden(), handle_lxrt_request(), lxrt_fun_call(), mbx_wait(), mbx_wait_until(), rt_cond_wait(), rt_cond_wait_until(), rt_task_suspend(), and rt_task_suspend_until().
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.
Referenced by rt_get_tasklet(), rt_gvb_tasklet(), rt_set_heap(), RTAI_SCB_PROTO(), and rtf_create().
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: