Searched refs:CMPXCHG (Results 1 – 7 of 7) sorted by relevance
/linux/arch/parisc/lib/ |
H A D | bitops.c | 59 #define CMPXCHG(T) \ macro 72 CMPXCHG(u64) 73 CMPXCHG(u32) 74 CMPXCHG(u16) 75 CMPXCHG(u8)
|
/linux/arch/sparc/lib/ |
H A D | atomic32.c | 162 #define CMPXCHG(T) \ macro 176 CMPXCHG(u8) 177 CMPXCHG(u16) 178 CMPXCHG(u32) 179 CMPXCHG(u64)
|
/linux/tools/testing/selftests/kvm/s390x/ |
H A D | memop.c | 31 CMPXCHG, enumerator 86 if (desc->mode == CMPXCHG) { in ksmo_from_desc() 333 MOP(test->vm, ABSOLUTE, CMPXCHG, new + offset, in default_cmpxchg() 346 MOP(test->vm, ABSOLUTE, CMPXCHG, new + offset, in default_cmpxchg() 687 MOP(t.vm, ABSOLUTE, CMPXCHG, &new, in test_cmpxchg_key_concurrent() 696 MOP(t.vm, ABSOLUTE, CMPXCHG, quad_to_char(&new, size), in test_cmpxchg_key_concurrent() 804 ERR_PROT_MOP(t.vm, ABSOLUTE, CMPXCHG, mem2, i, GADDR_V(mem2), in test_errors_cmpxchg_key() 1059 rv = ERR_MOP(t.vm, ABSOLUTE, CMPXCHG, mem1, i, GADDR_V(mem1), in test_errors_cmpxchg() 1065 rv = ERR_MOP(t.vm, ABSOLUTE, CMPXCHG, mem1, i, GADDR((void *)~0xfffUL), in test_errors_cmpxchg() 1070 rv = ERR_MOP(t.vm, ABSOLUTE, CMPXCHG, mem1, i, GADDR_V(mem1 + 1), in test_errors_cmpxchg()
|
/linux/Documentation/locking/ |
H A D | rt-mutex-design.rst | 337 the architecture does not support CMPXCHG, then this macro is simply set 338 to fail every time. But if CMPXCHG is supported, then this will 424 done when we have CMPXCHG enabled (otherwise the fast taking automatically 426 taken with the CMPXCHG and nothing else needs to be done. 441 does not implement CMPXCHG would always grab the lock (if there's no 518 CMPXCHG. Since the taking of a mutex on contention always sets the 524 If the owner field has the "Has Waiters" bit set (or CMPXCHG is not available), 531 do not have CMPXCHG, this is the location that the owner of the mutex will 533 do have CMPXCHG, that check is done in the fast path, but it is still needed 535 or timeout between the time the owner failed the fast path CMPXCHG check and
|
/linux/Documentation/ |
H A D | atomic_t.txt | 116 will invalidate a LL/SC or fail a CMPXCHG. 276 CMPXCHG vs TRY_CMPXCHG
|
/linux/Documentation/bpf/standardization/ |
H A D | instruction-set.rst | 699 CMPXCHG 0xf0 | FETCH atomic compare and exchange 710 The ``CMPXCHG`` operation atomically compares the value addressed by
|
/linux/tools/arch/x86/lib/ |
H A D | x86-opcode-map.txt | 532 b0: CMPXCHG Eb,Gb 533 b1: CMPXCHG Ev,Gv
|