Searched refs:atomic_dec_and_test (Results 1 – 25 of 35) sorted by relevance
12
/arch/alpha/lib/ |
D | dec_and_lock.c | 37 if (atomic_dec_and_test(atomic)) in atomic_dec_and_lock_1()
|
/arch/metag/include/asm/ |
D | atomic.h | 36 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
|
/arch/sparc/include/asm/ |
D | atomic_32.h | 52 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
|
D | atomic_64.h | 60 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) in ATOMIC_OPS() macro
|
/arch/sh/include/asm/ |
D | atomic.h | 33 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
|
/arch/tile/include/asm/ |
D | atomic.h | 106 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
|
/arch/hexagon/include/asm/ |
D | atomic.h | 179 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
|
/arch/x86/include/asm/ |
D | atomic.h | 116 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
|
/arch/um/drivers/ |
D | random.c | 84 if (atomic_dec_and_test(&host_sleep_count)) { in rng_dev_read()
|
/arch/avr32/include/asm/ |
D | atomic.h | 182 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) macro
|
/arch/mn10300/include/asm/ |
D | atomic.h | 115 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
|
/arch/m68k/mvme16x/ |
D | rtc.c | 124 if( !atomic_dec_and_test(&rtc_ready) ) in rtc_open()
|
/arch/powerpc/kvm/ |
D | book3s_hv_builtin.c | 118 if (atomic_dec_and_test(&ri->use_count)) { in kvm_release_rma()
|
/arch/arc/include/asm/ |
D | atomic.h | 178 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) macro
|
/arch/xtensa/include/asm/ |
D | atomic.h | 203 #define atomic_dec_and_test(v) (atomic_sub_return(1,(v)) == 0) in ATOMIC_OPS() macro
|
/arch/m68k/bvme6000/ |
D | rtc.c | 136 if (!atomic_dec_and_test(&rtc_status)) { in rtc_open()
|
/arch/m32r/include/asm/ |
D | atomic.h | 202 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
|
/arch/frv/include/asm/ |
D | atomic.h | 116 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
|
/arch/cris/include/asm/ |
D | atomic.h | 101 static inline int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test() function
|
/arch/m68k/include/asm/ |
D | atomic.h | 94 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
|
/arch/arm64/include/asm/ |
D | atomic.h | 130 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) macro
|
/arch/alpha/include/asm/ |
D | atomic.h | 233 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
|
/arch/ia64/include/asm/ |
D | atomic.h | 180 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
|
/arch/parisc/include/asm/ |
D | atomic.h | 151 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
|
/arch/blackfin/kernel/ |
D | ipipe.c | 183 atomic_dec_and_test(&__ipipe_irq_lvdepth[prio])) in __ipipe_disable_irqdesc()
|
12