Home
last modified time | relevance | path

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

1234

/linux-2.6.39/fs/
Dinode.c472 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 …]
Dfs-writeback.c232 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 …]
Ddrop_caches.c23 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
Danon_inodes.c206 inode->i_state = I_DIRTY; in anon_inode_mkinode()
/linux-2.6.39/fs/nilfs2/
Dmdt.h100 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()
Dinode.c313 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 …]
Dsegment.c450 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 …]
Difile.c176 if (!(ifile->i_state & I_NEW)) in nilfs_ifile_read()
Dmdt.c369 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()
Dnilfs.h40 unsigned long i_state; /* Dynamic state flags */ member
/linux-2.6.39/include/linux/
Dwriteback.h74 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/
Dfile.c36 if (!(inode->i_state & I_DIRTY) || in jfs_fsync()
37 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
Dinode.c43 if (!(inode->i_state & I_NEW)) in jfs_iget()
/linux-2.6.39/fs/coda/
Dcnode.c71 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/
Dinode_mark.c258 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/
Dext2.h22 __u16 i_state; member
Dinode.c1303 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/
Dxfs_iops.c82 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/
Dinode.c171 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/
Dvxfs_inode.c302 if (!(ip->i_state & I_NEW)) in vxfs_iget()
/linux-2.6.39/fs/sysfs/
Dinode.c306 if (inode && (inode->i_state & I_NEW)) in sysfs_get_inode()
/linux-2.6.39/fs/efs/
Dinode.c62 if (!(inode->i_state & I_NEW)) in efs_iget()
/linux-2.6.39/fs/logfs/
Dinode.c88 if (!(inode->i_state & I_NEW)) in __logfs_iget()
/linux-2.6.39/fs/hpfs/
Ddir.c235 if (result->i_state & I_NEW) { in hpfs_lookup()
/linux-2.6.39/fs/jffs2/
Dfs.c257 if (!(inode->i_state & I_NEW)) in jffs2_iget()
364 if (!(inode->i_state & I_DIRTY_DATASYNC)) { in jffs2_dirty_inode()

1234