Home
last modified time | relevance | path

Searched refs:arch_atomic_add_return (Results 1 – 7 of 7) sorted by relevance

/arch/sparc/include/asm/
Datomic_32.h21 int arch_atomic_add_return(int, atomic_t *);
37 #define arch_atomic_add(i, v) ((void)arch_atomic_add_return( (int)(i), (v)))
38 #define arch_atomic_sub(i, v) ((void)arch_atomic_add_return(-(int)(i), (v)))
44 #define arch_atomic_sub_return(i, v) (arch_atomic_add_return(-(int)(i), (v)))
/arch/x86/include/asm/
Datomic.h163 static __always_inline int arch_atomic_add_return(int i, atomic_t *v) in arch_atomic_add_return() function
167 #define arch_atomic_add_return arch_atomic_add_return macro
178 return arch_atomic_add_return(-i, v); in arch_atomic_sub_return()
/arch/s390/include/asm/
Datomic.h30 static inline int arch_atomic_add_return(int i, atomic_t *v) in arch_atomic_add_return() function
34 #define arch_atomic_add_return arch_atomic_add_return macro
49 #define arch_atomic_sub_return(_i, _v) arch_atomic_add_return(-(int)(_i), _v)
/arch/openrisc/include/asm/
Datomic.h88 #define arch_atomic_add_return arch_atomic_add_return in ATOMIC_OP_RETURN() macro
/arch/arm64/include/asm/
Datomic.h108 #define arch_atomic_add_return arch_atomic_add_return macro
/arch/ia64/include/asm/
Datomic.h77 #define arch_atomic_add_return(i,v) \ macro
217 #define arch_atomic_add(i,v) (void)arch_atomic_add_return((i), (v))
/arch/riscv/include/asm/
Datomic.h143 #define arch_atomic_add_return arch_atomic_add_return macro