Home
last modified time | relevance | path

Searched refs:atomic_dec_if_positive (Results 1 – 8 of 8) sorted by relevance

/arch/microblaze/include/asm/
Datomic.h12 static inline int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
25 #define atomic_dec_if_positive atomic_dec_if_positive macro
Dmmu_context_mm.h87 while (atomic_dec_if_positive(&nr_free_contexts) < 0) in get_mmu_context()
/arch/metag/include/asm/
Datomic.h42 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
/arch/powerpc/include/asm/
Datomic.h232 static __inline__ int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive() function
253 #define atomic_dec_if_positive atomic_dec_if_positive macro
/arch/avr32/include/asm/
Datomic.h197 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
/arch/mips/include/asm/
Datomic.h280 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) macro
/arch/powerpc/platforms/cell/spufs/
Dsched.c453 atomic_dec_if_positive(&ctx->gang->aff_sched_count); in spu_unbind_context()
/arch/powerpc/kernel/
Deeh.c1429 WARN_ON(atomic_dec_if_positive(&edev->pe->pass_dev_cnt) < 0); in eeh_dev_release()