函数逻辑报告 |
Source Code:fs\dcache.c |
Create Date:2022-07-29 10:37:30 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Called by mount code to set a mountpoint and check if the mountpoint is* reachable (e.g. NFS can unhash a directory dentry and then the complete* subtree can become unreachable).* Only one of d_invalidate() and d_set_mounted() must succeed. For
函数原型:int d_set_mounted(struct dentry *dentry)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | dentry |
| 1426 | 当前CPU负责更新时间 |
| 1436 | 加自旋锁 |
| 1437 | 如果非d_unlinked(dentry)则 |
| 1439 | 如果非d_mountpoint(dentry)则 |
| 1440 | protected by d_lock 或等于s a mountpoint |
| 1441 | ret等于0 |
| 1444 | 自旋锁解锁 |
| 1445 | out : |
| 1446 | write_sequnlock( & rename_lock) |
| 1447 | 返回:ret |
| 名称 | 描述 |
|---|---|
| get_mountpoint |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |