/arch/tile/include/asm/ |
D | atomic.h | 82 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro 106 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0)
|
/arch/sparc/include/asm/ |
D | atomic_32.h | 38 #define atomic_dec_return(v) (__atomic_add_return( -1, (v))) macro 52 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0)
|
D | atomic_64.h | 32 #define atomic_dec_return(v) atomic_sub_ret(1, v) macro
|
/arch/m32r/include/asm/ |
D | atomic.h | 168 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return() function 206 #define atomic_dec(v) ((void)atomic_dec_return(v)) 226 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0)
|
D | spinlock.h | 305 if (atomic_dec_return(count) >= 0) in arch_read_trylock()
|
/arch/h8300/include/asm/ |
D | atomic.h | 68 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return() function 79 #define atomic_dec(v) atomic_dec_return(v)
|
/arch/x86/include/asm/ |
D | mutex_64.h | 49 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock_retval()
|
D | mutex_32.h | 54 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock_retval()
|
D | atomic.h | 207 #define atomic_dec_return(v) (atomic_sub_return(1, v)) macro
|
/arch/sh/include/asm/ |
D | atomic.h | 28 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro
|
D | rwsem.h | 80 tmp = atomic_dec_return((atomic_t *)(&sem->count)); in __up_read()
|
/arch/hexagon/include/asm/ |
D | atomic.h | 163 #define atomic_dec_return(v) (atomic_sub_return(1, v)) macro
|
/arch/parisc/include/asm/ |
D | atomic.h | 126 #define atomic_dec_return(v) (__atomic_add_return( -1,(v))) macro 140 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0)
|
/arch/mn10300/include/asm/ |
D | spinlock.h | 123 while (atomic_dec_return(count) < 0) in arch_read_lock()
|
D | atomic.h | 151 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro
|
/arch/arm/mach-exynos/ |
D | setup-usb-phy.c | 110 if (atomic_dec_return(&host_usage) > 0) in exynos4_usb_phy1_exit()
|
/arch/avr32/include/asm/ |
D | atomic.h | 176 #define atomic_dec_return(v) atomic_sub_return(1, v) macro
|
/arch/powerpc/include/asm/ |
D | atomic.h | 157 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return() function 243 #define atomic_dec_and_test(v) (atomic_dec_return((v)) == 0)
|
/arch/xtensa/include/asm/ |
D | atomic.h | 191 #define atomic_dec_return(v) atomic_sub_return(1,(v)) macro
|
/arch/arm/mach-omap2/ |
D | clockdomain.c | 518 if (atomic_dec_return(&cd->wkdep_usecount) == 0) { in clkdm_del_wkdep() 666 if (atomic_dec_return(&cd->sleepdep_usecount) == 0) { in clkdm_del_sleepdep() 948 if (atomic_dec_return(&clkdm->usecount) > 0) in _clkdm_clk_hwmod_disable()
|
/arch/frv/include/asm/ |
D | atomic.h | 117 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro
|
/arch/cris/include/asm/ |
D | atomic.h | 97 static inline int atomic_dec_return(volatile atomic_t *v) in atomic_dec_return() function
|
/arch/m68k/include/asm/ |
D | atomic.h | 166 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro
|
/arch/alpha/include/asm/ |
D | atomic.h | 232 #define atomic_dec_return(v) atomic_sub_return(1,(v)) macro
|
/arch/s390/kernel/ |
D | perf_cpum_cf.c | 292 if (atomic_dec_return(&num_events) == 0) in hw_perf_event_destroy() 520 if (!atomic_dec_return(&cpuhw->ctr_set[hwc->config_base])) in cpumf_pmu_stop()
|