Home
last modified time | relevance | path

Searched refs:atomic_xchg (Results 1 – 25 of 33) sorted by relevance

12

/arch/h8300/include/asm/
Dcmpxchg.h64 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/arch/sh/include/asm/
Datomic.h45 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/arch/sparc/lib/
Datomic32.c70 int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function
81 EXPORT_SYMBOL(atomic_xchg);
/arch/m68k/include/asm/
Datomic.h162 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
179 static inline int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function
/arch/sparc/include/asm/
Datomic_32.h29 int atomic_xchg(atomic_t *, int);
Datomic_64.h87 static inline int atomic_xchg(atomic_t *v, int new) in ATOMIC_OPS()
/arch/tile/include/asm/
Datomic.h125 static inline int atomic_xchg(atomic_t *v, int n) in atomic_xchg() function
/arch/arc/include/asm/
Dcmpxchg.h225 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/arch/arm64/include/asm/
Datomic.h112 #define atomic_xchg(v, new) xchg(&((v)->counter), (new)) macro
191 #define atomic64_xchg atomic_xchg
/arch/metag/include/asm/
Datomic_lnkget.h139 static inline int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function
Datomic_lock1.h123 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/arch/hexagon/include/asm/
Datomic.h60 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) macro
/arch/mn10300/include/asm/
Datomic.h156 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) macro
/arch/powerpc/platforms/powernv/
Dopal-prd.c100 if (atomic_xchg(&prd_usage, 1) == 1) in opal_prd_open()
268 atomic_xchg(&prd_usage, 0); in opal_prd_release()
/arch/xtensa/include/asm/
Datomic.h275 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
/arch/m32r/include/asm/
Datomic.h249 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/arch/x86/include/asm/
Datomic.h196 static inline int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function
/arch/mips/math-emu/
Ddsemul.c157 fr_idx = atomic_xchg(&tsk->thread.bd_emu_frame, BD_EMUFRAME_NONE); in dsemul_thread_cleanup()
/arch/frv/include/asm/
Datomic.h145 #define atomic_xchg(v, new) (xchg(&(v)->counter, new)) macro
/arch/s390/include/asm/
Datomic.h86 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
/arch/blackfin/mach-common/
Dsmp.c151 while ((pending = atomic_xchg(&bfin_ipi_data->bits, 0)) != 0) { in ipi_handler_int1()
/arch/alpha/include/asm/
Datomic.h193 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
/arch/parisc/include/asm/
Datomic.h78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/arch/mips/mm/
Dpage.c283 if (atomic_xchg(&run_once, 1)) { in build_clear_page()
430 if (atomic_xchg(&run_once, 1)) { in build_copy_page()
/arch/powerpc/kvm/
Dbook3s_xive_template.c226 int p = atomic_xchg(&q->pending_count, 0); in GLUE()

12