函数逻辑报告 |
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 |
函数名称:Finish off a dentry we've decided to kill.* Returns dentry requiring refcount drop, or NULL if we're done.
函数原型:static struct dentry *dentry_kill(struct dentry *dentry)__releases(dentry->d_lock)
返回类型:struct dentry
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | dentry | >d_lock must be held, returns with it unlocked. |
| 670 | 如果inode且此条件成立可能性小(为编译器优化)(!spin_trylock( & _blocks, i_bytes, maybe i_size ))则转到:slow_positive |
| 674 | parent等于 parent directory |
| 675 | 如果此条件成立可能性小(为编译器优化)(!spin_trylock( & d_lock))则 |
| 687 | 返回:parent |
| 689 | slow_positive : |
| 690 | 自旋锁解锁 |
| 691 | 加自旋锁 |
| 692 | 加自旋锁 |
| 694 | got_locks : |
| 695 | 如果此条件成立可能性小(为编译器优化)(count != 1)则 |
| 696 | count自减 |
| 706 | 自旋锁解锁 |
| 707 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |