Searched refs:i_writecount (Results 1 – 14 of 14) sorted by relevance
231 atomic_read(&inode->i_writecount) == 1) { in udf_release_file()
190 __entry->wcount = atomic_read(&inode->i_writecount);
654 atomic_t i_writecount; member2824 return atomic_inc_unless_negative(&inode->i_writecount) ? 0 : -ETXTBSY; in get_write_access()2829 return atomic_dec_unless_positive(&inode->i_writecount) ? 0 : -ETXTBSY; in deny_write_access()2833 atomic_dec(&inode->i_writecount); in put_write_access()2838 atomic_inc(&file_inode(file)->i_writecount); in allow_write_access()2842 return atomic_read(&inode->i_writecount) > 0; in inode_is_open_for_write()
165 if (atomic_read(&inode->i_writecount) == 1) { in ima_check_last_writer()
148 (atomic_read(&inode->i_writecount) == 1) && in ext4_release_file()
1195 atomic_read(&inode->i_writecount) == 1)) { in ntfs_file_release()
176 atomic_set(&inode->i_writecount, 0); in inode_init_always()
1709 if (atomic_read(&inode->i_writecount) != self_wcount || in check_conflicting_open()
962 if (atomic_read(&inode->i_writecount) > 1 in wait_for_concurrent_writes()
5211 writes = atomic_read(&ino->i_writecount); in nfsd4_check_conflicting_opens()
1822 atomic_read(&inode->i_writecount) != 1) in f2fs_release_file()3397 writecount = atomic_read(&inode->i_writecount); in f2fs_release_compress_blocks()
690 if (atomic_read(&inode->i_writecount) <= 1) in gfs2_rs_delete()
972 !atomic_read(&inode->i_writecount) || in add_dquot_ref()
7046 } else if (atomic_read(&inode->i_writecount) != 1) { in set_bitmap_file()