函数逻辑报告 |
Source Code:fs\dcache.c |
Create Date:2022-07-29 10:37:33 |
Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__d_lookup - search for a dentry (racy)*@parent: parent dentry*@name: qstr of name we wish to find* Returns: dentry, or NULL* __d_lookup is like d_lookup, however it may (rarely) return a* false-negative result due to unrelated rename activity
函数原型:struct dentry *__d_lookup(const struct dentry *parent, const struct qstr *name)
返回类型:struct dentry
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct dentry * | parent | |
const struct qstr * | name |
2374 | 加自旋锁 |
2375 | 如果 parent directory 不等于parent则转到:next |
2380 | 如果非d_same_name(dentry, parent, name)则转到:next |
2383 | count自加 |
2385 | 自旋锁解锁 |
2386 | 退出 |
2387 | next : |
2388 | 自旋锁解锁 |
2392 | 返回:found |
名称 | 描述 |
---|---|
d_lookup | 查找目录项 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |