函数逻辑报告 |
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 |
函数名称:shrink_dentry_list
函数原型:void shrink_dentry_list(struct list_head *list)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct list_head * | list |
| 1104 | 加自旋锁 |
| 1106 | 如果非Lock a dentry from shrink list则 |
| 1107 | bool can_free = false |
| 1109 | d_shrink_del(dentry) |
| 1110 | 如果count小于0则can_free等于 protected by d_lock 按位与DCACHE_MAY_FREE |
| 1112 | 自旋锁解锁 |
| 1113 | 如果can_free则dentry_free(dentry) |
| 1115 | 继续下一循环 |
| 1118 | d_shrink_del(dentry) |
| 1119 | parent等于 parent directory |
| 1120 | 如果parent不等于dentry则__dput_to_list(parent, list) |
| 1122 | __dentry_kill(dentry) |
| 名称 | 描述 |
|---|---|
| prune_dcache_sb | prune_dcache_sb - shrink the dcache*@sb: superblock*@sc: shrink control, passed to list_lru_shrink_walk()* Attempt to shrink the superblock dcache LRU by @sc->nr_to_scan entries |
| shrink_dcache_sb | 缩小一个超级块的数据缓存 |
| shrink_dcache_parent | 收缩高速缓存区 |
| mntput_no_expire | |
| namespace_unlock |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |