xchg 182 arch/x86/include/asm/atomic.h return xchg(&v->counter, new); xchg 50 arch/x86/include/asm/atomic64_32.h ATOMIC64_DECL(xchg); xchg 92 arch/x86/include/asm/atomic64_32.h alternative_atomic64(xchg, "=&A" (o), xchg 171 arch/x86/include/asm/atomic64_64.h return xchg(&v->counter, new); xchg 90 arch/x86/include/asm/barrier.h #define set_mb(var, value) do { (void)xchg(&var, value); } while (0) xchg 78 arch/x86/include/asm/cmpxchg.h #define xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") xchg 125 arch/x86/include/asm/local.h #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) xchg 43 arch/x86/include/asm/pgtable-2level.h return __pte(xchg(&xp->pte_low, 0)); xchg 52 arch/x86/include/asm/pgtable-2level.h return __pmd(xchg((pmdval_t *)xp, 0)); xchg 146 arch/x86/include/asm/pgtable-3level.h res.pte_low = xchg(&ptep->pte_low, 0); xchg 169 arch/x86/include/asm/pgtable-3level.h res.pmd_low = xchg(&orig->pmd_low, 0); xchg 76 arch/x86/include/asm/pgtable_64.h return native_make_pte(xchg(&xp->pte, 0)); xchg 89 arch/x86/include/asm/pgtable_64.h return native_make_pmd(xchg(&xp->pmd, 0)); xchg 21 arch/x86/include/asm/xen/events.h #define xchg_xen_ulong(ptr, val) xchg((ptr), (val)) xchg 175 include/asm-generic/atomic.h #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) xchg 16 include/asm-generic/cmpxchg.h #ifndef xchg xchg 16 include/linux/debug_locks.h return xchg(&debug_locks, 0); xchg 193 include/linux/llist.h return xchg(&head->first, NULL); xchg 815 include/linux/mm.h return xchg(&page->_last_cpupid, cpupid & LAST_CPUPID_MASK); xchg 23 include/net/pkt_cls.h return xchg(clp, cl); xchg 1789 include/net/sock.h old_dst = xchg((__force struct dst_entry **)&sk->sk_dst_cache, dst); xchg 2055 include/net/sock.h err = xchg(&sk->sk_err, 0);