Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/
H A Dinode.c445 I_FREEING | I_WILL_FREE)) && in inode_add_lru()
461 WARN_ON(inode->i_state & (I_LRU_ISOLATING | I_FREEING | I_WILL_FREE)); in inode_pin_lru_isolating()
570 BUG_ON(!(inode->i_state & I_FREEING)); in clear_inode()
574 inode->i_state = I_FREEING | I_CLEAR; in clear_inode()
583 * An inode must already be marked I_FREEING so that we avoid the inode being
588 * the cache. This should occur atomically with setting the I_FREEING state
595 BUG_ON(!(inode->i_state & I_FREEING)); in evict()
608 * the inode has I_FREEING set, flusher thread won't start new work on in evict()
628 BUG_ON(inode->i_state != (I_FREEING | I_CLEAR)); in evict()
675 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FRE in evict_inodes()
[all...]
H A Ddrop_caches.c29 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
H A Dfs-writeback.c392 * Once I_FREEING is visible under i_lock, the eviction path owns in inode_switch_wbs_work_fn()
395 if (unlikely(inode->i_state & I_FREEING)) in inode_switch_wbs_work_fn()
527 inode->i_state & (I_WB_SWITCH | I_FREEING) || in inode_switch_wbs()
1397 if (inode->i_state & I_FREEING) in requeue_inode()
1551 WARN_ON(!(inode->i_state & (I_WILL_FREE|I_FREEING))); in writeback_single_inode()
1688 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in writeback_sb_inodes()
2299 if (inode->i_state & I_FREEING) in __mark_inode_dirty()
2410 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) { in wait_sb_inodes()
H A Dblock_dev.c2154 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW) || in iterate_bdevs()
/kernel/linux/linux-6.6/fs/
H A Dinode.c458 if (inode->i_state & (I_DIRTY_ALL | I_SYNC | I_FREEING | I_WILL_FREE)) in __inode_add_lru()
624 BUG_ON(!(inode->i_state & I_FREEING)); in clear_inode()
628 inode->i_state = I_FREEING | I_CLEAR; in clear_inode()
637 * An inode must already be marked I_FREEING so that we avoid the inode being
642 * the cache. This should occur atomically with setting the I_FREEING state
649 BUG_ON(!(inode->i_state & I_FREEING)); in evict()
660 * the inode has I_FREEING set, flusher thread won't start new work on in evict()
678 BUG_ON(inode->i_state != (I_FREEING | I_CLEAR)); in evict()
725 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in evict_inodes()
730 inode->i_state |= I_FREEING; in evict_inodes()
[all...]
H A Dfs-writeback.c124 WARN_ON_ONCE(inode->i_state & I_FREEING); in inode_io_list_move_locked()
284 WARN_ON_ONCE(inode->i_state & I_FREEING); in inode_cgwb_move_to_attached()
385 * Once I_FREEING or I_WILL_FREE are visible under i_lock, the eviction in inode_do_switch_wbs()
388 if (unlikely(inode->i_state & (I_FREEING | I_WILL_FREE))) in inode_do_switch_wbs()
540 inode->i_state & (I_WB_SWITCH | I_FREEING | I_WILL_FREE) || in inode_prepare_wbs_switch()
1156 WARN_ON_ONCE(inode->i_state & I_FREEING); in inode_cgwb_move_to_attached()
1328 if (inode->i_state & I_FREEING) { in redirty_tail_locked()
1541 if (inode->i_state & I_FREEING) in requeue_inode()
1706 * to the inode, or the inode must have I_WILL_FREE or I_FREEING set.
1716 WARN_ON(!(inode->i_state & (I_WILL_FREE|I_FREEING))); in writeback_single_inode()
[all...]
H A Ddrop_caches.c31 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
H A Ddcache.c1085 // used without having I_FREEING set, which means no aliases left in d_find_alias_rcu()
1086 if (likely(!(inode->i_state & I_FREEING) && !hlist_empty(l))) { in d_find_alias_rcu()
/kernel/linux/linux-6.6/fs/ext4/
H A 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()
/kernel/linux/linux-5.10/fs/notify/
H A Dfsnotify.c45 * We cannot __iget() an inode in state I_FREEING, in fsnotify_unmount_inodes()
50 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) { in fsnotify_unmount_inodes()
/kernel/linux/linux-6.6/fs/notify/
H A Dfsnotify.c45 * We cannot __iget() an inode in state I_FREEING, in fsnotify_unmount_inodes()
50 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) { in fsnotify_unmount_inodes()
/kernel/linux/linux-6.6/security/landlock/
H A Dfs.c948 * Checks I_FREEING and I_WILL_FREE to protect against a race in hook_sb_delete()
954 if (inode->i_state & (I_FREEING | I_WILL_FREE | I_NEW)) { in hook_sb_delete()
/kernel/linux/linux-5.10/include/trace/events/
H A Dwriteback.h19 {I_FREEING, "I_FREEING"}, \
/kernel/linux/linux-5.10/fs/crypto/
H A Dkeyring.c847 if (inode->i_state & (I_FREEING | I_WILL_FREE | I_NEW)) { in evict_dentries_for_decrypted_inodes()
/kernel/linux/linux-6.6/fs/crypto/
H A Dkeyring.c879 if (inode->i_state & (I_FREEING | I_WILL_FREE | I_NEW)) { in evict_dentries_for_decrypted_inodes()
/kernel/linux/linux-6.6/include/trace/events/
H A Dwriteback.h19 {I_FREEING, "I_FREEING"}, \
/kernel/linux/linux-6.6/block/
H A Dbdev.c1039 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW) || in sync_bdevs()
/kernel/linux/linux-6.6/include/linux/
H A Dfs.h2196 * until that flag is cleared. I_WILL_FREE, I_FREEING and I_CLEAR are set at
2221 * Inodes in I_WILL_FREE, I_FREEING or I_CLEAR state can
2226 * is zero. I_FREEING must be set when I_WILL_FREE is
2228 * I_FREEING Set when inode is about to be freed but still has dirty
2232 * clean and can be destroyed. Inode keeps I_FREEING.
2234 * Inodes that are I_WILL_FREE, I_FREEING or I_CLEAR are
2267 * Q: What is the difference between I_WILL_FREE and I_FREEING?
2275 #define I_FREEING (1 << 5) macro
2318 I_FREEING | I_WILL_FREE)) == I_DIRTY_TIME; in inode_is_dirtytime_only()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_bmap_util.c659 (VFS_I(ip)->i_state & I_FREEING)); in xfs_can_free_eofblocks()
/kernel/linux/linux-5.10/fs/ext4/
H A Dinode.c230 * the inode. Flush worker is ignoring it because of I_FREEING flag but in ext4_evict_inode()
4216 if (!(inode->i_state & (I_NEW|I_FREEING))) in ext4_truncate()
5117 if ((inode->i_state & (I_FREEING | I_WILL_FREE | I_NEW | in __ext4_update_other_inode_time()
5123 if (((inode->i_state & (I_FREEING | I_WILL_FREE | I_NEW | in __ext4_update_other_inode_time()
H A Dnamei.c3073 WARN_ON_ONCE(!(inode->i_state & (I_NEW | I_FREEING)) && in ext4_orphan_add()
3160 WARN_ON_ONCE(!(inode->i_state & (I_NEW | I_FREEING)) && in ext4_orphan_del()
/kernel/linux/linux-6.6/fs/gfs2/
H A Dops_fstype.c1763 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) && in gfs2_evict_inodes()
/kernel/linux/linux-5.10/fs/quota/
H A Ddquot.c1045 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in add_dquot_ref()
/kernel/linux/linux-5.10/include/linux/
H A Dfs.h2154 * until that flag is cleared. I_WILL_FREE, I_FREEING and I_CLEAR are set at
2170 * Inodes in I_WILL_FREE, I_FREEING or I_CLEAR state can
2175 * is zero. I_FREEING must be set when I_WILL_FREE is
2177 * I_FREEING Set when inode is about to be freed but still has dirty
2181 * clean and can be destroyed. Inode keeps I_FREEING.
2183 * Inodes that are I_WILL_FREE, I_FREEING or I_CLEAR are
2217 * Q: What is the difference between I_WILL_FREE and I_FREEING?
2225 #define I_FREEING (1 << 5) macro
/kernel/linux/linux-6.6/fs/quota/
H A Ddquot.c1043 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in add_dquot_ref()

Completed in 59 milliseconds

12