函数逻辑报告 |
Source Code:fs\dcache.c |
Create Date:2022-07-29 10:37:31 |
Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:废除目录项
函数原型:void d_invalidate(struct dentry *dentry)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry |
1645 | bool had_submounts = false |
1646 | 加自旋锁 |
1647 | 如果目录项存在于哈希中则 |
1648 | 自旋锁解锁 |
1649 | 返回 |
1651 | 删除目录项 |
1652 | 自旋锁解锁 |
1655 | 如果非 Where the name belongs to - NULL is * negative 则返回 |
1658 | 收缩高速缓存区 |
1659 | 循环 |
1662 | 如果非victim则 |
1663 | 如果had_submounts则收缩高速缓存区 |
1665 | 返回 |
1667 | had_submounts = true |
1668 | detach_mounts(victim) |
名称 | 描述 |
---|---|
lookup_fast | |
__lookup_slow | Fast lookup failed, do it the slow way |
lookup_open | Look up and maybe create and open the last component |
lookup_dcache | This looks up the name in dcache and possibly revalidates the found dentry.* NULL is returned if the dentry does not exist in the cache. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |