/arch/hexagon/include/asm/ |
D | atomic.h | 102 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 117 #define atomic_sub(i, v) atomic_sub_return(i, (v)) 157 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) 158 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, (v)) == 0) 163 #define atomic_dec_return(v) (atomic_sub_return(1, v))
|
/arch/avr32/include/asm/ |
D | atomic.h | 32 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 62 result = atomic_sub_return(-i, v); in atomic_add_return() 171 #define atomic_sub(i, v) (void)atomic_sub_return(i, v) 176 #define atomic_dec_return(v) atomic_sub_return(1, v) 179 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, v) == 0) 181 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0)
|
/arch/frv/include/asm/ |
D | atomic.h | 64 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 88 extern int atomic_sub_return(int i, atomic_t *v); 104 atomic_sub_return(i, v); in atomic_sub() 114 atomic_sub_return(1, v); in atomic_dec() 117 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 120 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) 121 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
/arch/mn10300/include/asm/ |
D | atomic.h | 96 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 138 atomic_sub_return(i, v); in atomic_sub() 148 atomic_sub_return(1, v); in atomic_dec() 151 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 154 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) 155 #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 66 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) 82 #define atomic_dec_return(v) atomic_sub_return(1, (v))
|
/arch/sh/include/asm/ |
D | atomic.h | 28 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 31 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) 32 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
D | atomic-grb.h | 63 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function
|
D | atomic-llsc.h | 62 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function
|
D | atomic-irq.h | 42 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function
|
/arch/xtensa/include/asm/ |
D | atomic.h | 131 static inline int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return() function 159 #define atomic_sub_and_test(i,v) (atomic_sub_return((i),(v)) == 0) 191 #define atomic_dec_return(v) atomic_sub_return(1,(v)) 201 #define atomic_dec_and_test(v) (atomic_sub_return(1,(v)) == 0)
|
D | rwsem.h | 85 tmp = atomic_sub_return(1,(atomic_t *)(&sem->count)); in __up_read() 96 if (atomic_sub_return(RWSEM_ACTIVE_WRITE_BIAS, in __up_write()
|
/arch/frv/lib/ |
D | atomic-ops.S | 110 # int atomic_sub_return(int i, atomic_t *v) 113 .globl atomic_sub_return symbol 114 .type atomic_sub_return,@function 115 atomic_sub_return: label 128 .size atomic_sub_return, .-atomic_sub_return
|
/arch/sparc/include/asm/ |
D | atomic_32.h | 36 #define atomic_sub_return(i, v) (__atomic_add_return(-(int)(i), (v))) macro 53 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, v) == 0)
|
/arch/h8300/include/asm/ |
D | atomic.h | 32 static __inline__ int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 42 #define atomic_sub(i, v) atomic_sub_return(i, v) 43 #define atomic_sub_and_test(i,v) (atomic_sub_return(i, v) == 0)
|
/arch/s390/include/asm/ |
D | atomic.h | 64 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 68 #define atomic_sub(_i, _v) atomic_sub_return(_i, _v) 69 #define atomic_sub_and_test(_i, _v) (atomic_sub_return(_i, _v) == 0) 70 #define atomic_dec(_v) atomic_sub_return(1, _v) 71 #define atomic_dec_return(_v) atomic_sub_return(1, _v) 72 #define atomic_dec_and_test(_v) (atomic_sub_return(1, _v) == 0)
|
/arch/arm/include/asm/ |
D | atomic.h | 93 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 172 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 184 #define atomic_sub(i, v) (void) atomic_sub_return(i, v) 227 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) 229 #define atomic_dec_return(v) (atomic_sub_return(1, v)) 230 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, v) == 0)
|
/arch/ia64/include/asm/ |
D | atomic.h | 165 #define atomic_sub_return(i,v) \ macro 189 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 194 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) 195 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) 202 #define atomic_sub(i,v) atomic_sub_return((i), (v))
|
/arch/alpha/include/asm/ |
D | atomic.h | 134 static __inline__ long atomic_sub_return(int i, atomic_t * v) in atomic_sub_return() function 232 #define atomic_dec_return(v) atomic_sub_return(1,(v)) 238 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) 244 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
/arch/m32r/include/asm/ |
D | atomic.h | 79 static __inline__ int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 119 #define atomic_sub(i,v) ((void) atomic_sub_return((i), (v))) 130 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0)
|
/arch/m68k/include/asm/ |
D | atomic.h | 92 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 125 static inline int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return() function 166 #define atomic_dec_return(v) atomic_sub_return(1, (v))
|
/arch/blackfin/include/asm/ |
D | atomic.h | 26 #define atomic_sub_return(i, v) __raw_atomic_update_asm(&(v)->counter, -(i)) macro
|
/arch/x86/include/asm/ |
D | atomic.h | 201 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() function 207 #define atomic_dec_return(v) (atomic_sub_return(1, v))
|
/arch/mips/include/asm/ |
D | atomic.h | 183 static __inline__ int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return() function 329 #define atomic_dec_return(v) atomic_sub_return(1, (v)) 341 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) 361 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
|
/arch/frv/kernel/ |
D | frv_ksyms.c | 66 EXPORT_SYMBOL(atomic_sub_return);
|
/arch/parisc/include/asm/ |
D | atomic.h | 124 #define atomic_sub_return(i,v) (__atomic_add_return(-(i),(v))) macro 142 #define atomic_sub_and_test(i,v) (atomic_sub_return((i),(v)) == 0)
|