/linux-3.4.99/include/asm-generic/ |
D | mutex-dec.h | 23 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock() 40 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock_retval()
|
D | atomic.h | 129 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro 133 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0)
|
/linux-3.4.99/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)
|
/linux-3.4.99/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()
|
/linux-3.4.99/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
|
/linux-3.4.99/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)
|
/linux-3.4.99/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
|
/linux-3.4.99/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)
|
/linux-3.4.99/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()
|
/linux-3.4.99/arch/hexagon/include/asm/ |
D | atomic.h | 163 #define atomic_dec_return(v) (atomic_sub_return(1, v)) macro
|
/linux-3.4.99/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)
|
/linux-3.4.99/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
|
/linux-3.4.99/arch/arm/mach-exynos/ |
D | setup-usb-phy.c | 110 if (atomic_dec_return(&host_usage) > 0) in exynos4_usb_phy1_exit()
|
/linux-3.4.99/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()
|
/linux-3.4.99/arch/avr32/include/asm/ |
D | atomic.h | 176 #define atomic_dec_return(v) atomic_sub_return(1, v) macro
|
/linux-3.4.99/drivers/misc/sgi-xp/ |
D | xpc_main.c | 752 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_kthread_start() 753 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_kthread_start() 829 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_create_kthreads() 830 atomic_dec_return(&part->nchannels_engaged) == 0) { in xpc_create_kthreads()
|
/linux-3.4.99/arch/xtensa/include/asm/ |
D | atomic.h | 191 #define atomic_dec_return(v) atomic_sub_return(1,(v)) macro
|
/linux-3.4.99/drivers/net/wireless/mwifiex/ |
D | txrx.c | 146 if (atomic_dec_return(&adapter->tx_pending) >= LOW_TX_PENDING) in mwifiex_write_data_complete()
|
/linux-3.4.99/drivers/usb/host/ |
D | ohci-cns3xxx.c | 147 if (atomic_dec_return(&usb_pwr_ref) == 0) in cns3xxx_ohci_remove()
|