Searched refs:LOCK_PREFIX (Results 1 – 11 of 11) sorted by relevance
/linux/arch/x86/include/asm/ |
H A D | atomic.h | 33 asm volatile(LOCK_PREFIX "addl %1,%0" in arch_atomic_add() 40 asm volatile(LOCK_PREFIX "subl %1,%0" in arch_atomic_sub() 47 return GEN_BINARY_RMWcc(LOCK_PREFIX "subl", v->counter, e, "er", i); in arch_atomic_sub_and_test() 53 asm volatile(LOCK_PREFIX "incl %0" in arch_atomic_inc() 60 asm volatile(LOCK_PREFIX "decl %0" in arch_atomic_dec() 67 return GEN_UNARY_RMWcc(LOCK_PREFIX "decl", v->counter, e); in arch_atomic_dec_and_test() 73 return GEN_UNARY_RMWcc(LOCK_PREFIX "incl", v->counter, e); in arch_atomic_inc_and_test() 79 return GEN_BINARY_RMWcc(LOCK_PREFIX "addl", v->counter, s, "er", i); in arch_atomic_add_negative() 119 asm volatile(LOCK_PREFIX "andl %1,%0" in arch_atomic_and() 137 asm volatile(LOCK_PREFIX "orl %1,%0" in arch_atomic_or() [all …]
|
H A D | atomic64_64.h | 25 asm volatile(LOCK_PREFIX "addq %1,%0" in arch_atomic64_add() 32 asm volatile(LOCK_PREFIX "subq %1,%0" in arch_atomic64_sub() 39 return GEN_BINARY_RMWcc(LOCK_PREFIX "subq", v->counter, e, "er", i); in arch_atomic64_sub_and_test() 45 asm volatile(LOCK_PREFIX "incq %0" in arch_atomic64_inc() 53 asm volatile(LOCK_PREFIX "decq %0" in arch_atomic64_dec() 61 return GEN_UNARY_RMWcc(LOCK_PREFIX "decq", v->counter, e); in arch_atomic64_dec_and_test() 67 return GEN_UNARY_RMWcc(LOCK_PREFIX "incq", v->counter, e); in arch_atomic64_inc_and_test() 73 return GEN_BINARY_RMWcc(LOCK_PREFIX "addq", v->counter, s, "er", i); in arch_atomic64_add_negative() 113 asm volatile(LOCK_PREFIX "andq %1,%0" in arch_atomic64_and() 131 asm volatile(LOCK_PREFIX "orq %1,%0" in arch_atomic64_or() [all …]
|
H A D | futex.h | 35 "3:\t" LOCK_PREFIX "cmpxchgl %3, %2\n" \ 61 unsafe_atomic_op1(LOCK_PREFIX "xaddl %0, %2", oval, in arch_futex_atomic_op_inuser() 94 "1:\t" LOCK_PREFIX "cmpxchgl %3, %2\n" in futex_atomic_cmpxchg_inatomic()
|
H A D | cmpxchg.h | 134 __raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX) 222 __raw_try_cmpxchg((ptr), (pold), (new), (size), LOCK_PREFIX) 246 #define xadd(ptr, inc) __xadd((ptr), (inc), LOCK_PREFIX)
|
H A D | cmpxchg_64.h | 52 return __arch_cmpxchg128(ptr, old, new, LOCK_PREFIX); in arch_cmpxchg128() 84 return __arch_try_cmpxchg128(ptr, oldp, new, LOCK_PREFIX); in arch_try_cmpxchg128()
|
H A D | qspinlock_paravirt.h | 45 LOCK_PREFIX "cmpxchg %dl,(%rdi)\n\t" \
|
H A D | qspinlock.h | 23 val = GEN_BINARY_RMWcc(LOCK_PREFIX "btsl", lock->val.counter, c, in queued_fetch_set_pending_acquire()
|
/linux/tools/arch/x86/include/asm/ |
H A D | atomic.h | 9 #define LOCK_PREFIX "\n\tlock; " macro 52 asm volatile(LOCK_PREFIX "incl %0" in atomic_inc() 66 GEN_UNARY_RMWcc(LOCK_PREFIX "decl", v->counter, "%0", "e"); in atomic_dec_and_test() 76 GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), *addr, "Ir", nr, "%0", "c"); in test_and_set_bit() 81 GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(btc), *addr, "Ir", nr, "%0", "c"); in test_and_clear_bit()
|
H A D | cmpxchg.h | 84 __raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX)
|
/linux/arch/x86/lib/ |
H A D | atomic64_cx8_32.S | 15 LOCK_PREFIX 41 LOCK_PREFIX 65 LOCK_PREFIX 93 LOCK_PREFIX 118 LOCK_PREFIX 148 LOCK_PREFIX 177 LOCK_PREFIX
|
/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | kvm_util_arch.h | 45 __asm__ __volatile__(KVM_FEP LOCK_PREFIX "cmpxchg %[new], %[ptr]" \
|