Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Diversion.h132 old = atomic64_cmpxchg(&inode->i_version, cur, val); in inode_set_max_iversion_raw()
222 old = atomic64_cmpxchg(&inode->i_version, cur, new); in inode_maybe_inc_iversion()
323 old = atomic64_cmpxchg(&inode->i_version, cur, new); in inode_query_iversion()
Datomic-fallback.h1975 #define atomic64_cmpxchg_acquire atomic64_cmpxchg
1976 #define atomic64_cmpxchg_release atomic64_cmpxchg
1977 #define atomic64_cmpxchg_relaxed atomic64_cmpxchg
2001 #ifndef atomic64_cmpxchg
2003 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg() function
2011 #define atomic64_cmpxchg atomic64_cmpxchg macro
2028 r = atomic64_cmpxchg(v, o, new); in atomic64_try_cmpxchg()
/Linux-v5.4/lib/
Datomic64.c148 s64 atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n) in atomic64_cmpxchg() function
161 EXPORT_SYMBOL(atomic64_cmpxchg);
/Linux-v5.4/include/asm-generic/
Datomic64.h51 extern s64 atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n);
Dlocal64.h83 #define local64_cmpxchg(l, o, n) atomic64_cmpxchg((&(l)->a), (o), (n))
Datomic-instrumented.h1461 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg() function
1466 #define atomic64_cmpxchg atomic64_cmpxchg macro
Datomic-long.h412 return atomic64_cmpxchg(v, old, new); in atomic_long_cmpxchg()
/Linux-v5.4/arch/sparc/include/asm/
Datomic_64.h60 #define atomic64_cmpxchg(v, o, n) \ macro
/Linux-v5.4/arch/x86/kernel/
Dpvclock.c107 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
/Linux-v5.4/arch/s390/include/asm/
Datomic.h127 static inline s64 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg() function
/Linux-v5.4/arch/parisc/include/asm/
Datomic.h222 #define atomic64_cmpxchg(v, o, n) \ macro
/Linux-v5.4/arch/alpha/include/asm/
Datomic.h202 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
/Linux-v5.4/arch/ia64/include/asm/
Datomic.h214 #define atomic64_cmpxchg(v, old, new) \ macro
/Linux-v5.4/net/core/
Dsock_diag.c32 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in sock_gen_cookie()
/Linux-v5.4/arch/mips/include/asm/
Datomic.h429 #define atomic64_cmpxchg(v, o, n) \ macro
/Linux-v5.4/arch/powerpc/include/asm/
Datomic.h487 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/Linux-v5.4/arch/arc/include/asm/
Datomic.h445 atomic64_cmpxchg(atomic64_t *ptr, s64 expected, s64 new)
/Linux-v5.4/block/
Dblk-iolatency.c631 if (atomic64_cmpxchg(&iolat->window_start, in blkcg_iolatency_done_bio()
Dblk-cgroup.c1657 atomic64_cmpxchg(&blkg->delay_start, old, now) == old) { in blkcg_scale_delay()
/Linux-v5.4/kernel/time/
Dposix-cpu-timers.c253 if (atomic64_cmpxchg(cputime, curr_cputime, sum_cputime) != curr_cputime) in __update_gt_cputime()
/Linux-v5.4/fs/xfs/
Dxfs_log.c138 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space()
167 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space()