函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-29 10:37:28
Last Modify:2020-03-18 10:27:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Try to kill dentries associated with this inode.* WARNING: you must own a reference to inode.

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

返回类型:void

参数:

类型参数名称
struct inode *inode
1026  restart :
1027  加自旋锁
1029  加自旋锁
1030  如果非count
1031  parent等于lock_parent(dentry)
1035  转到:restart
1037  如果parent自旋锁解锁
1040  自旋锁解锁
1042  自旋锁解锁
调用者
名称描述
shrink_dcache_inodeTry to evict the inode's dentries from the dentry cache. If the inode is a* directory, then it can have at most one dentry; however, that dentry may be* pinned by child dentries, so first try to evict the children too.