Searched refs:atomic_cmpxchg (Results 1 – 7 of 7) sorted by relevance
/include/asm-generic/ |
D | atomic.h | 196 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) macro
|
D | atomic-instrumented.h | 651 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function 656 #define atomic_cmpxchg atomic_cmpxchg macro
|
D | atomic-long.h | 906 return atomic_cmpxchg(v, old, new); in atomic_long_cmpxchg()
|
/include/linux/ |
D | atomic-fallback.h | 865 #define atomic_cmpxchg_acquire atomic_cmpxchg 866 #define atomic_cmpxchg_release atomic_cmpxchg 867 #define atomic_cmpxchg_relaxed atomic_cmpxchg 891 #ifndef atomic_cmpxchg 893 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function 901 #define atomic_cmpxchg atomic_cmpxchg macro 918 r = atomic_cmpxchg(v, o, new); in atomic_try_cmpxchg()
|
D | page_ref.h | 166 int ret = likely(atomic_cmpxchg(&page->_refcount, count, 0) == count); in page_ref_freeze()
|
D | sbitmap.h | 508 atomic_cmpxchg(index, old, new); in sbq_index_atomic_inc()
|
D | blk-cgroup.h | 786 int cur = atomic_cmpxchg(&blkg->use_delay, old, old - 1); in blkcg_unuse_delay() 806 int cur = atomic_cmpxchg(&blkg->use_delay, old, 0); in blkcg_clear_delay()
|