|
#define | __X86_CASE_B 1 |
|
#define | __X86_CASE_W 2 |
|
#define | __X86_CASE_L 4 |
|
#define | __X86_CASE_Q -1 /* sizeof will never return -1 */ |
|
#define | __xchg_op(ptr, arg, op, lock) |
|
#define | xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") |
|
#define | __raw_cmpxchg(ptr, old, new, size, lock) |
|
#define | __cmpxchg(ptr, old, new, size) __raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX) |
|
#define | __sync_cmpxchg(ptr, old, new, size) __raw_cmpxchg((ptr), (old), (new), (size), "lock; ") |
|
#define | __cmpxchg_local(ptr, old, new, size) __raw_cmpxchg((ptr), (old), (new), (size), "") |
|
#define | __xadd(ptr, inc, lock) __xchg_op((ptr), (inc), xadd, lock) |
|
#define | xadd(ptr, inc) __xadd((ptr), (inc), LOCK_PREFIX) |
|
#define | xadd_sync(ptr, inc) __xadd((ptr), (inc), "lock; ") |
|
#define | xadd_local(ptr, inc) __xadd((ptr), (inc), "") |
|
#define | __add(ptr, inc, lock) |
|
#define | add_smp(ptr, inc) __add((ptr), (inc), LOCK_PREFIX) |
|
#define | add_sync(ptr, inc) __add((ptr), (inc), "lock; ") |
|
#define | __cmpxchg_double(pfx, p1, p2, o1, o2, n1, n2) |
|
#define | cmpxchg_double(p1, p2, o1, o2, n1, n2) __cmpxchg_double(LOCK_PREFIX, p1, p2, o1, o2, n1, n2) |
|
#define | cmpxchg_double_local(p1, p2, o1, o2, n1, n2) __cmpxchg_double(, p1, p2, o1, o2, n1, n2) |
|