Home
last modified time | relevance | path

Searched refs:atomic_dec_return (Results 1 – 25 of 97) sorted by relevance

1234

/linux-3.4.99/include/asm-generic/
Dmutex-dec.h23 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock()
40 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock_retval()
Datomic.h129 #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/
Datomic.h82 #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/
Datomic.h168 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)
Dspinlock.h305 if (atomic_dec_return(count) >= 0) in arch_read_trylock()
/linux-3.4.99/arch/sparc/include/asm/
Datomic_32.h38 #define atomic_dec_return(v) (__atomic_add_return( -1, (v))) macro
52 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0)
Datomic_64.h32 #define atomic_dec_return(v) atomic_sub_ret(1, v) macro
/linux-3.4.99/arch/h8300/include/asm/
Datomic.h68 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/
Dmutex_64.h49 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock_retval()
Dmutex_32.h54 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock_retval()
Datomic.h207 #define atomic_dec_return(v) (atomic_sub_return(1, v)) macro
/linux-3.4.99/arch/parisc/include/asm/
Datomic.h126 #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/
Datomic.h28 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro
Drwsem.h80 tmp = atomic_dec_return((atomic_t *)(&sem->count)); in __up_read()
/linux-3.4.99/arch/hexagon/include/asm/
Datomic.h163 #define atomic_dec_return(v) (atomic_sub_return(1, v)) macro
/linux-3.4.99/arch/powerpc/include/asm/
Datomic.h157 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/
Dspinlock.h123 while (atomic_dec_return(count) < 0) in arch_read_lock()
Datomic.h151 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro
/linux-3.4.99/arch/arm/mach-exynos/
Dsetup-usb-phy.c110 if (atomic_dec_return(&host_usage) > 0) in exynos4_usb_phy1_exit()
/linux-3.4.99/arch/arm/mach-omap2/
Dclockdomain.c518 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/
Datomic.h176 #define atomic_dec_return(v) atomic_sub_return(1, v) macro
/linux-3.4.99/drivers/misc/sgi-xp/
Dxpc_main.c752 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/
Datomic.h191 #define atomic_dec_return(v) atomic_sub_return(1,(v)) macro
/linux-3.4.99/drivers/net/wireless/mwifiex/
Dtxrx.c146 if (atomic_dec_return(&adapter->tx_pending) >= LOW_TX_PENDING) in mwifiex_write_data_complete()
/linux-3.4.99/drivers/usb/host/
Dohci-cns3xxx.c147 if (atomic_dec_return(&usb_pwr_ref) == 0) in cns3xxx_ohci_remove()

1234