Home
last modified time | relevance | path

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

12

/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)
/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
/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()
/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)
/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
/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()
/arch/hexagon/include/asm/
Datomic.h163 #define atomic_dec_return(v) (atomic_sub_return(1, v)) macro
/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)
/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
/arch/arm/mach-exynos/
Dsetup-usb-phy.c110 if (atomic_dec_return(&host_usage) > 0) in exynos4_usb_phy1_exit()
/arch/avr32/include/asm/
Datomic.h176 #define atomic_dec_return(v) atomic_sub_return(1, v) macro
/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)
/arch/xtensa/include/asm/
Datomic.h191 #define atomic_dec_return(v) atomic_sub_return(1,(v)) macro
/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()
/arch/frv/include/asm/
Datomic.h117 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro
/arch/cris/include/asm/
Datomic.h97 static inline int atomic_dec_return(volatile atomic_t *v) in atomic_dec_return() function
/arch/m68k/include/asm/
Datomic.h166 #define atomic_dec_return(v) atomic_sub_return(1, (v)) macro
/arch/alpha/include/asm/
Datomic.h232 #define atomic_dec_return(v) atomic_sub_return(1,(v)) macro
/arch/s390/kernel/
Dperf_cpum_cf.c292 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()

12