函数逻辑报告 |
Source Code:fs\dcache.c |
Create Date:2022-07-29 10:37:27 |
Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:retain_dentry
函数原型:static inline bool retain_dentry(struct dentry *dentry)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry |
637 | WARN_ON(d_in_lookup(dentry)) |
640 | 如果此条件成立可能性小(为编译器优化)(目录项存在于哈希中)则返回:false |
643 | 如果此条件成立可能性小(为编译器优化)( protected by d_lock & DCACHE_DISCONNECTED)则返回:false |
646 | 如果此条件成立可能性小(为编译器优化)( protected by d_lock & DCACHE_OP_DELETE)则 |
651 | count自减 |
652 | 如果此条件成立可能性小(为编译器优化)(!( protected by d_lock & DCACHE_LRU_LIST))则d_lru_add(dentry) |
654 | 否则如果此条件成立可能性小(为编译器优化)(!( protected by d_lock & Recently used, don't discard. ))则 protected by d_lock 或等于Recently used, don't discard. |
656 | 返回:true |
名称 | 描述 |
---|---|
dentry_kill | Finish off a dentry we've decided to kill.* Returns dentry requiring refcount drop, or NULL if we're done. |
dput | dput - release a dentry*@dentry: dentry to release * Release a dentry. This will drop the usage count and if appropriate* call the dentry unlink method as well as removing it from the queues and* releasing its resources |
dput_to_list |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |