Searched refs:atomic_dec_unless_positive (Results 1 – 6 of 6) sorted by relevance
51 atomic_dec_unless_positive(), atomic_inc_unless_negative()
587 return atomic_dec_unless_positive(&mapping->i_mmap_writable) ? in mapping_deny_writable()2792 return atomic_dec_unless_positive(&inode->i_writecount) ? 0 : -ETXTBSY; in deny_write_access()
1558 atomic_dec_unless_positive(atomic_t *v) in atomic_dec_unless_positive() function
1010 and atomic_dec_unless_positive(). These can be emulated
693 if (!atomic_dec_unless_positive(&runtime->buffer_accessing)) in snd_pcm_buffer_access_lock()
5125 if (!atomic_dec_unless_positive(&pmu->exclusive_cnt)) in exclusive_event_init()