函数逻辑报告 |
Source Code:fs\dcache.c |
Create Date:2022-07-29 10:37:28 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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) |
| 1032 | 如果此条件成立可能性大(为编译器优化)(!count)则 |
| 1033 | __dentry_kill(dentry) |
| 1035 | 转到:restart |
| 1040 | 自旋锁解锁 |
| 1042 | 自旋锁解锁 |
| 名称 | 描述 |
|---|---|
| shrink_dcache_inode | Try 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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |