Home
last modified time | relevance | path

Searched defs:atomic_xchg (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/arch/sh/include/asm/
Datomic.h33 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.10/arch/m68k/include/asm/
Datomic.h164 #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
/Linux-v5.10/arch/h8300/include/asm/
Dcmpxchg.h64 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.10/arch/hexagon/include/asm/
Datomic.h44 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) macro
/Linux-v5.10/arch/xtensa/include/asm/
Datomic.h261 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dringbuf.c35 static int atomic_xchg(int *cnt, int val) in atomic_xchg() function
/Linux-v5.10/arch/arc/include/asm/
Dcmpxchg.h156 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.10/include/asm-generic/
Datomic.h193 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) macro
Datomic-instrumented.h612 atomic_xchg(atomic_t *v, int i) in atomic_xchg() function
617 #define atomic_xchg atomic_xchg macro
/Linux-v5.10/arch/sparc/lib/
Datomic32.c70 int atomic_xchg(atomic_t *v, int new) in atomic_xchg() function
/Linux-v5.10/arch/s390/include/asm/
Datomic.h80 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
/Linux-v5.10/arch/parisc/include/asm/
Datomic.h78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.10/arch/alpha/include/asm/
Datomic.h205 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
/Linux-v5.10/arch/ia64/include/asm/
Datomic.h211 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.10/arch/riscv/include/asm/
Datomic.h304 #define atomic_xchg atomic_xchg in ATOMIC_OPS() macro
/Linux-v5.10/arch/arm/include/asm/
Datomic.h243 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.10/arch/powerpc/include/asm/
Datomic.h191 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) macro
/Linux-v5.10/include/linux/
Datomic-fallback.h940 atomic_xchg(atomic_t *v, int i) in atomic_xchg() function
948 #define atomic_xchg atomic_xchg macro