Home
last modified time | relevance | path

Searched refs:local_try_cmpxchg (Results 1 – 9 of 9) sorted by relevance

/linux/arch/x86/include/asm/
H A Dlocal.h128 static inline bool local_try_cmpxchg(local_t *l, long *old, long new) in local_try_cmpxchg() function
144 do { } while (!local_try_cmpxchg(l, &c, n)); in local_xchg()
166 } while (!local_try_cmpxchg(l, &c, c + a)); in local_add_unless()
/linux/arch/loongarch/include/asm/
H A Dlocal.h64 static inline bool local_try_cmpxchg(local_t *l, long *old, long new) in local_try_cmpxchg() function
89 } while (!local_try_cmpxchg(l, &c, c + a)); in local_add_unless()
/linux/arch/alpha/include/asm/
H A Dlocal.h60 static __inline__ bool local_try_cmpxchg(local_t *l, long *old, long new) in local_try_cmpxchg() function
84 } while (!local_try_cmpxchg(l, &c, c + a)); in local_add_unless()
/linux/arch/mips/include/asm/
H A Dlocal.h102 static __inline__ bool local_try_cmpxchg(local_t *l, long *old, long new) in local_try_cmpxchg() function
127 } while (!local_try_cmpxchg(l, &c, c + a)); in local_add_unless()
/linux/include/asm-generic/
H A Dlocal.h45 #define local_try_cmpxchg(l, po, n) atomic_long_try_cmpxchg((&(l)->a), (po), (n)) macro
H A Dlocal64.h52 return local_try_cmpxchg(&l->a, (long *)old, new); in local64_try_cmpxchg()
/linux/arch/powerpc/include/asm/
H A Dlocal.h93 static __inline__ bool local_try_cmpxchg(local_t *l, long *po, long n) in local_try_cmpxchg() function
/linux/kernel/events/
H A Dring_buffer.c225 } while (!local_try_cmpxchg(&rb->head, &offset, head)); in __perf_output_begin()
/linux/kernel/trace/
H A Dring_buffer.c3696 if (local_try_cmpxchg(&bpage->write, &old_index, new_index)) { in rb_try_to_discard()