Home
last modified time | relevance | path

Searched refs:atomic64_cmpxchg (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/include/linux/
Datomic.h1106 #define atomic64_cmpxchg_relaxed atomic64_cmpxchg
1107 #define atomic64_cmpxchg_acquire atomic64_cmpxchg
1108 #define atomic64_cmpxchg_release atomic64_cmpxchg
1114 __atomic_op_acquire(atomic64_cmpxchg, __VA_ARGS__)
1119 __atomic_op_release(atomic64_cmpxchg, __VA_ARGS__)
1122 #ifndef atomic64_cmpxchg
1123 #define atomic64_cmpxchg(...) \ macro
1124 __atomic_op_fence(atomic64_cmpxchg, __VA_ARGS__)
1134 __r = atomic64_cmpxchg##type((_p), __o, (_n)); \
Diversion.h198 old = atomic64_cmpxchg(&inode->i_version, cur, new); in inode_maybe_inc_iversion()
299 old = atomic64_cmpxchg(&inode->i_version, cur, new); in inode_query_iversion()
/Linux-v4.19/lib/
Datomic64.c152 long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function
165 EXPORT_SYMBOL(atomic64_cmpxchg);
/Linux-v4.19/include/asm-generic/
Datomic64.h55 extern long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n);
Dlocal64.h83 #define local64_cmpxchg(l, o, n) atomic64_cmpxchg((&(l)->a), (o), (n))
Datomic-instrumented.h61 static __always_inline s64 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg() function
/Linux-v4.19/arch/sparc/include/asm/
Datomic_64.h60 #define atomic64_cmpxchg(v, o, n) \ macro
/Linux-v4.19/arch/x86/kernel/
Dpvclock.c118 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
/Linux-v4.19/arch/arm64/include/asm/
Datomic.h158 #define atomic64_cmpxchg atomic_cmpxchg macro
/Linux-v4.19/arch/s390/include/asm/
Datomic.h127 static inline long atomic64_cmpxchg(atomic64_t *v, long old, long new) in atomic64_cmpxchg() function
/Linux-v4.19/arch/parisc/include/asm/
Datomic.h222 #define atomic64_cmpxchg(v, o, n) \ macro
/Linux-v4.19/arch/alpha/include/asm/
Datomic.h202 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
/Linux-v4.19/arch/ia64/include/asm/
Datomic.h214 #define atomic64_cmpxchg(v, old, new) \ macro
/Linux-v4.19/arch/mips/include/asm/
Datomic.h413 #define atomic64_cmpxchg(v, o, n) \ macro
/Linux-v4.19/net/core/
Dsock_diag.c31 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in sock_gen_cookie()
/Linux-v4.19/arch/arc/include/asm/
Datomic.h448 atomic64_cmpxchg(atomic64_t *ptr, long long expected, long long new)
/Linux-v4.19/arch/powerpc/include/asm/
Datomic.h487 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/Linux-v4.19/block/
Dblk-iolatency.c587 if (atomic64_cmpxchg(&iolat->window_start, in blkcg_iolatency_done_bio()
Dblk-cgroup.c1636 atomic64_cmpxchg(&blkg->delay_start, old, now) == old) { in blkcg_scale_delay()
/Linux-v4.19/kernel/time/
Dposix-cpu-timers.c191 if (atomic64_cmpxchg(cputime, curr_cputime, sum_cputime) != curr_cputime) in __update_gt_cputime()
/Linux-v4.19/fs/xfs/
Dxfs_log.c149 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space()
178 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space()