Home
last modified time | relevance | path

Searched refs:atomic_dec_and_test (Results 1 – 25 of 35) sorted by relevance

12

/arch/alpha/lib/
Ddec_and_lock.c37 if (atomic_dec_and_test(atomic)) in atomic_dec_and_lock_1()
/arch/metag/include/asm/
Datomic.h36 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
/arch/sparc/include/asm/
Datomic_32.h52 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
Datomic_64.h60 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) in ATOMIC_OPS() macro
/arch/sh/include/asm/
Datomic.h33 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
/arch/tile/include/asm/
Datomic.h106 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
/arch/hexagon/include/asm/
Datomic.h179 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
/arch/x86/include/asm/
Datomic.h116 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/arch/um/drivers/
Drandom.c84 if (atomic_dec_and_test(&host_sleep_count)) { in rng_dev_read()
/arch/avr32/include/asm/
Datomic.h182 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) macro
/arch/mn10300/include/asm/
Datomic.h115 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
/arch/m68k/mvme16x/
Drtc.c124 if( !atomic_dec_and_test(&rtc_ready) ) in rtc_open()
/arch/powerpc/kvm/
Dbook3s_hv_builtin.c118 if (atomic_dec_and_test(&ri->use_count)) { in kvm_release_rma()
/arch/arc/include/asm/
Datomic.h178 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) macro
/arch/xtensa/include/asm/
Datomic.h203 #define atomic_dec_and_test(v) (atomic_sub_return(1,(v)) == 0) in ATOMIC_OPS() macro
/arch/m68k/bvme6000/
Drtc.c136 if (!atomic_dec_and_test(&rtc_status)) { in rtc_open()
/arch/m32r/include/asm/
Datomic.h202 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
/arch/frv/include/asm/
Datomic.h116 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
/arch/cris/include/asm/
Datomic.h101 static inline int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test() function
/arch/m68k/include/asm/
Datomic.h94 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
/arch/arm64/include/asm/
Datomic.h130 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) macro
/arch/alpha/include/asm/
Datomic.h233 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
/arch/ia64/include/asm/
Datomic.h180 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
/arch/parisc/include/asm/
Datomic.h151 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
/arch/blackfin/kernel/
Dipipe.c183 atomic_dec_and_test(&__ipipe_irq_lvdepth[prio])) in __ipipe_disable_irqdesc()

12