Home
last modified time | relevance | path

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

1234

/fs/
Dfs-writeback.c211 inode->i_state &= ~I_SYNC; in inode_sync_complete()
216 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()
351 wait_queue_head_t *wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_sleep_on_writeback()
355 sleep = inode->i_state & I_SYNC; in inode_sleep_on_writeback()
373 if (inode->i_state & I_FREEING) in requeue_inode()
381 if ((inode->i_state & I_DIRTY) && in requeue_inode()
412 } else if (inode->i_state & I_DIRTY) { in requeue_inode()
[all …]
Dinode.c418 if (!(inode->i_state & (I_DIRTY | I_SYNC | I_FREEING | I_WILL_FREE)) && in inode_add_lru()
514 BUG_ON(!(inode->i_state & I_FREEING)); in clear_inode()
515 BUG_ON(inode->i_state & I_CLEAR); in clear_inode()
517 inode->i_state = I_FREEING | I_CLEAR; in clear_inode()
538 BUG_ON(!(inode->i_state & I_FREEING)); in evict()
569 wake_up_bit(&inode->i_state, __I_NEW); in evict()
570 BUG_ON(inode->i_state != (I_FREEING | I_CLEAR)); in evict()
615 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in evict_inodes()
620 inode->i_state |= I_FREEING; in evict_inodes()
649 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in invalidate_inodes()
[all …]
Ddrop_caches.c23 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
Danon_inodes.c78 inode->i_state = I_DIRTY; in anon_inode_mkinode()
Dblock_dev.c67 if (inode->i_state & I_DIRTY) in bdev_inode_switch_bdi()
523 if (inode->i_state & I_NEW) { in bdget()
1690 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW) || in iterate_bdevs()
/fs/nilfs2/
Dinode.c364 ii->i_state = 1 << NILFS_I_NEW; in nilfs_new_inode()
382 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_new_inode()
476 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_read_inode_common()
543 if (!test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_iget_test()
555 NILFS_I(inode)->i_state = 1 << NILFS_I_GCINODE; in nilfs_iget_set()
595 if (!(inode->i_state & I_NEW)) in nilfs_iget()
619 if (!(inode->i_state & I_NEW)) in nilfs_iget_for_gc()
678 if (test_and_clear_bit(NILFS_I_NEW, &ii->i_state)) in nilfs_update_inode()
680 set_bit(NILFS_I_INODE_DIRTY, &ii->i_state); in nilfs_update_inode()
697 if (!test_bit(NILFS_I_BMAP, &ii->i_state)) in nilfs_truncate_bmap()
[all …]
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()
Dsegment.c453 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()
919 if (test_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_redirty_inodes()
920 clear_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_redirty_inodes()
929 if (!test_and_clear_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_drop_collected_inodes()
932 clear_bit(NILFS_I_INODE_DIRTY, &ii->i_state); in nilfs_drop_collected_inodes()
933 set_bit(NILFS_I_UPDATED, &ii->i_state); in nilfs_drop_collected_inodes()
[all …]
Difile.c180 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.h53 unsigned long i_state; /* Dynamic state flags */ member
/fs/coda/
Dcnode.c71 if (inode->i_state & I_NEW) { in coda_iget()
150 BUG_ON(inode->i_state & I_NEW); in coda_fid_to_inode()
/fs/jfs/
Dfile.c41 if (!(inode->i_state & I_DIRTY) || in jfs_fsync()
42 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
Dinode.c44 if (!(inode->i_state & I_NEW)) in jfs_iget()
/fs/notify/
Dinode_mark.c264 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) { in fsnotify_unmount_inodes()
294 if (!(next_i->i_state & (I_FREEING | I_WILL_FREE))) { in fsnotify_unmount_inodes()
/fs/afs/
Dinode.c172 BUG_ON(!(inode->i_state & I_NEW)); in afs_iget_autocell()
226 if (!(inode->i_state & I_NEW)) { in afs_iget()
/fs/ext2/
Dinode.c1320 if (!(inode->i_state & I_NEW)) in ext2_iget()
1372 ei->i_state = 0; in ext2_iget()
1450 if (ei->i_state & EXT2_STATE_NEW) in __ext2_write_inode()
1533 ei->i_state &= ~EXT2_STATE_NEW; in __ext2_write_inode()
/fs/ecryptfs/
Dinode.c107 if (!(inode->i_state & I_NEW)) in __ecryptfs_get_inode()
118 if (!IS_ERR(inode) && (inode->i_state & I_NEW)) in ecryptfs_get_inode()
386 if (inode->i_state & I_NEW) in ecryptfs_lookup_interpose()
/fs/freevxfs/
Dvxfs_inode.c302 if (!(ip->i_state & I_NEW)) in vxfs_iget()
/fs/jffs2/
Dfs.c264 if (!(inode->i_state & I_NEW)) in jffs2_iget()
374 if (!(inode->i_state & I_DIRTY_DATASYNC)) { in jffs2_dirty_inode()
/fs/sysfs/
Dinode.c295 if (inode && (inode->i_state & I_NEW)) in sysfs_get_inode()
/fs/sdcardfs/
Dlookup.c115 if (!(inode->i_state & I_NEW)) { in sdcardfs_iget()
/fs/efs/
Dinode.c62 if (!(inode->i_state & I_NEW)) in efs_iget()
/fs/proc/
Dnamespaces.c93 if (inode->i_state & I_NEW) { in proc_ns_get_dentry()
/fs/logfs/
Dinode.c88 if (!(inode->i_state & I_NEW)) in __logfs_iget()

1234