cmpxchg 1856 arch/x86/kernel/acpi/boot.c val = cmpxchg(lock, old, new); cmpxchg 1867 arch/x86/kernel/acpi/boot.c val = cmpxchg(lock, old, new); cmpxchg 96 arch/x86/kernel/cpu/mcheck/mce_64.c if (cmpxchg(&mcelog.next, entry, next) == entry) cmpxchg 664 arch/x86/kernel/cpu/mcheck/mce_64.c } while (cmpxchg(&mcelog.flags, flags, 0) != flags); cmpxchg 37 arch/x86/kvm/paging_tmpl.h #define CMPXCHG cmpxchg cmpxchg 53 arch/x86/kvm/paging_tmpl.h #define CMPXCHG cmpxchg cmpxchg 213 arch/x86/xen/mmu.c if (cmpxchg(pp, p2m_missing, p) != p2m_missing) cmpxchg 181 include/asm-frv/atomic.h #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) cmpxchg 284 include/asm-frv/system.h return cmpxchg((unsigned long *)ptr, old, new); cmpxchg 244 include/asm-m32r/atomic.h #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) cmpxchg 86 include/asm-m68k/atomic.h #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) cmpxchg 155 include/asm-mn10300/atomic.h #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) cmpxchg 199 include/asm-parisc/atomic.h #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) cmpxchg 315 include/asm-parisc/atomic.h ((__typeof__((v)->counter))cmpxchg(&((v)->counter), (o), (n))) cmpxchg 462 include/asm-parisc/pgtable.h } while (cmpxchg((unsigned long *) ptep, old, new) != old); cmpxchg 211 include/asm-x86/atomic_32.h #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) cmpxchg 372 include/asm-x86/atomic_64.h #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) cmpxchg 375 include/asm-x86/atomic_64.h #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) cmpxchg 169 include/asm-x86/cmpxchg_64.h cmpxchg((ptr), (o), (n)); \ cmpxchg 173 include/asm-x86/rwsem.h signed long ret = cmpxchg(&sem->count, cmpxchg 225 include/asm-xtensa/atomic.h #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) cmpxchg 71 include/asm-xtensa/rwsem.h if (tmp == cmpxchg(&sem->count, tmp, cmpxchg 99 include/asm-xtensa/rwsem.h tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, cmpxchg 1665 kernel/lockdep.c n = cmpxchg(&nr_chain_hlocks, cn, cn + chain->depth); cmpxchg 82 kernel/rtmutex.c # define rt_mutex_cmpxchg(l,c,n) (cmpxchg(&l->owner, c, n) == c) cmpxchg 89 kernel/rtmutex.c } while (cmpxchg(p, owner, owner | RT_MUTEX_HAS_WAITERS) != owner);