Home
last modified time | relevance | path

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

1234

/fs/
Dinode.c364 WARN_ON(!(inode->i_state & I_LINKABLE)); in inc_nlink()
435 inode->i_state |= I_REFERENCED; in inode_lru_list_add()
445 if (!(inode->i_state & (I_DIRTY_ALL | I_SYNC | in inode_add_lru()
545 BUG_ON(!(inode->i_state & I_FREEING)); in clear_inode()
546 BUG_ON(inode->i_state & I_CLEAR); in clear_inode()
549 inode->i_state = I_FREEING | I_CLEAR; in clear_inode()
570 BUG_ON(!(inode->i_state & I_FREEING)); in evict()
598 wake_up_bit(&inode->i_state, __I_NEW); in evict()
599 BUG_ON(inode->i_state != (I_FREEING | I_CLEAR)); in evict()
646 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in evict_inodes()
[all …]
Dfs-writeback.c284 inode->i_state &= ~I_SYNC_QUEUED; in inode_cgwb_move_to_attached()
386 if (unlikely(inode->i_state & (I_FREEING | I_WILL_FREE))) in inode_do_switch_wbs()
428 if (inode->i_state & I_DIRTY_ALL) { in inode_do_switch_wbs()
454 smp_store_release(&inode->i_state, inode->i_state & ~I_WB_SWITCH); in inode_do_switch_wbs()
536 inode->i_state & (I_WB_SWITCH | I_FREEING | I_WILL_FREE) || in inode_prepare_wbs_switch()
541 inode->i_state |= I_WB_SWITCH; in inode_prepare_wbs_switch()
563 if (inode->i_state & I_WB_SWITCH) in inode_switch_wbs()
1188 inode->i_state &= ~I_SYNC_QUEUED; in inode_cgwb_move_to_attached()
1294 inode->i_state &= ~I_SYNC_QUEUED; in inode_io_list_del()
1360 inode->i_state &= ~I_SYNC_QUEUED; in redirty_tail_locked()
[all …]
Ddrop_caches.c31 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
Dsync.c186 if (!datasync && (inode->i_state & I_DIRTY_TIME)) in vfs_fsync_range()
Dlibfs.c1110 if (!(inode->i_state & I_DIRTY_ALL)) in __generic_file_fsync()
1112 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in __generic_file_fsync()
1239 inode->i_state = I_DIRTY; in alloc_anon_inode()
/fs/nilfs2/
Dinode.c348 ii->i_state = BIT(NILFS_I_NEW); in nilfs_new_inode()
380 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_new_inode()
411 if (inode->i_state & I_NEW) in nilfs_new_inode()
482 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_read_inode_common()
552 if (test_bit(NILFS_I_BTNC, &ii->i_state)) { in nilfs_iget_test()
558 if (test_bit(NILFS_I_SHADOW, &ii->i_state)) { in nilfs_iget_test()
565 if (!test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_iget_test()
582 NILFS_I(inode)->i_state = BIT(NILFS_I_GCINODE); in nilfs_iget_set()
584 NILFS_I(inode)->i_state |= BIT(NILFS_I_BTNC); in nilfs_iget_set()
586 NILFS_I(inode)->i_state |= BIT(NILFS_I_SHADOW); in nilfs_iget_set()
[all …]
Dmdt.h95 if (!test_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state)) in nilfs_mdt_mark_dirty()
96 set_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_mark_dirty()
101 clear_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_clear_dirty()
Dsegment.c522 if (test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_segctor_end_finfo()
806 } else if (test_bit(NILFS_I_DIRTY, &ii->i_state)) { in nilfs_dispose_list()
807 set_bit(NILFS_I_QUEUED, &ii->i_state); in nilfs_dispose_list()
959 if (test_bit(NILFS_I_BMAP, &ii->i_state)) { in nilfs_fill_in_file_bmap()
975 set_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_segctor_fill_in_file_bmap()
1016 if (test_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_redirty_inodes()
1017 clear_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_redirty_inodes()
1026 if (!test_and_clear_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_drop_collected_inodes()
1029 clear_bit(NILFS_I_INODE_SYNC, &ii->i_state); in nilfs_drop_collected_inodes()
1030 set_bit(NILFS_I_UPDATED, &ii->i_state); in nilfs_drop_collected_inodes()
[all …]
Difile.c190 if (!(ifile->i_state & I_NEW)) in nilfs_ifile_read()
Dmdt.c394 set_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
397 return test_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
/fs/ext4/
Dfsync.c87 if (!(inode->i_state & I_DIRTY_ALL)) in ext4_fsync_nojournal()
89 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in ext4_fsync_nojournal()
Dorphan.c110 WARN_ON_ONCE(!(inode->i_state & (I_NEW | I_FREEING)) && in ext4_orphan_add()
239 WARN_ON_ONCE(!(inode->i_state & (I_NEW | I_FREEING)) && in ext4_orphan_del()
/fs/xfs/libxfs/
Dxfs_trans_inode.c113 if (inode->i_state & I_DIRTY_TIME) { in xfs_trans_log_inode()
115 inode->i_state &= ~I_DIRTY_TIME; in xfs_trans_log_inode()
/fs/jfs/
Dfile.c29 if (!(inode->i_state & I_DIRTY_ALL) || in jfs_fsync()
30 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
/fs/coda/
Dcnode.c72 if (inode->i_state & I_NEW) { in coda_iget()
146 BUG_ON(inode->i_state & I_NEW); in coda_fid_to_inode()
/fs/overlayfs/
Dutil.c777 if (!(inode->i_state & I_OVL_INUSE)) { in ovl_inuse_trylock()
778 inode->i_state |= I_OVL_INUSE; in ovl_inuse_trylock()
792 WARN_ON(!(inode->i_state & I_OVL_INUSE)); in ovl_inuse_unlock()
793 inode->i_state &= ~I_OVL_INUSE; in ovl_inuse_unlock()
804 inuse = (inode->i_state & I_OVL_INUSE); in ovl_is_inuse()
Dinode.c1054 if (!(trap->i_state & I_NEW)) { in ovl_get_trap_inode()
1141 if (!(inode->i_state & I_NEW)) { in ovl_get_inode()
1200 if (inode->i_state & I_NEW) in ovl_get_inode()
/fs/ceph/
Dinode.c68 ceph_vinop(inode), inode, !!(inode->i_state & I_NEW)); in ceph_get_inode()
93 if (!(inode->i_state & I_NEW) && !S_ISDIR(inode->i_mode)) { in ceph_get_snapdir()
108 if (inode->i_state & I_NEW) { in ceph_get_snapdir()
117 if ((inode->i_state & I_NEW)) in ceph_get_snapdir()
782 if (inode->i_state & I_NEW) { in ceph_fill_inode()
1364 if (in->i_state & I_NEW) in ceph_fill_trace()
1370 if (in->i_state & I_NEW) in ceph_fill_trace()
1556 if (in->i_state & I_NEW) { in readdir_prepopulate_inodes_only()
1560 } else if (in->i_state & I_NEW) { in readdir_prepopulate_inodes_only()
1761 if (in->i_state & I_NEW) { in ceph_readdir_prepopulate()
[all …]
/fs/orangefs/
Dorangefs-utils.c250 orangefs_inode->attr_valid || inode->i_state & I_DIRTY_PAGES) { in orangefs_inode_getattr()
284 orangefs_inode->attr_valid || inode->i_state & I_DIRTY_PAGES) { in orangefs_inode_getattr()
290 if (inode->i_state & I_DIRTY_PAGES) { in orangefs_inode_getattr()
/fs/ocfs2/
Dinode.c157 trace_ocfs2_iget5_locked(inode->i_state); in ocfs2_iget()
158 if (inode->i_state & I_NEW) { in ocfs2_iget()
1234 inode->i_state |= I_WILL_FREE; in ocfs2_drop_inode()
1238 WARN_ON(inode->i_state & I_NEW); in ocfs2_drop_inode()
1239 inode->i_state &= ~I_WILL_FREE; in ocfs2_drop_inode()
/fs/afs/
Dinode.c320 if (vnode->vfs_inode.i_state & I_NEW) { in afs_fetch_status_success()
467 if (!(inode->i_state & I_NEW)) { in afs_iget()
527 BUG_ON(!(inode->i_state & I_NEW)); in afs_root_iget()
/fs/ecryptfs/
Dinode.c96 if (!(inode->i_state & I_NEW)) in __ecryptfs_get_inode()
107 if (!IS_ERR(inode) && (inode->i_state & I_NEW)) in ecryptfs_get_inode()
374 if (inode->i_state & I_NEW) in ecryptfs_lookup_interpose()
/fs/ext2/
Dinode.c1417 if (!(inode->i_state & I_NEW)) in ext2_iget()
1482 ei->i_state = 0; in ext2_iget()
1552 if (ei->i_state & EXT2_STATE_NEW) in __ext2_write_inode()
1634 ei->i_state &= ~EXT2_STATE_NEW; in __ext2_write_inode()
/fs/jffs2/
Dfs.c268 if (!(inode->i_state & I_NEW)) in jffs2_iget()
376 if (!(inode->i_state & I_DIRTY_DATASYNC)) { in jffs2_dirty_inode()
/fs/cifs/
Dinode.c91 if (inode->i_state & I_NEW) {
132 if (inode->i_state & I_NEW) {
152 if (!(inode->i_state & I_NEW) &&
177 if (inode->i_state & I_NEW ||
212 if (inode->i_state & I_NEW)
1299 if (inode->i_state & I_NEW) {

1234