Go to the source code of this file.
|
#define | xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
|
#define | __xg(x) ((volatile struct __xchg_dummy *)(x)) |
|
#define | cmpxchg_local(ptr, o, n) |
|
#define | cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) |
|
#define | atomic_xchg(v, new) (xchg(&((v)->counter), new)) |
|
#define cmpxchg64_local |
( |
|
ptr, |
|
|
|
o, |
|
|
|
n |
|
) |
| __cmpxchg64_local_generic((ptr), (o), (n)) |
#define cmpxchg_local |
( |
|
ptr, |
|
|
|
o, |
|
|
|
n |
|
) |
| |
Value:((__typeof__(*(
ptr)))__cmpxchg_local_generic((
ptr), (
unsigned long)(o),\
Definition at line 49 of file cmpxchg.h.