/arch/s390/include/asm/ |
D | cmpxchg.h | 14 #define cmpxchg(ptr, o, n) \ macro 21 #define cmpxchg64 cmpxchg 22 #define cmpxchg_local cmpxchg 23 #define cmpxchg64_local cmpxchg
|
/arch/tile/include/asm/ |
D | cmpxchg.h | 51 #define cmpxchg(ptr, o, n) \ macro 102 #define cmpxchg(ptr, o, n) \ macro 126 #define cmpxchg64 cmpxchg
|
D | bitops_64.h | 43 oldval = cmpxchg(addr, guess, guess ^ mask); in change_bit() 88 oldval = cmpxchg(addr, guess, guess ^ mask); in test_and_change_bit()
|
D | atomic_64.h | 107 oldval = cmpxchg(&v->counter, guess, guess + a); in __atomic_add_unless() 178 oldval = cmpxchg(&v->counter, guess, guess + a); in atomic64_add_unless()
|
/arch/frv/include/asm/ |
D | cmpxchg.h | 82 #define cmpxchg(ptr, test, new) \ macro 122 #define cmpxchg(ptr, test, new) \ macro 153 return cmpxchg((unsigned long *)ptr, old, new); in __cmpxchg_local()
|
/arch/alpha/include/asm/ |
D | cmpxchg.h | 52 #define cmpxchg(ptr, o, n) \ macro 63 cmpxchg((ptr), (o), (n)); \
|
/arch/arc/include/asm/ |
D | cmpxchg.h | 95 #define cmpxchg(ptr, o, n) ((typeof(*(ptr)))__cmpxchg((ptr), \ macro 104 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n)))
|
/arch/ia64/include/uapi/asm/ |
D | cmpxchg.h | 129 #define cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) macro 132 #define cmpxchg_local cmpxchg
|
/arch/blackfin/include/asm/ |
D | cmpxchg.h | 68 #define cmpxchg(ptr, o, n) \ macro 125 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) macro
|
/arch/tile/gxio/ |
D | dma_queue.c | 81 cmpxchg(&dma_queue->hw_complete_count, in __gxio_dma_queue_update_credits() 107 if (cmpxchg(&dma_queue->hw_complete_count, in __gxio_dma_queue_update_credits()
|
/arch/sh/kernel/cpu/sh2/ |
D | smp-j2.c | 31 while (cmpxchg(pmsg, messages, 0) != messages); in j2_ipi_interrupt_handler() 121 while (cmpxchg(pmsg, old, old|(1U<<message)) != old); in j2_send_ipi()
|
/arch/x86/include/asm/ |
D | cmpxchg_64.h | 12 cmpxchg((ptr), (o), (n)); \
|
/arch/arm64/include/asm/ |
D | sync_bitops.h | 24 #define sync_cmpxchg cmpxchg
|
/arch/hexagon/include/asm/ |
D | cmpxchg.h | 68 #define cmpxchg(ptr, old, new) \ macro
|
/arch/arm/include/asm/ |
D | sync_bitops.h | 23 #define sync_cmpxchg cmpxchg
|
/arch/score/include/asm/ |
D | cmpxchg.h | 40 #define cmpxchg(ptr, o, n) \ macro
|
/arch/metag/include/asm/ |
D | cmpxchg.h | 54 #define cmpxchg(ptr, o, n) \ macro
|
/arch/sparc/include/asm/ |
D | atomic_64.h | 84 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() 103 ((__typeof__((v)->counter))cmpxchg(&((v)->counter), (o), (n)))
|
D | cmpxchg_32.h | 57 #define cmpxchg(ptr, o, n) \ macro
|
/arch/sh/include/asm/ |
D | cmpxchg.h | 65 #define cmpxchg(ptr,o,n) \ macro
|
D | atomic.h | 45 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n)))
|
/arch/tile/kernel/ |
D | pmc.c | 38 return cmpxchg(&perf_irq, NULL, new_perf_irq); in reserve_pmc_hardware()
|
/arch/mips/include/asm/ |
D | cmpxchg.h | 227 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_mb__before_llsc(), smp_llsc_mb()) macro 240 cmpxchg((ptr), (o), (n)); \
|
/arch/mn10300/include/asm/ |
D | cmpxchg.h | 110 #define cmpxchg(ptr, o, n) \ macro
|
/arch/openrisc/include/asm/ |
D | Kbuild | 13 generic-y += cmpxchg-local.h 14 generic-y += cmpxchg.h
|