Searched refs:i_writecount (Results 1 – 14 of 14) sorted by relevance
177 atomic_read(&inode->i_writecount) == 1) { in udf_release_file()
190 __entry->wcount = atomic_read(&inode->i_writecount);
717 atomic_t i_writecount; member2787 return atomic_inc_unless_negative(&inode->i_writecount) ? 0 : -ETXTBSY; in get_write_access()2792 return atomic_dec_unless_positive(&inode->i_writecount) ? 0 : -ETXTBSY; in deny_write_access()2796 atomic_dec(&inode->i_writecount); in put_write_access()2801 atomic_inc(&file_inode(file)->i_writecount); in allow_write_access()2805 return atomic_read(&inode->i_writecount) > 0; in inode_is_open_for_write()
166 if (atomic_read(&inode->i_writecount) == 1) { in ima_check_last_writer()
174 (atomic_read(&inode->i_writecount) == 1) && in ext4_release_file()
1177 atomic_read(&inode->i_writecount) == 1)) { in ntfs_file_release()
176 atomic_set(&inode->i_writecount, 0); in inode_init_always()
1711 if (atomic_read(&inode->i_writecount) != self_wcount || in check_conflicting_open()
1094 if (atomic_read(&inode->i_writecount) > 1 in wait_for_concurrent_writes()
5357 writes = atomic_read(&ino->i_writecount); in nfsd4_check_conflicting_opens()
1863 atomic_read(&inode->i_writecount) != 1) in f2fs_release_file()3514 writecount = atomic_read(&inode->i_writecount); in f2fs_release_compress_blocks()
690 if (atomic_read(&inode->i_writecount) <= 1) in gfs2_rs_delete()
1042 !atomic_read(&inode->i_writecount) || in add_dquot_ref()
7144 } else if (atomic_read(&inode->i_writecount) != 1) { in set_bitmap_file()