Searched refs:I_FREEING (Results 1 - 17 of 17) sorted by relevance

/linux-4.1.27/fs/
H A Ddrop_caches.c23 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || drop_pagecache_sb()
H A Dinode.c408 I_FREEING | I_WILL_FREE)) && inode_add_lru()
501 BUG_ON(!(inode->i_state & I_FREEING)); clear_inode()
504 inode->i_state = I_FREEING | I_CLEAR; clear_inode()
513 * An inode must already be marked I_FREEING so that we avoid the inode being
518 * the cache. This should occur atomically with setting the I_FREEING state
525 BUG_ON(!(inode->i_state & I_FREEING)); evict()
536 * the inode has I_FREEING set, flusher thread won't start new work on evict()
556 BUG_ON(inode->i_state != (I_FREEING | I_CLEAR)); evict()
601 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { evict_inodes()
606 inode->i_state |= I_FREEING; evict_inodes()
635 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { invalidate_inodes()
650 inode->i_state |= I_FREEING; invalidate_inodes()
729 inode->i_state |= I_FREEING; inode_lru_isolate()
772 if (inode->i_state & (I_FREEING|I_WILL_FREE)) { hlist_for_each_entry()
799 if (inode->i_state & (I_FREEING|I_WILL_FREE)) { hlist_for_each_entry()
1176 if (!(inode->i_state & (I_FREEING|I_WILL_FREE))) { igrab()
1338 if (old->i_state & (I_FREEING|I_WILL_FREE)) { hlist_for_each_entry()
1381 if (old->i_state & (I_FREEING|I_WILL_FREE)) { hlist_for_each_entry()
1454 inode->i_state |= I_FREEING; iput_final()
H A Dfs-writeback.c426 if (inode->i_state & I_FREEING) requeue_inode()
580 WARN_ON(!(inode->i_state & (I_WILL_FREE|I_FREEING))); writeback_single_inode()
709 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { writeback_sb_inodes()
1312 if (inode->i_state & I_FREEING) __mark_inode_dirty()
1384 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || wait_sb_inodes()
H A Dblock_dev.c1777 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW) || iterate_bdevs()
/linux-4.1.27/fs/notify/
H A Dinode_mark.c180 * We cannot __iget() an inode in state I_FREEING, list_for_each_entry_safe()
185 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) { list_for_each_entry_safe()
214 if (!(next_i->i_state & (I_FREEING | I_WILL_FREE)) && list_for_each_entry_safe()
/linux-4.1.27/fs/logfs/
H A Dinode.c32 * harder. GC may have to read inodes that are in I_FREEING state, when they
36 * whether the inode in question might be in I_FREEING state. Therefore we
/linux-4.1.27/include/trace/events/
H A Dwriteback.h18 {I_FREEING, "I_FREEING"}, \
/linux-4.1.27/include/linux/
H A Dfs.h1780 * until that flag is cleared. I_WILL_FREE, I_FREEING and I_CLEAR are set at
1796 * Inodes in I_WILL_FREE, I_FREEING or I_CLEAR state can
1801 * is zero. I_FREEING must be set when I_WILL_FREE is
1803 * I_FREEING Set when inode is about to be freed but still has dirty
1807 * clean and can be destroyed. Inode keeps I_FREEING.
1809 * Inodes that are I_WILL_FREE, I_FREEING or I_CLEAR are
1824 * Q: What is the difference between I_WILL_FREE and I_FREEING?
1832 #define I_FREEING (1 << 5) macro
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dnamei.c136 } else if (!(inode->i_state & (I_FREEING | I_CLEAR))) ll_iget()
H A Dllite_lib.c1086 LDLM_DEBUG_LIMIT(inode->i_state & I_FREEING ? D_INFO : ll_inode_from_resource_lock()
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
H A Dmdc_locks.c138 LASSERTF(old_inode->i_state & I_FREEING, mdc_set_lock_data()
/linux-4.1.27/fs/gfs2/
H A Dinode.c53 inode->i_state & (I_FREEING|I_CLEAR|I_WILL_FREE)) { iget_test()
/linux-4.1.27/fs/ext4/
H A Dinode.c3784 if (!(inode->i_state & (I_NEW|I_FREEING))) ext4_truncate()
4388 (inode->i_state & (I_FREEING | I_WILL_FREE | I_NEW | other_inode_match()
4393 if (((inode->i_state & (I_FREEING | I_WILL_FREE | I_NEW | other_inode_match()
H A Dnamei.c2846 WARN_ON_ONCE(!(inode->i_state & (I_NEW | I_FREEING)) && ext4_orphan_add()
2928 WARN_ON_ONCE(!(inode->i_state & (I_NEW | I_FREEING)) && ext4_orphan_del()
/linux-4.1.27/fs/btrfs/
H A Dinode.c5018 ASSERT(inode->i_state & I_FREEING); evict_inode_truncate_pages()
5362 (I_WILL_FREE | I_FREEING))); inode_tree_add()
8496 int inode_evicting = inode->i_state & I_FREEING; btrfs_invalidatepage()
/linux-4.1.27/fs/quota/
H A Ddquot.c929 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || add_dquot_ref()
/linux-4.1.27/fs/reiserfs/
H A Dinode.c1592 * in iget() to return NULL if I_FREEING inode is found in reiserfs_read_locked_inode()

Completed in 392 milliseconds