Searched refs:atomic_dec_unless_positive (Results 1 – 2 of 2) sorted by relevance
586 return atomic_dec_unless_positive(&mapping->i_mmap_writable) ? in mapping_deny_writable()3121 return atomic_dec_unless_positive(&inode->i_writecount) ? 0 : -ETXTBSY; in deny_write_access()
589 atomic_dec_unless_positive(atomic_t *v) in atomic_dec_unless_positive() function