/arch/metag/include/asm/ |
D | atomic.h | 23 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 36 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) 37 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
/arch/sh/include/asm/ |
D | atomic.h | 36 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 39 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) 40 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
/arch/mn10300/include/asm/ |
D | atomic.h | 137 atomic_sub_return(1, v); in atomic_dec() 140 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 143 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) 144 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
/arch/tile/include/asm/ |
D | atomic.h | 47 #define atomic_sub_return(i, v) atomic_add_return((int)(-(i)), (v)) macro 68 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) 84 #define atomic_dec_return(v) atomic_sub_return(1, (v))
|
/arch/hexagon/include/asm/ |
D | atomic.h | 206 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) 207 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, (v)) == 0) 211 #define atomic_dec_return(v) (atomic_sub_return(1, v))
|
/arch/openrisc/include/asm/ |
D | atomic.h | 87 #define atomic_sub_return atomic_sub_return in ATOMIC_OP_RETURN() macro
|
/arch/sparc/include/asm/ |
D | atomic_32.h | 46 #define atomic_sub_return(i, v) (atomic_add_return(-(int)(i), (v))) macro 65 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, v) == 0)
|
D | atomic_64.h | 53 #define atomic_dec_return(v) atomic_sub_return(1, v) in ATOMIC_OPS() 70 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, v) == 0) in ATOMIC_OPS() 73 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) in ATOMIC_OPS()
|
/arch/xtensa/include/asm/ |
D | atomic.h | 209 #define atomic_sub_and_test(i,v) (atomic_sub_return((i),(v)) == 0) in ATOMIC_OPS() 241 #define atomic_dec_return(v) atomic_sub_return(1,(v)) in ATOMIC_OPS() 251 #define atomic_dec_and_test(v) (atomic_sub_return(1,(v)) == 0) in ATOMIC_OPS()
|
/arch/s390/include/asm/ |
D | atomic.h | 63 #define atomic_sub_return(_i, _v) atomic_add_return(-(int)(_i), _v) macro 65 #define atomic_sub_and_test(_i, _v) (atomic_sub_return(_i, _v) == 0) 67 #define atomic_dec_return(_v) atomic_sub_return(1, _v) 68 #define atomic_dec_and_test(_v) (atomic_sub_return(1, _v) == 0)
|
/arch/arm64/include/asm/ |
D | atomic.h | 72 #define atomic_sub_return atomic_sub_return macro 77 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 126 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0)
|
/arch/frv/include/asm/ |
D | atomic.h | 53 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 73 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) 74 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
/arch/h8300/include/asm/ |
D | atomic.h | 73 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, v) == 0) 76 #define atomic_dec_return(v) atomic_sub_return(1, v)
|
/arch/ia64/include/asm/ |
D | atomic.h | 80 #define atomic_sub_return(i,v) \ macro 305 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 310 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) 311 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) 318 #define atomic_sub(i,v) (void)atomic_sub_return((i), (v))
|
/arch/alpha/include/asm/ |
D | atomic.h | 291 #define atomic_dec_return(v) atomic_sub_return(1,(v)) 297 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) 303 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
/arch/x86/include/asm/ |
D | atomic.h | 167 static __always_inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 173 #define atomic_dec_return(v) (atomic_sub_return(1, v))
|
/arch/arc/include/asm/ |
D | atomic.h | 290 #define atomic_sub_return(i, v) atomic_add_return(-(i), (v)) 345 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) 347 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 348 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, v) == 0)
|
/arch/blackfin/include/asm/ |
D | atomic.h | 30 #define atomic_sub_return(i, v) __raw_atomic_add_asm(&(v)->counter, -(i)) macro
|
/arch/mips/include/asm/ |
D | atomic.h | 301 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 313 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) 333 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
/arch/m32r/include/asm/ |
D | atomic.h | 143 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) in ATOMIC_OPS()
|
/arch/arm/include/asm/ |
D | atomic.h | 261 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) 264 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, v) == 0)
|
/arch/m68k/include/asm/ |
D | atomic.h | 193 #define atomic_dec_return(v) atomic_sub_return(1, (v))
|
/arch/x86/kernel/cpu/mcheck/ |
D | mce_intel.c | 190 if (!atomic_sub_return(1, &cmci_storm_on_cpus)) in cmci_intel_adjust_timer()
|
/arch/parisc/include/asm/ |
D | atomic.h | 183 #define atomic_sub_and_test(i,v) (atomic_sub_return((i),(v)) == 0)
|
/arch/powerpc/include/asm/ |
D | atomic.h | 283 #define atomic_sub_and_test(a, v) (atomic_sub_return((a), (v)) == 0)
|