Linux Kernel
3.7.1
|
#include <asm/barrier.h>
#include <arch/spr_def.h>
Go to the source code of this file.
#define __HAVE_ARCH_CMPXCHG |
Definition at line 153 of file atomic_64.h.
#define atomic64_add_negative | ( | i, | |
v | |||
) | (atomic64_add_return((i), (v)) < 0) |
Definition at line 142 of file atomic_64.h.
#define atomic64_dec | ( | v | ) | atomic64_sub(1, (v)) |
Definition at line 137 of file atomic_64.h.
#define atomic64_dec_and_test | ( | v | ) | (atomic64_dec_return(v) == 0) |
Definition at line 140 of file atomic_64.h.
#define atomic64_dec_return | ( | v | ) | atomic64_sub_return(1, (v)) |
Definition at line 135 of file atomic_64.h.
#define atomic64_inc | ( | v | ) | atomic64_add(1, (v)) |
Definition at line 136 of file atomic_64.h.
#define atomic64_inc_and_test | ( | v | ) | (atomic64_inc_return(v) == 0) |
Definition at line 139 of file atomic_64.h.
#define atomic64_inc_not_zero | ( | v | ) | atomic64_add_unless((v), 1, 0) |
Definition at line 144 of file atomic_64.h.
#define atomic64_inc_return | ( | v | ) | atomic64_add_return(1, (v)) |
Definition at line 134 of file atomic_64.h.
Definition at line 82 of file atomic_64.h.
Definition at line 84 of file atomic_64.h.
#define atomic64_sub | ( | i, | |
v | |||
) | atomic64_add(-(i), (v)) |
Definition at line 133 of file atomic_64.h.
#define atomic64_sub_and_test | ( | i, | |
v | |||
) | (atomic64_sub_return((i), (v)) == 0) |
Definition at line 141 of file atomic_64.h.
#define atomic64_sub_return | ( | i, | |
v | |||
) | atomic64_add_return(-(i), (v)) |
Definition at line 132 of file atomic_64.h.
#define smp_mb__after_atomic_dec | ( | ) | smp_mb() |
Definition at line 148 of file atomic_64.h.
#define smp_mb__after_atomic_inc | ( | ) | smp_mb() |
Definition at line 150 of file atomic_64.h.
#define smp_mb__before_atomic_dec | ( | ) | smp_mb() |
Definition at line 147 of file atomic_64.h.
#define smp_mb__before_atomic_inc | ( | ) | smp_mb() |
Definition at line 149 of file atomic_64.h.