Searched refs:atomic_dec_and_test (Results 1 – 25 of 33) sorted by relevance
12
37 if (atomic_dec_and_test(atomic)) in atomic_dec_and_lock_1()
106 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
52 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
58 #define atomic_dec_and_test(v) (atomic_sub_ret(1, v) == 0) macro
32 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
157 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
181 #define atomic_dec_and_test(v) (atomic_sub_return(1, v) == 0) macro
85 if (atomic_dec_and_test(&host_sleep_count)) { in rng_dev_read()
201 #define atomic_dec_and_test(v) (atomic_sub_return(1,(v)) == 0) macro
81 static __inline__ int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
124 if( !atomic_dec_and_test(&rtc_ready) ) in rtc_open()
155 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
196 if (atomic_dec_and_test(&ri->use_count)) { in kvm_release_linear()
226 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
119 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
121 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
136 if (!atomic_dec_and_test(&rtc_status)) { in rtc_open()
106 static inline int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test() function
52 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function
244 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
140 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
118 if (atomic_dec_and_test(&appldata_expire_count)) { in appldata_timer_function()585 if (atomic_dec_and_test(&appldata_expire_count)) { in appldata_offline_cpu()
183 atomic_dec_and_test(&__ipipe_irq_lvdepth[prio])) in __ipipe_disable_irqdesc()
195 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) macro
243 #define atomic_dec_and_test(v) (atomic_dec_return((v)) == 0) macro