Home
last modified time | relevance | path

Searched refs:atomic_add_return (Results 1 – 25 of 32) sorted by relevance

12

/arch/arm/include/asm/
Datomic.h47 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/
Datomic.h57 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/
Drwsem.h64 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()
Datomic.h112 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/
Datomic-ops.S88 # 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/
Datomic.h80 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/
Datomic.h46 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/
Drwsem.h97 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/
Datomic_32.h166 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))
Datomic_64.h167 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/
Datomic.h127 #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/
Datomic_no.h103 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))
Datomic_mm.h57 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/
Drwsem.h105 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()
Datomic.h27 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0)
30 #define atomic_inc_return(v) atomic_add_return(1,(v))
Datomic-llsc.h45 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
Datomic-irq.h27 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
Datomic-grb.h42 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
/arch/h8300/include/asm/
Datomic.h19 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/
Datomic.h96 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/
Datomic_32.h33 #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)
Drwsem.h69 return atomic_add_return(delta, (atomic_t *)(&sem->count)); in rwsem_atomic_update()
/arch/cris/include/asm/
Datomic.h39 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/
Dfrv_ksyms.c65 EXPORT_SYMBOL(atomic_add_return);
/arch/mips/include/asm/
Datomic.h136 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)

12