Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Datomic.h311 #define atomic64_xchg_relaxed atomic64_xchg
312 #define atomic64_xchg_acquire atomic64_xchg
313 #define atomic64_xchg_release atomic64_xchg
319 __atomic_op_acquire(atomic64_xchg, __VA_ARGS__)
324 __atomic_op_release(atomic64_xchg, __VA_ARGS__)
327 #ifndef atomic64_xchg
328 #define atomic64_xchg(...) \ macro
329 __atomic_op_fence(atomic64_xchg, __VA_ARGS__)
/linux-4.4.14/arch/arm/include/asm/xen/
Devents.h19 #define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((ptr), \
/linux-4.4.14/lib/
Datomic64.c143 long long atomic64_xchg(atomic64_t *v, long long new) in atomic64_xchg() function
155 EXPORT_SYMBOL(atomic64_xchg);
Datomic64_test.c118 BUG_ON(atomic64_xchg(&v, v1) != v0); in test_atomic64()
/linux-4.4.14/arch/arm/mm/
Dcontext.c147 asid = atomic64_xchg(&per_cpu(active_asids, i), 0); in flush_context()
258 && atomic64_xchg(&per_cpu(active_asids, cpu), asid)) in check_and_switch_context()
/linux-4.4.14/include/asm-generic/
Datomic64.h45 extern long long atomic64_xchg(atomic64_t *v, long long new);
Dlocal64.h83 #define local64_xchg(l, n) atomic64_xchg((&(l)->a), (n))
/linux-4.4.14/arch/tile/include/asm/
Datomic.h169 static inline long long atomic64_xchg(atomic64_t *v, long long n) in atomic64_xchg() function
/linux-4.4.14/arch/x86/include/asm/
Datomic64_64.h169 static inline long atomic64_xchg(atomic64_t *v, long new) in atomic64_xchg() function
Datomic64_32.h87 static inline long long atomic64_xchg(atomic64_t *v, long long n) in atomic64_xchg() function
/linux-4.4.14/arch/sparc/include/asm/
Datomic_64.h96 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/linux-4.4.14/arch/frv/include/asm/
Datomic.h167 #define atomic64_xchg(v, new) (__xchg_64(new, &(v)->counter)) macro
/linux-4.4.14/arch/arm64/include/asm/
Datomic.h131 #define atomic64_xchg atomic_xchg macro
/linux-4.4.14/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.c237 pkts = atomic64_xchg(&counter[dir].packets, 0); in dump_counters()
238 bytes = atomic64_xchg(&counter[dir].bytes, 0); in dump_counters()
/linux-4.4.14/arch/alpha/include/asm/
Datomic.h132 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
/linux-4.4.14/arch/ia64/include/asm/
Datomic.h139 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/linux-4.4.14/arch/parisc/include/asm/
Datomic.h232 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/linux-4.4.14/arch/s390/include/asm/
Datomic.h254 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/linux-4.4.14/arch/powerpc/include/asm/
Datomic.h423 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
/linux-4.4.14/arch/mips/include/asm/
Datomic.h501 #define atomic64_xchg(v, new) (xchg(&((v)->counter), (new))) macro
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fence.c199 } while (atomic64_xchg(&ring->fence_drv.last_seq, seq) > seq); in amdgpu_fence_activity()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_fence.c251 } while (atomic64_xchg(&rdev->fence_drv[ring].last_seq, seq) > seq); in radeon_fence_activity()