Searched refs:atomic_dec_if_positive (Results 1 – 8 of 8) sorted by relevance
12 static inline int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function25 #define atomic_dec_if_positive atomic_dec_if_positive macro
87 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
42 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
232 static __inline__ int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function253 #define atomic_dec_if_positive atomic_dec_if_positive macro
197 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
280 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
453 atomic_dec_if_positive(&ctx->gang->aff_sched_count); in spu_unbind_context()
1429 WARN_ON(atomic_dec_if_positive(&edev->pe->pass_dev_cnt) < 0); in eeh_dev_release()