/linux-2.6.39/fs/ |
D | inode.c | 472 BUG_ON(!(inode->i_state & I_FREEING)); in end_writeback() 473 BUG_ON(inode->i_state & I_CLEAR); in end_writeback() 476 inode->i_state = I_FREEING | I_CLEAR; in end_writeback() 497 BUG_ON(!(inode->i_state & I_FREEING)); in evict() 518 wake_up_bit(&inode->i_state, __I_NEW); in evict() 519 BUG_ON(inode->i_state != (I_FREEING | I_CLEAR)); in evict() 564 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in evict_inodes() 569 inode->i_state |= I_FREEING; in evict_inodes() 606 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in invalidate_inodes() 610 if (inode->i_state & I_DIRTY && !kill_dirty) { in invalidate_inodes() [all …]
|
D | fs-writeback.c | 232 wake_up_bit(&inode->i_state, __I_SYNC); in inode_sync_complete() 321 DEFINE_WAIT_BIT(wq, &inode->i_state, __I_SYNC); in inode_wait_for_writeback() 324 wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_wait_for_writeback() 325 while (inode->i_state & I_SYNC) { in inode_wait_for_writeback() 356 WARN_ON(!(inode->i_state & (I_WILL_FREE|I_FREEING))); in writeback_single_inode() 358 WARN_ON(inode->i_state & I_WILL_FREE); in writeback_single_inode() 360 if (inode->i_state & I_SYNC) { in writeback_single_inode() 380 BUG_ON(inode->i_state & I_SYNC); in writeback_single_inode() 383 inode->i_state |= I_SYNC; in writeback_single_inode() 384 inode->i_state &= ~I_DIRTY_PAGES; in writeback_single_inode() [all …]
|
D | drop_caches.c | 23 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
|
D | anon_inodes.c | 206 inode->i_state = I_DIRTY; in anon_inode_mkinode()
|
/linux-2.6.39/fs/nilfs2/ |
D | mdt.h | 100 if (!test_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state)) in nilfs_mdt_mark_dirty() 101 set_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_mark_dirty() 106 clear_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_clear_dirty()
|
D | inode.c | 313 ii->i_state = 1 << NILFS_I_NEW; in nilfs_new_inode() 331 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_new_inode() 425 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_read_inode_common() 492 if (!test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_iget_test() 504 NILFS_I(inode)->i_state = 1 << NILFS_I_GCINODE; in nilfs_iget_set() 544 if (!(inode->i_state & I_NEW)) in nilfs_iget() 568 if (!(inode->i_state & I_NEW)) in nilfs_iget_for_gc() 617 if (test_and_clear_bit(NILFS_I_NEW, &ii->i_state)) in nilfs_update_inode() 619 set_bit(NILFS_I_INODE_DIRTY, &ii->i_state); in nilfs_update_inode() 636 if (!test_bit(NILFS_I_BMAP, &ii->i_state)) in nilfs_truncate_bmap() [all …]
|
D | segment.c | 450 if (test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_segctor_end_finfo() 731 } else if (test_bit(NILFS_I_DIRTY, &ii->i_state)) { in nilfs_dispose_list() 732 set_bit(NILFS_I_QUEUED, &ii->i_state); in nilfs_dispose_list() 867 if (test_bit(NILFS_I_BMAP, &ii->i_state)) { in nilfs_fill_in_file_bmap() 883 set_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_segctor_fill_in_file_bmap() 916 if (test_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_redirty_inodes() 917 clear_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_redirty_inodes() 926 if (!test_and_clear_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_drop_collected_inodes() 929 clear_bit(NILFS_I_INODE_DIRTY, &ii->i_state); in nilfs_drop_collected_inodes() 930 set_bit(NILFS_I_UPDATED, &ii->i_state); in nilfs_drop_collected_inodes() [all …]
|
D | ifile.c | 176 if (!(ifile->i_state & I_NEW)) in nilfs_ifile_read()
|
D | mdt.c | 369 set_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty() 372 return test_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
|
D | nilfs.h | 40 unsigned long i_state; /* Dynamic state flags */ member
|
/linux-2.6.39/include/linux/ |
D | writeback.h | 74 wait_on_bit(&inode->i_state, __I_NEW, inode_wait, TASK_UNINTERRUPTIBLE); in wait_on_inode() 79 wait_on_bit(&inode->i_state, __I_SYNC, inode_wait, in inode_sync_wait()
|
/linux-2.6.39/fs/jfs/ |
D | file.c | 36 if (!(inode->i_state & I_DIRTY) || in jfs_fsync() 37 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
|
D | inode.c | 43 if (!(inode->i_state & I_NEW)) in jfs_iget()
|
/linux-2.6.39/fs/coda/ |
D | cnode.c | 71 if (inode->i_state & I_NEW) { in coda_iget() 153 BUG_ON(inode->i_state & I_NEW); in coda_fid_to_inode()
|
/linux-2.6.39/fs/notify/ |
D | inode_mark.c | 258 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) { in fsnotify_unmount_inodes() 288 if (!(next_i->i_state & (I_FREEING | I_WILL_FREE))) { in fsnotify_unmount_inodes()
|
/linux-2.6.39/fs/ext2/ |
D | ext2.h | 22 __u16 i_state; member
|
D | inode.c | 1303 if (!(inode->i_state & I_NEW)) in ext2_iget() 1353 ei->i_state = 0; in ext2_iget() 1431 if (ei->i_state & EXT2_STATE_NEW) in __ext2_write_inode() 1514 ei->i_state &= ~EXT2_STATE_NEW; in __ext2_write_inode()
|
/linux-2.6.39/fs/xfs/linux-2.6/ |
D | xfs_iops.c | 82 if (!(inode->i_state & (I_WILL_FREE|I_FREEING))) in xfs_mark_inode_dirty_sync() 92 if (!(inode->i_state & (I_WILL_FREE|I_FREEING))) in xfs_mark_inode_dirty() 709 inode->i_state = I_NEW; in xfs_setup_inode()
|
/linux-2.6.39/fs/afs/ |
D | inode.c | 171 BUG_ON(!(inode->i_state & I_NEW)); in afs_iget_autocell() 225 if (!(inode->i_state & I_NEW)) { in afs_iget()
|
/linux-2.6.39/fs/freevxfs/ |
D | vxfs_inode.c | 302 if (!(ip->i_state & I_NEW)) in vxfs_iget()
|
/linux-2.6.39/fs/sysfs/ |
D | inode.c | 306 if (inode && (inode->i_state & I_NEW)) in sysfs_get_inode()
|
/linux-2.6.39/fs/efs/ |
D | inode.c | 62 if (!(inode->i_state & I_NEW)) in efs_iget()
|
/linux-2.6.39/fs/logfs/ |
D | inode.c | 88 if (!(inode->i_state & I_NEW)) in __logfs_iget()
|
/linux-2.6.39/fs/hpfs/ |
D | dir.c | 235 if (result->i_state & I_NEW) { in hpfs_lookup()
|
/linux-2.6.39/fs/jffs2/ |
D | fs.c | 257 if (!(inode->i_state & I_NEW)) in jffs2_iget() 364 if (!(inode->i_state & I_DIRTY_DATASYNC)) { in jffs2_dirty_inode()
|