Home
last modified time | relevance | path

Searched refs:i_state (Results 1 – 25 of 83) sorted by relevance

1234

/fs/
Dfs-writeback.c114 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 …]
Dinode.c109 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 …]
Ddrop_caches.c21 if (inode->i_state & (I_FREEING|I_WILL_FREE)) in drop_pagecache_sb()
Danon_inodes.c160 inode->i_state = I_DIRTY; in anon_inode_mkinode()
/fs/ext2/
Dfsync.c41 if (!(inode->i_state & I_DIRTY)) in ext2_sync_file()
43 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in ext2_sync_file()
Dext2.h22 __u16 i_state; member
Dinode.c1203 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()
/fs/udf/
Dfsync.c44 if (!(inode->i_state & I_DIRTY)) in udf_fsync_inode()
46 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in udf_fsync_inode()
/fs/ext3/
Dfsync.c75 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()
Dxattr.c277 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()
Dinode.c1350 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()
/fs/ufs/
Dfile.c40 if (!(inode->i_state & I_DIRTY)) in ufs_sync_file()
42 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in ufs_sync_file()
/fs/sysv/
Dfile.c44 if (!(inode->i_state & I_DIRTY)) in sysv_sync_file()
46 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in sysv_sync_file()
/fs/minix/
Dfile.c40 if (!(inode->i_state & I_DIRTY)) in minix_sync_file()
42 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in minix_sync_file()
/fs/ext4/
Dfsync.c82 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()
Dxattr.c270 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 …]
Dext4_i.h66 __u32 i_state; /* Dynamic state flags for ext4 */ member
Dinode.c1536 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 …]
/fs/jfs/
Dfile.c34 if (!(inode->i_state & I_DIRTY) || in jfs_fsync()
35 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
/fs/coda/
Dcnode.c70 if (inode->i_state & I_NEW) { in coda_iget()
145 BUG_ON(inode->i_state & I_NEW); in coda_fid_to_inode()
/fs/omfs/
Dfile.c21 if (!(inode->i_state & I_DIRTY)) in omfs_sync_file()
23 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in omfs_sync_file()
/fs/hugetlbfs/
Dinode.c397 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()
/fs/xfs/linux-2.6/
Dxfs_iops.c68 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()
/fs/sysfs/
Dinode.c211 if (inode && (inode->i_state & I_NEW)) in sysfs_get_inode()
/fs/notify/inotify/
Dinotify.c396 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()

1234