Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
int | __atomic_add_return (int, atomic_t *) |
int | atomic_cmpxchg (atomic_t *, int, int) |
int | __atomic_add_unless (atomic_t *, int, int) |
void | atomic_set (atomic_t *, int) |
Definition at line 30 of file atomic_32.h.
#define atomic_add_negative | ( | a, | |
v | |||
) | (atomic_add_return((a), (v)) < 0) |
Definition at line 40 of file atomic_32.h.
Definition at line 35 of file atomic_32.h.
#define atomic_dec | ( | v | ) | ((void)__atomic_add_return( -1, (v))) |
Definition at line 33 of file atomic_32.h.
#define atomic_dec_and_test | ( | v | ) | (atomic_dec_return(v) == 0) |
Definition at line 52 of file atomic_32.h.
#define atomic_dec_return | ( | v | ) | (__atomic_add_return( -1, (v))) |
Definition at line 38 of file atomic_32.h.
#define atomic_inc | ( | v | ) | ((void)__atomic_add_return( 1, (v))) |
Definition at line 32 of file atomic_32.h.
#define atomic_inc_and_test | ( | v | ) | (atomic_inc_return(v) == 0) |
Definition at line 50 of file atomic_32.h.
#define atomic_inc_return | ( | v | ) | (__atomic_add_return( 1, (v))) |
Definition at line 37 of file atomic_32.h.
Definition at line 20 of file atomic_32.h.
Definition at line 28 of file atomic_32.h.
Definition at line 31 of file atomic_32.h.
#define atomic_sub_and_test | ( | i, | |
v | |||
) | (atomic_sub_return(i, v) == 0) |
Definition at line 53 of file atomic_32.h.
Definition at line 36 of file atomic_32.h.
Definition at line 24 of file atomic_32.h.
#define smp_mb__after_atomic_dec | ( | ) | barrier() |
Definition at line 57 of file atomic_32.h.
#define smp_mb__after_atomic_inc | ( | ) | barrier() |
Definition at line 59 of file atomic_32.h.
#define smp_mb__before_atomic_dec | ( | ) | barrier() |
Definition at line 56 of file atomic_32.h.
#define smp_mb__before_atomic_inc | ( | ) | barrier() |
Definition at line 58 of file atomic_32.h.
Definition at line 30 of file atomic32.c.
Definition at line 73 of file atomic32.c.