函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-29 10:38:02
Last Modify:2020-03-18 19:19:59 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:清除索引节点

函数原型:void clear_inode(struct inode *inode)

返回类型:void

参数:

类型参数名称
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(!链表为空)
532  BUG_ON(!(Misc & I_FREEING))
533  BUG_ON(Misc & I_CLEAR)
534  BUG_ON(!链表为空)
536  Misc 等于I_FREEING按位或I_CLEAR
调用者
名称描述
evictFree the inode passed in, removing it from the lists it is still connected* to
nsfs_evict
bdev_evict_inode
bm_evict_inode