Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-28 20:07:55
Last Modify:2020-03-18 19:19:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Add inode to LRU if needed (inode is unused and clean).* Needs inode->i_lock held.

Proto:void inode_add_lru(struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct inode *inode
439  If Not (Misc & ( I_DIRTY_ALL | Writeback of inode is running | Set when inode is about to be freed but still has dirty pages or buffers attached or the inode itself is still dirty | Must be set when calling write_inode_now() if i_count is zero)) && Not atomic_read( & i_count) && s_flags & SB_ACTIVE Then inode_lru_list_add(inode)
Caller
NameDescribe
iput_finalCalled when we're dropping the last reference* to an inode
inode_sync_complete