Home
last modified time | relevance | path

Searched refs:_cmpxchg (Results 1 – 4 of 4) sorted by relevance

/linux/scripts/atomic/fallbacks/
H A Dtry_cmpxchg3 r = raw_${atomic}_cmpxchg${order}(v, o, new);
/linux/include/asm-generic/
H A Dpercpu.h107 #define __cpu_fallback_try_cmpxchg(pcp, ovalp, nval, _cmpxchg) \ argument
110 __val = _cmpxchg(pcp, __old, nval); \
/linux/tools/testing/selftests/kvm/s390/
H A Dmemop.c582 static bool _cmpxchg(int size, void *target, __uint128_t *old_addr, __uint128_t new) in _cmpxchg() function
645 } while (!_cmpxchg(16, mem1, &old, 0)); in guest_cmpxchg_key()
650 } while (!_cmpxchg(size, mem2 + offset, &old, new)); in guest_cmpxchg_key()
/linux/Documentation/locking/
H A Drt-mutex-design.rst322 unsigned long _cmpxchg(unsigned long *A, unsigned long *B, unsigned long *C)
330 #define cmpxchg(a,b,c) _cmpxchg(&a,&b,&c)