Searched refs:i_state (Results 1 – 25 of 83) sorted by relevance
1234
114 if ((inode->i_state & flags) == flags) in __mark_inode_dirty()136 if ((inode->i_state & flags) != flags) { in __mark_inode_dirty()137 const int was_dirty = inode->i_state & I_DIRTY; in __mark_inode_dirty()139 inode->i_state |= flags; in __mark_inode_dirty()146 if (inode->i_state & I_SYNC) in __mark_inode_dirty()157 if (inode->i_state & (I_FREEING|I_CLEAR)) in __mark_inode_dirty()220 wake_up_bit(&inode->i_state, __I_SYNC); in inode_sync_complete()276 BUG_ON(inode->i_state & I_SYNC); in __sync_single_inode()277 WARN_ON(inode->i_state & I_NEW); in __sync_single_inode()280 dirty = inode->i_state & I_DIRTY; in __sync_single_inode()[all …]
109 wake_up_bit(&inode->i_state, __I_LOCK); in wake_up_inode()265 if (!(inode->i_state & (I_DIRTY|I_SYNC))) in __iget()284 BUG_ON(!(inode->i_state & I_FREEING)); in clear_inode()285 BUG_ON(inode->i_state & I_CLEAR); in clear_inode()294 inode->i_state = I_CLEAR; in clear_inode()362 WARN_ON(inode->i_state & I_NEW); in invalidate_list()363 inode->i_state |= I_FREEING; in invalidate_list()403 if (inode->i_state) in can_unuse()444 if (inode->i_state || atomic_read(&inode->i_count)) { in prune_icache()464 WARN_ON(inode->i_state & I_NEW); in prune_icache()[all …]
21 if (inode->i_state & (I_FREEING|I_WILL_FREE)) in drop_pagecache_sb()
160 inode->i_state = I_DIRTY; in anon_inode_mkinode()
41 if (!(inode->i_state & I_DIRTY)) in ext2_sync_file()43 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in ext2_sync_file()
22 __u16 i_state; member
1203 if (!(inode->i_state & I_NEW)) in ext2_iget()1257 ei->i_state = 0; in ext2_iget()1335 if (ei->i_state & EXT2_STATE_NEW) in ext2_update_inode()1418 ei->i_state &= ~EXT2_STATE_NEW; in ext2_update_inode()
44 if (!(inode->i_state & I_DIRTY)) in udf_fsync_inode()46 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in udf_fsync_inode()
75 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in ext3_sync_file()82 if (inode->i_state & (I_DIRTY_SYNC|I_DIRTY_DATASYNC)) { in ext3_sync_file()
277 if (!(EXT3_I(inode)->i_state & EXT3_STATE_XATTR)) in ext3_xattr_ibody_get()403 if (!(EXT3_I(inode)->i_state & EXT3_STATE_XATTR)) in ext3_xattr_ibody_list()883 if (EXT3_I(inode)->i_state & EXT3_STATE_XATTR) { in ext3_xattr_ibody_find()915 EXT3_I(inode)->i_state |= EXT3_STATE_XATTR; in ext3_xattr_ibody_set()918 EXT3_I(inode)->i_state &= ~EXT3_STATE_XATTR; in ext3_xattr_ibody_set()964 if (EXT3_I(inode)->i_state & EXT3_STATE_NEW) { in ext3_xattr_set_handle()967 EXT3_I(inode)->i_state &= ~EXT3_STATE_NEW; in ext3_xattr_set_handle()
1350 EXT3_I(inode)->i_state |= EXT3_STATE_JDATA; in ext3_journalled_write_end()1387 if (EXT3_I(inode)->i_state & EXT3_STATE_JDATA) { in ext3_bmap()1406 EXT3_I(inode)->i_state &= ~EXT3_STATE_JDATA; in ext3_bmap()1625 EXT3_I(inode)->i_state |= EXT3_STATE_JDATA; in ext3_journalled_writepage()2658 !(EXT3_I(inode)->i_state & EXT3_STATE_XATTR)); in ext3_get_inode_loc()2710 if (!(inode->i_state & I_NEW)) in ext3_iget()2739 ei->i_state = 0; in ext3_iget()2808 ei->i_state |= EXT3_STATE_XATTR; in ext3_iget()2866 if (ei->i_state & EXT3_STATE_NEW) in ext3_do_update_inode()2959 ei->i_state &= ~EXT3_STATE_NEW; in ext3_do_update_inode()
40 if (!(inode->i_state & I_DIRTY)) in ufs_sync_file()42 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in ufs_sync_file()
44 if (!(inode->i_state & I_DIRTY)) in sysv_sync_file()46 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in sysv_sync_file()
40 if (!(inode->i_state & I_DIRTY)) in minix_sync_file()42 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in minix_sync_file()
82 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in ext4_sync_file()89 if (inode->i_state & (I_DIRTY_SYNC|I_DIRTY_DATASYNC)) { in ext4_sync_file()
270 if (!(EXT4_I(inode)->i_state & EXT4_STATE_XATTR)) in ext4_xattr_ibody_get()396 if (!(EXT4_I(inode)->i_state & EXT4_STATE_XATTR)) in ext4_xattr_ibody_list()895 if (EXT4_I(inode)->i_state & EXT4_STATE_XATTR) { in ext4_xattr_ibody_find()927 EXT4_I(inode)->i_state |= EXT4_STATE_XATTR; in ext4_xattr_ibody_set()930 EXT4_I(inode)->i_state &= ~EXT4_STATE_XATTR; in ext4_xattr_ibody_set()973 no_expand = EXT4_I(inode)->i_state & EXT4_STATE_NO_EXPAND; in ext4_xattr_set_handle()974 EXT4_I(inode)->i_state |= EXT4_STATE_NO_EXPAND; in ext4_xattr_set_handle()980 if (EXT4_I(inode)->i_state & EXT4_STATE_NEW) { in ext4_xattr_set_handle()983 EXT4_I(inode)->i_state &= ~EXT4_STATE_NEW; in ext4_xattr_set_handle()1038 EXT4_I(inode)->i_state &= ~EXT4_STATE_NO_EXPAND; in ext4_xattr_set_handle()[all …]
66 __u32 i_state; /* Dynamic state flags for ext4 */ member
1536 EXT4_I(inode)->i_state |= EXT4_STATE_JDATA; in ext4_journalled_write_end()2850 if (EXT4_JOURNAL(inode) && EXT4_I(inode)->i_state & EXT4_STATE_JDATA) { in ext4_bmap()2869 EXT4_I(inode)->i_state &= ~EXT4_STATE_JDATA; in ext4_bmap()3040 EXT4_I(inode)->i_state |= EXT4_STATE_JDATA; in __ext4_journalled_writepage()4130 !(EXT4_I(inode)->i_state & EXT4_STATE_XATTR)); in ext4_get_inode_loc()4204 if (!(inode->i_state & I_NEW)) in ext4_iget()4227 ei->i_state = 0; in ext4_iget()4285 ei->i_state |= EXT4_STATE_XATTR; in ext4_iget()4394 if (ei->i_state & EXT4_STATE_NEW) in ext4_do_update_inode()4490 ei->i_state &= ~EXT4_STATE_NEW; in ext4_do_update_inode()[all …]
34 if (!(inode->i_state & I_DIRTY) || in jfs_fsync()35 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
70 if (inode->i_state & I_NEW) { in coda_iget()145 BUG_ON(inode->i_state & I_NEW); in coda_fid_to_inode()
21 if (!(inode->i_state & I_DIRTY)) in omfs_sync_file()23 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in omfs_sync_file()
397 if (!(inode->i_state & (I_DIRTY|I_SYNC))) in hugetlbfs_forget_inode()404 inode->i_state |= I_WILL_FREE; in hugetlbfs_forget_inode()412 inode->i_state &= ~I_WILL_FREE; in hugetlbfs_forget_inode()418 inode->i_state |= I_FREEING; in hugetlbfs_forget_inode()
68 if (!(inode->i_state & I_CLEAR)) { in xfs_synchronize_atime()85 if (!(inode->i_state & (I_WILL_FREE|I_FREEING|I_CLEAR))) in xfs_mark_inode_dirty_sync()858 inode->i_state = I_NEW|I_LOCK; in xfs_setup_inode()
211 if (inode && (inode->i_state & I_NEW)) in sysfs_get_inode()
396 if (inode->i_state & (I_CLEAR | I_FREEING | I_WILL_FREE)) in inotify_unmount_inodes()409 !(next_i->i_state & (I_CLEAR | I_FREEING | in inotify_unmount_inodes()