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:clear an inode

Proto:void clear_inode(struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct inode *inode
527  xa_lock_irq( & i_pages)
528  BUG_ON(nrpages)
529  BUG_ON(nrexceptional)
530  xa_unlock_irq( & i_pages)
531  BUG_ON(!list_empty - tests whether a list is empty*@head: the list to test.)
532  BUG_ON(!(Misc & Set when inode is about to be freed but still has dirty pages or buffers attached or the inode itself is still dirty))
533  BUG_ON(Misc & Added by clear_inode())
534  BUG_ON(!list_empty - tests whether a list is empty*@head: the list to test.)
536  Misc = Set when inode is about to be freed but still has dirty pages or buffers attached or the inode itself is still dirty | Added by clear_inode()
Caller
NameDescribe
evictFree the inode passed in, removing it from the lists it is still connected* to
nsfs_evict
bdev_evict_inode
bm_evict_inode