函数逻辑报告 | 
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 | 
函数名称:lock_parent
函数原型:static inline struct dentry *lock_parent(struct dentry *dentry)
返回类型:struct dentry
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct dentry * | dentry | 
| 627 | parent等于 parent directory | 
| 628 | 如果linux/include/linux/dcache.h* Dirent cache data structures* (C) Copyright 1997 Thomas Schoebel-Theuer,* with heavy changes by Linus Torvalds(dentry)则返回:NULL | 
| 630 | 如果此条件成立可能性大(为编译器优化)(spin_trylock( & d_lock))则返回:parent | 
| 632 | 返回:__lock_parent(dentry) | 
| 名称 | 描述 | 
|---|---|
| dentry_kill | Finish off a dentry we've decided to kill.* Returns dentry requiring refcount drop, or NULL if we're done. | 
| d_prune_aliases | Try to kill dentries associated with this inode.* WARNING: you must own a reference to inode. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |