Searched refs:arch_atomic_add_return (Results 1 – 7 of 7) sorted by relevance
/arch/sparc/include/asm/ |
D | atomic_32.h | 21 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/ |
D | atomic.h | 163 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/ |
D | atomic.h | 30 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/ |
D | atomic.h | 88 #define arch_atomic_add_return arch_atomic_add_return in ATOMIC_OP_RETURN() macro
|
/arch/arm64/include/asm/ |
D | atomic.h | 108 #define arch_atomic_add_return arch_atomic_add_return macro
|
/arch/ia64/include/asm/ |
D | atomic.h | 77 #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/ |
D | atomic.h | 143 #define arch_atomic_add_return arch_atomic_add_return macro
|