Home
last modified time | relevance | path

Searched refs:atomic_inc_return (Results 1 – 25 of 27) sorted by relevance

12

/arch/h8300/include/asm/
Datomic.h43 static __inline__ int atomic_inc_return(atomic_t *v) in atomic_inc_return() function
53 #define atomic_inc(v) atomic_inc_return(v)
63 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
/arch/sh/include/asm/
Datomic.h30 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
40 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
Drwsem.h78 if (atomic_inc_return((atomic_t *)(&sem->count)) > 0) in __down_read()
/arch/sparc/include/asm/
Datomic_32.h35 #define atomic_inc_return(v) (__atomic_add_return( 1, (v))) macro
48 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
Datomic_64.h35 #define atomic_inc_return(v) atomic_add_ret(1, v) macro
52 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
/arch/blackfin/include/asm/
Dmutex.h40 if (unlikely(atomic_inc_return(count) <= 0)) in __mutex_fastpath_unlock()
Dmutex-dec.h67 if (unlikely(atomic_inc_return(count) <= 0)) in __mutex_fastpath_unlock()
Datomic.h183 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
206 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
/arch/powerpc/include/asm/
Datomic.h117 static __inline__ int atomic_inc_return(atomic_t *v) in atomic_inc_return() function
144 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
Drwsem.h73 if (unlikely(atomic_inc_return((atomic_t *)(&sem->count)) <= 0)) in __down_read()
/arch/avr32/include/asm/
Datomic.h184 #define atomic_inc_return(v) atomic_add_return(1, v) macro
/arch/parisc/include/asm/
Datomic.h232 #define atomic_inc_return(v) (__atomic_add_return( 1,(v))) macro
245 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
/arch/xtensa/include/asm/
Datomic.h175 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
/arch/x86/include/asm/
Datomic_32.h232 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
Datomic_64.h181 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
/arch/m68k/include/asm/
Datomic_no.h152 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
Datomic_mm.h146 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
/arch/mips/include/asm/
Datomic.h338 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
359 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
/arch/arm/include/asm/
Datomic.h197 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
/arch/cris/include/asm/
Datomic.h87 static inline int atomic_inc_return(volatile atomic_t *v) in atomic_inc_return() function
/arch/alpha/include/asm/
Datomic.h236 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
/arch/blackfin/kernel/
Dipipe.c174 atomic_inc_return(&__ipipe_irq_lvdepth[prio]) == 1) in __ipipe_enable_irqdesc()
/arch/ia64/include/asm/
Datomic.h192 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
/arch/s390/include/asm/
Datomic.h87 #define atomic_inc_return(_v) atomic_add_return(1, _v) macro
/arch/arm/mach-omap2/
Dclockdomain.c554 if (atomic_inc_return(&clkdm->usecount) > 1) in omap2_clkdm_clk_enable()

12