/arch/sh/include/asm/ |
D | atomic.h | 33 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/h8300/include/asm/ |
D | cmpxchg.h | 64 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/sparc/include/asm/ |
D | atomic_32.h | 27 int atomic_xchg(atomic_t *, int);
|
D | atomic_64.h | 54 static inline int atomic_xchg(atomic_t *v, int new) in ATOMIC_OPS()
|
/arch/m68k/include/asm/ |
D | atomic.h | 164 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro 181 static inline int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function
|
/arch/sparc/lib/ |
D | atomic32.c | 70 int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function 81 EXPORT_SYMBOL(atomic_xchg);
|
/arch/arc/include/asm/ |
D | cmpxchg.h | 156 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/hexagon/include/asm/ |
D | atomic.h | 44 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) macro
|
/arch/powerpc/platforms/powernv/ |
D | opal-prd.c | 92 if (atomic_xchg(&prd_usage, 1) == 1) in opal_prd_open() 260 atomic_xchg(&prd_usage, 0); in opal_prd_release()
|
/arch/xtensa/include/asm/ |
D | atomic.h | 261 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/s390/include/asm/ |
D | atomic.h | 80 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
|
/arch/riscv/include/asm/ |
D | atomic.h | 304 #define atomic_xchg atomic_xchg in ATOMIC_OPS() macro
|
/arch/mips/math-emu/ |
D | dsemul.c | 157 fr_idx = atomic_xchg(&tsk->thread.bd_emu_frame, BD_EMUFRAME_NONE); in dsemul_thread_cleanup()
|
/arch/parisc/include/asm/ |
D | atomic.h | 78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/alpha/include/asm/ |
D | atomic.h | 205 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
|
/arch/ia64/include/asm/ |
D | atomic.h | 211 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/mips/mm/ |
D | page.c | 284 if (atomic_xchg(&run_once, 1)) { in build_clear_page() 433 if (atomic_xchg(&run_once, 1)) { in build_copy_page()
|
/arch/sh/drivers/dma/ |
D | dma-api.c | 198 if (atomic_xchg(&channel->busy, 1)) in request_dma()
|
/arch/powerpc/include/asm/ |
D | atomic.h | 191 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/arm/include/asm/ |
D | atomic.h | 243 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/powerpc/kvm/ |
D | book3s_xive_template.c | 204 int p = atomic_xchg(&q->pending_count, 0); in GLUE()
|
/arch/x86/kvm/ |
D | i8254.c | 247 if (atomic_read(&ps->reinject) && !atomic_xchg(&ps->irq_ack, 0)) in pit_do_work()
|
D | x86.c | 8670 vcpu->arch.nmi_pending += atomic_xchg(&vcpu->arch.nmi_queued, 0); in process_nmi()
|
/arch/powerpc/sysdev/xive/ |
D | common.c | 170 int p = atomic_xchg(&q->pending_count, 0); in xive_scan_interrupts()
|