Home
last modified time | relevance | path

Searched refs:atomic_add_unless (Results 1 – 22 of 22) sorted by relevance

/arch/sh/include/asm/
Datomic.h63 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
79 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
Datomic-grb.h145 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
/arch/avr32/include/asm/
Datomic.h120 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
191 #define atomic_inc_not_zero(v) atomic_add_unless(v, 1, 0)
/arch/xtensa/include/asm/
Datomic.h236 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
251 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/x86/include/asm/
Datomic_32.h215 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
230 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
Datomic_64.h373 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
388 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/m68k/include/asm/
Datomic_no.h134 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
149 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
Datomic_mm.h172 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
187 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/sparc/lib/
Datomic32.c58 int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
70 EXPORT_SYMBOL(atomic_add_unless);
/arch/h8300/include/asm/
Datomic.h102 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
114 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/sparc/include/asm/
Datomic_32.h23 extern int atomic_add_unless(atomic_t *, int, int);
53 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
Datomic_64.h73 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
88 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/arm/include/asm/
Datomic.h179 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
188 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/cris/include/asm/
Datomic.h141 static inline int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
153 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/blackfin/include/asm/
Datomic.h188 #define atomic_add_unless(v, a, u) \ macro
196 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/alpha/include/asm/
Datomic.h187 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
202 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/ia64/include/asm/
Datomic.h93 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
108 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/s390/include/asm/
Datomic.h130 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
145 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/powerpc/include/asm/
Datomic.h192 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
215 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/parisc/include/asm/
Datomic.h208 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
223 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/mips/include/asm/
Datomic.h321 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) in atomic_add_unless() function
335 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/arch/ia64/mm/
Dtlb.c113 while (unlikely(!atomic_add_unless(&ss->cur, -1, 0))) in down_spin()