函数逻辑报告 |
Source Code:fs\namei.c |
Create Date:2022-07-29 10:35:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_file_open_root
函数原型:struct file *do_file_open_root(struct dentry *dentry, struct vfsmount *mnt, const char *name, const struct open_flags *op)
返回类型:struct file
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | dentry | |
| struct vfsmount * | mnt | |
| const char * | name | |
| const struct open_flags * | op |
| 3521 | flags等于lookup_flags按位或LOOKUP_ROOT |
| 3526 | 如果d_is_symlink(dentry)且intent按位与... in open 则返回:错误号 |
| 3529 | filename等于getname_kernel(name) |
| 3533 | set_nameidata( & nd, - 1, filename) |
| 3534 | file等于path_openat( & nd, op, flags | RCU pathwalk mode; semi-internal ) |
| 3535 | 如果此条件成立可能性小(为编译器优化)(file == 错误号)则file等于path_openat( & nd, op, flags) |
| 3537 | 如果此条件成立可能性小(为编译器优化)(file == 错误号)则file等于path_openat( & nd, op, flags | ll ->d_revalidate() to trust no cache ) |
| 3539 | restore_nameidata() |
| 3541 | 返回:file |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |