Searched refs:local_try_cmpxchg (Results 1 – 9 of 9) sorted by relevance
/linux/arch/x86/include/asm/ |
H A D | local.h | 128 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 D | local.h | 64 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 D | local.h | 60 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 D | local.h | 102 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 D | local.h | 45 #define local_try_cmpxchg(l, po, n) atomic_long_try_cmpxchg((&(l)->a), (po), (n)) macro
|
H A D | local64.h | 52 return local_try_cmpxchg(&l->a, (long *)old, new); in local64_try_cmpxchg()
|
/linux/arch/powerpc/include/asm/ |
H A D | local.h | 93 static __inline__ bool local_try_cmpxchg(local_t *l, long *po, long n) in local_try_cmpxchg() function
|
/linux/kernel/events/ |
H A D | ring_buffer.c | 225 } while (!local_try_cmpxchg(&rb->head, &offset, head)); in __perf_output_begin()
|
/linux/kernel/trace/ |
H A D | ring_buffer.c | 3696 if (local_try_cmpxchg(&bpage->write, &old_index, new_index)) { in rb_try_to_discard()
|