/arch/sh/include/asm/ |
D | atomic.h | 35 #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 | 29 int atomic_xchg(atomic_t *, int);
|
D | atomic_64.h | 55 static inline int atomic_xchg(atomic_t *v, int new) in ATOMIC_OPS()
|
/arch/m68k/include/asm/ |
D | atomic.h | 166 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro 183 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/hexagon/include/asm/ |
D | atomic.h | 46 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) macro
|
/arch/arc/include/asm/ |
D | cmpxchg.h | 222 #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 | 259 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/s390/include/asm/ |
D | atomic.h | 78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
|
/arch/riscv/include/asm/ |
D | atomic.h | 306 #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 | 206 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
|
/arch/ia64/include/asm/ |
D | atomic.h | 212 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/mips/mm/ |
D | page.c | 283 if (atomic_xchg(&run_once, 1)) { in build_clear_page() 430 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/mips/include/asm/ |
D | atomic.h | 231 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) macro
|
/arch/powerpc/include/asm/ |
D | atomic.h | 201 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/arm/include/asm/ |
D | atomic.h | 245 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
|
/arch/powerpc/kvm/ |
D | book3s_xive_template.c | 201 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 | 7632 vcpu->arch.nmi_pending += atomic_xchg(&vcpu->arch.nmi_queued, 0); in process_nmi()
|
/arch/powerpc/sysdev/xive/ |
D | common.c | 175 int p = atomic_xchg(&q->pending_count, 0); in xive_scan_interrupts()
|