/arch/arm/include/asm/ |
D | atomic.h | 47 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 126 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 190 #define atomic_add(i, v) (void) atomic_add_return(i, v) 191 #define atomic_inc(v) (void) atomic_add_return(1, v) 195 #define atomic_inc_and_test(v) (atomic_add_return(1, v) == 0) 197 #define atomic_inc_return(v) (atomic_add_return(1, v)) 201 #define atomic_add_negative(i,v) (atomic_add_return(i, v) < 0)
|
/arch/avr32/include/asm/ |
D | atomic.h | 57 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 179 #define atomic_add(i, v) (void)atomic_add_return(i, v) 184 #define atomic_inc_return(v) atomic_add_return(1, v) 187 #define atomic_inc_and_test(v) (atomic_add_return(1, v) == 0) 189 #define atomic_add_negative(i, v) (atomic_add_return(i, v) < 0)
|
/arch/xtensa/include/asm/ |
D | rwsem.h | 64 if (atomic_add_return(1,(atomic_t *)(&sem->count)) > 0) in __down_read() 91 tmp = atomic_add_return(RWSEM_ACTIVE_WRITE_BIAS, in __down_write() 149 tmp = atomic_add_return(-RWSEM_WAITING_BIAS, (atomic_t *)(&sem->count)); in __downgrade_write() 160 return atomic_add_return(delta, (atomic_t *)(&sem->count)); in rwsem_atomic_update()
|
D | atomic.h | 112 static inline int atomic_add_return(int i, atomic_t * v) in atomic_add_return() function 175 #define atomic_inc_return(v) atomic_add_return(1,(v)) 211 #define atomic_inc_and_test(v) (atomic_add_return(1,(v)) == 0) 222 #define atomic_add_negative(i,v) (atomic_add_return((i),(v)) < 0)
|
/arch/frv/lib/ |
D | atomic-ops.S | 88 # int atomic_add_return(int i, atomic_t *v) 91 .globl atomic_add_return symbol 92 .type atomic_add_return,@function 93 atomic_add_return: label 106 .size atomic_add_return, .-atomic_add_return
|
/arch/s390/include/asm/ |
D | atomic.h | 80 static __inline__ int atomic_add_return(int i, atomic_t * v) in atomic_add_return() function 84 #define atomic_add(_i, _v) atomic_add_return(_i, _v) 85 #define atomic_add_negative(_i, _v) (atomic_add_return(_i, _v) < 0) 86 #define atomic_inc(_v) atomic_add_return(1, _v) 87 #define atomic_inc_return(_v) atomic_add_return(1, _v) 88 #define atomic_inc_and_test(_v) (atomic_add_return(1, _v) == 0)
|
/arch/blackfin/include/asm/ |
D | atomic.h | 46 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 110 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 181 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0) 183 #define atomic_inc_return(v) atomic_add_return(1,(v))
|
/arch/powerpc/include/asm/ |
D | rwsem.h | 97 tmp = atomic_add_return(RWSEM_ACTIVE_WRITE_BIAS, in __down_write_nested() 154 tmp = atomic_add_return(-RWSEM_WAITING_BIAS, (atomic_t *)(&sem->count)); in __downgrade_write() 164 return atomic_add_return(delta, (atomic_t *)(&sem->count)); in rwsem_atomic_update()
|
/arch/x86/include/asm/ |
D | atomic_32.h | 166 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 200 return atomic_add_return(-i, v); in atomic_sub_return() 232 #define atomic_inc_return(v) (atomic_add_return(1, v))
|
D | atomic_64.h | 167 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 178 return atomic_add_return(-i, v); in atomic_sub_return() 181 #define atomic_inc_return(v) (atomic_add_return(1, v))
|
/arch/ia64/include/asm/ |
D | atomic.h | 127 #define atomic_add_return(i,v) \ macro 158 return atomic_add_return(i, v) < 0; in atomic_add_negative() 192 #define atomic_inc_return(v) atomic_add_return(1, (v)) 198 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0) 203 #define atomic_add(i,v) atomic_add_return((i), (v))
|
/arch/m68k/include/asm/ |
D | atomic_no.h | 103 static inline int atomic_add_return(int i, atomic_t * v) in atomic_add_return() function 116 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0) 152 #define atomic_inc_return(v) atomic_add_return(1,(v))
|
D | atomic_mm.h | 57 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 90 static inline int atomic_add_return(int i, atomic_t * v) in atomic_add_return() function 146 #define atomic_inc_return(v) atomic_add_return(1, (v))
|
/arch/sh/include/asm/ |
D | rwsem.h | 105 tmp = atomic_add_return(RWSEM_ACTIVE_WRITE_BIAS, in __down_write() 163 tmp = atomic_add_return(-RWSEM_WAITING_BIAS, (atomic_t *)(&sem->count)); in __downgrade_write() 179 return atomic_add_return(delta, (atomic_t *)(&sem->count)); in rwsem_atomic_update()
|
D | atomic.h | 27 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0) 30 #define atomic_inc_return(v) atomic_add_return(1,(v))
|
D | atomic-llsc.h | 45 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
|
D | atomic-irq.h | 27 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
|
D | atomic-grb.h | 42 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
|
/arch/h8300/include/asm/ |
D | atomic.h | 19 static __inline__ int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 28 #define atomic_add(i, v) atomic_add_return(i, v) 29 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0)
|
/arch/alpha/include/asm/ |
D | atomic.h | 96 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 230 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0) 236 #define atomic_inc_return(v) atomic_add_return(1,(v)) 242 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0)
|
/arch/sparc/include/asm/ |
D | atomic_32.h | 33 #define atomic_add_return(i, v) (__atomic_add_return( (int)(i), (v))) macro 38 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0)
|
D | rwsem.h | 69 return atomic_add_return(delta, (atomic_t *)(&sem->count)); in rwsem_atomic_update()
|
/arch/cris/include/asm/ |
D | atomic.h | 39 static inline int atomic_add_return(int i, volatile atomic_t *v) in atomic_add_return() function 49 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0)
|
/arch/frv/kernel/ |
D | frv_ksyms.c | 65 EXPORT_SYMBOL(atomic_add_return);
|
/arch/mips/include/asm/ |
D | atomic.h | 136 static __inline__ int atomic_add_return(int i, atomic_t * v) in atomic_add_return() function 338 #define atomic_inc_return(v) atomic_add_return(1, (v)) 402 #define atomic_add_negative(i, v) (atomic_add_return(i, (v)) < 0)
|