| /linux-4.4.14/include/linux/ |
| D | atomic.h | 311 #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/ |
| D | events.h | 19 #define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((ptr), \
|
| /linux-4.4.14/lib/ |
| D | atomic64.c | 143 long long atomic64_xchg(atomic64_t *v, long long new) in atomic64_xchg() function 155 EXPORT_SYMBOL(atomic64_xchg);
|
| D | atomic64_test.c | 118 BUG_ON(atomic64_xchg(&v, v1) != v0); in test_atomic64()
|
| /linux-4.4.14/arch/arm/mm/ |
| D | context.c | 147 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/ |
| D | atomic64.h | 45 extern long long atomic64_xchg(atomic64_t *v, long long new);
|
| D | local64.h | 83 #define local64_xchg(l, n) atomic64_xchg((&(l)->a), (n))
|
| /linux-4.4.14/arch/tile/include/asm/ |
| D | atomic.h | 169 static inline long long atomic64_xchg(atomic64_t *v, long long n) in atomic64_xchg() function
|
| /linux-4.4.14/arch/x86/include/asm/ |
| D | atomic64_64.h | 169 static inline long atomic64_xchg(atomic64_t *v, long new) in atomic64_xchg() function
|
| D | atomic64_32.h | 87 static inline long long atomic64_xchg(atomic64_t *v, long long n) in atomic64_xchg() function
|
| /linux-4.4.14/arch/sparc/include/asm/ |
| D | atomic_64.h | 96 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
| /linux-4.4.14/arch/frv/include/asm/ |
| D | atomic.h | 167 #define atomic64_xchg(v, new) (__xchg_64(new, &(v)->counter)) macro
|
| /linux-4.4.14/arch/arm64/include/asm/ |
| D | atomic.h | 131 #define atomic64_xchg atomic_xchg macro
|
| /linux-4.4.14/net/netfilter/ |
| D | nfnetlink_acct.c | 155 pkts = atomic64_xchg(&acct->pkts, 0); in nfnl_acct_fill_info() 156 bytes = atomic64_xchg(&acct->bytes, 0); in nfnl_acct_fill_info()
|
| D | nf_conntrack_netlink.c | 237 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/ |
| D | atomic.h | 132 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
|
| /linux-4.4.14/arch/ia64/include/asm/ |
| D | atomic.h | 139 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
| /linux-4.4.14/arch/parisc/include/asm/ |
| D | atomic.h | 232 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
| /linux-4.4.14/arch/s390/include/asm/ |
| D | atomic.h | 254 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
| /linux-4.4.14/arch/powerpc/include/asm/ |
| D | atomic.h | 423 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
| /linux-4.4.14/arch/mips/include/asm/ |
| D | atomic.h | 501 #define atomic64_xchg(v, new) (xchg(&((v)->counter), (new))) macro
|
| /linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_fence.c | 199 } while (atomic64_xchg(&ring->fence_drv.last_seq, seq) > seq); in amdgpu_fence_activity()
|
| /linux-4.4.14/drivers/gpu/drm/radeon/ |
| D | radeon_fence.c | 251 } while (atomic64_xchg(&rdev->fence_drv[ring].last_seq, seq) > seq); in radeon_fence_activity()
|