/arch/h8300/include/asm/ |
D | atomic.h | 43 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/ |
D | atomic.h | 30 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro 40 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
D | rwsem.h | 78 if (atomic_inc_return((atomic_t *)(&sem->count)) > 0) in __down_read()
|
/arch/sparc/include/asm/ |
D | atomic_32.h | 35 #define atomic_inc_return(v) (__atomic_add_return( 1, (v))) macro 48 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
D | atomic_64.h | 35 #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/ |
D | mutex.h | 40 if (unlikely(atomic_inc_return(count) <= 0)) in __mutex_fastpath_unlock()
|
D | mutex-dec.h | 67 if (unlikely(atomic_inc_return(count) <= 0)) in __mutex_fastpath_unlock()
|
D | atomic.h | 183 #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/ |
D | atomic.h | 117 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)
|
D | rwsem.h | 73 if (unlikely(atomic_inc_return((atomic_t *)(&sem->count)) <= 0)) in __down_read()
|
/arch/avr32/include/asm/ |
D | atomic.h | 184 #define atomic_inc_return(v) atomic_add_return(1, v) macro
|
/arch/parisc/include/asm/ |
D | atomic.h | 232 #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/ |
D | atomic.h | 175 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
|
/arch/x86/include/asm/ |
D | atomic_32.h | 232 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
|
D | atomic_64.h | 181 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
|
/arch/m68k/include/asm/ |
D | atomic_no.h | 152 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
|
D | atomic_mm.h | 146 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
|
/arch/mips/include/asm/ |
D | atomic.h | 338 #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/ |
D | atomic.h | 197 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
|
/arch/cris/include/asm/ |
D | atomic.h | 87 static inline int atomic_inc_return(volatile atomic_t *v) in atomic_inc_return() function
|
/arch/alpha/include/asm/ |
D | atomic.h | 236 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
|
/arch/blackfin/kernel/ |
D | ipipe.c | 174 atomic_inc_return(&__ipipe_irq_lvdepth[prio]) == 1) in __ipipe_enable_irqdesc()
|
/arch/ia64/include/asm/ |
D | atomic.h | 192 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
|
/arch/s390/include/asm/ |
D | atomic.h | 87 #define atomic_inc_return(_v) atomic_add_return(1, _v) macro
|
/arch/arm/mach-omap2/ |
D | clockdomain.c | 554 if (atomic_inc_return(&clkdm->usecount) > 1) in omap2_clkdm_clk_enable()
|