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

/linux-master/arch/x86/include/asm/
H A Dlocal.h128 static inline bool local_try_cmpxchg(local_t *l, long *old, long new) function
144 do { } while (!local_try_cmpxchg(l, &c, n));
166 } while (!local_try_cmpxchg(l, &c, c + a));
/linux-master/arch/alpha/include/asm/
H A Dlocal.h60 static __inline__ bool local_try_cmpxchg(local_t *l, long *old, long new) function
84 } while (!local_try_cmpxchg(l, &c, c + a));
/linux-master/arch/loongarch/include/asm/
H A Dlocal.h64 static inline bool local_try_cmpxchg(local_t *l, long *old, long new) function
89 } while (!local_try_cmpxchg(l, &c, c + a));
/linux-master/arch/mips/include/asm/
H A Dlocal.h102 static __inline__ bool local_try_cmpxchg(local_t *l, long *old, long new) function
127 } while (!local_try_cmpxchg(l, &c, c + a));
/linux-master/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);
/linux-master/arch/powerpc/include/asm/
H A Dlocal.h93 static __inline__ bool local_try_cmpxchg(local_t *l, long *po, long n) function
/linux-master/kernel/events/
H A Dring_buffer.c221 } while (!local_try_cmpxchg(&rb->head, &offset, head));
/linux-master/kernel/trace/
H A Dring_buffer.c2924 if (local_try_cmpxchg(&bpage->write, &old_index, new_index)) {

Completed in 139 milliseconds