Searched refs:atomic_dec_unless_positive (Results 1 – 7 of 7) sorted by relevance
1148 #ifndef atomic_dec_unless_positive1150 atomic_dec_unless_positive(atomic_t *v) in atomic_dec_unless_positive() function1161 #define atomic_dec_unless_positive atomic_dec_unless_positive macro
579 return atomic_dec_unless_positive(&mapping->i_mmap_writable) ? in mapping_deny_writable()2922 return atomic_dec_unless_positive(&inode->i_writecount) ? 0 : -ETXTBSY; in deny_write_access()
815 atomic_dec_unless_positive(atomic_t *v) in atomic_dec_unless_positive() function820 #define atomic_dec_unless_positive atomic_dec_unless_positive macro
1002 return atomic_dec_unless_positive(v); in atomic_long_dec_unless_positive()
51 atomic_dec_unless_positive(), atomic_inc_unless_negative()
212 atomic_dec_unless_positive(). These can be emulated
4483 if (!atomic_dec_unless_positive(&pmu->exclusive_cnt)) in exclusive_event_init()