Home
last modified time | relevance | path

Searched refs:atomic64_xchg (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/arch/arm/include/asm/xen/
Devents.h20 #define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((long long*)(ptr),\
/Linux-v5.4/arch/arm/mm/
Dcontext.c144 asid = atomic64_xchg(&per_cpu(active_asids, i), 0); in flush_context()
255 && atomic64_xchg(&per_cpu(active_asids, cpu), asid)) in check_and_switch_context()
/Linux-v5.4/lib/
Datomic64.c163 s64 atomic64_xchg(atomic64_t *v, s64 new) in atomic64_xchg() function
175 EXPORT_SYMBOL(atomic64_xchg);
/Linux-v5.4/include/asm-generic/
Datomic64.h52 extern s64 atomic64_xchg(atomic64_t *v, s64 new);
Dlocal64.h84 #define local64_xchg(l, n) atomic64_xchg((&(l)->a), (n))
Datomic-instrumented.h1421 atomic64_xchg(atomic64_t *v, s64 i) in atomic64_xchg() function
1426 #define atomic64_xchg atomic64_xchg macro
Datomic-long.h388 return atomic64_xchg(v, i); in atomic_long_xchg()
/Linux-v5.4/arch/sparc/include/asm/
Datomic_64.h62 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.4/include/linux/
Datomic-fallback.h1933 #define atomic64_xchg_acquire atomic64_xchg
1934 #define atomic64_xchg_release atomic64_xchg
1935 #define atomic64_xchg_relaxed atomic64_xchg
1959 #ifndef atomic64_xchg
1961 atomic64_xchg(atomic64_t *v, s64 i) in atomic64_xchg() function
1969 #define atomic64_xchg atomic64_xchg macro
/Linux-v5.4/arch/s390/include/asm/
Datomic.h125 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.4/net/netfilter/
Dnfnetlink_acct.c155 pkts = atomic64_xchg(&acct->pkts, 0); in nfnl_acct_fill_info()
156 bytes = atomic64_xchg(&acct->bytes, 0); in nfnl_acct_fill_info()
Dnf_conntrack_netlink.c245 pkts = atomic64_xchg(&counter[dir].packets, 0); in dump_counters()
246 bytes = atomic64_xchg(&counter[dir].bytes, 0); in dump_counters()
/Linux-v5.4/arch/parisc/include/asm/
Datomic.h224 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.4/arch/alpha/include/asm/
Datomic.h203 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
/Linux-v5.4/arch/ia64/include/asm/
Datomic.h216 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.4/arch/mips/include/asm/
Datomic.h431 #define atomic64_xchg(v, new) (xchg(&((v)->counter), (new))) macro
/Linux-v5.4/arch/powerpc/include/asm/
Datomic.h493 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.4/arch/arc/include/asm/
Datomic.h467 static inline s64 atomic64_xchg(atomic64_t *ptr, s64 new)
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_fence.c259 } while (atomic64_xchg(&rdev->fence_drv[ring].last_seq, seq) > seq); in radeon_fence_activity()