Home
last modified time | relevance | path

Searched refs:atomic_cmpxchg (Results 1 – 7 of 7) sorted by relevance

/include/asm-generic/
Datomic.h196 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) macro
Datomic-instrumented.h651 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
656 #define atomic_cmpxchg atomic_cmpxchg macro
Datomic-long.h906 return atomic_cmpxchg(v, old, new); in atomic_long_cmpxchg()
/include/linux/
Datomic-fallback.h865 #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()
Dpage_ref.h166 int ret = likely(atomic_cmpxchg(&page->_refcount, count, 0) == count); in page_ref_freeze()
Dsbitmap.h508 atomic_cmpxchg(index, old, new); in sbq_index_atomic_inc()
Dblk-cgroup.h786 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()