Searched refs:atomic_dec_if_positive (Results 1 – 7 of 7) sorted by relevance
12 static inline int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
87 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
184 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
251 static inline int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
250 static __inline__ int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
367 #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()