函数逻辑报告 |
Source Code:fs\namei.c |
Create Date:2022-07-29 10:34:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:filename_lookup
函数原型:int filename_lookup(int dfd, struct filename *name, unsigned flags, struct path *path, struct path *root)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | dfd | |
struct filename * | name | |
unsigned | flags | |
struct path * | path | |
struct path * | root |
2330 | 如果此条件成立可能性小(为编译器优化)(root)则 |
2332 | flags或等于LOOKUP_ROOT |
2334 | set_nameidata( & nd, dfd, name) |
2336 | 如果此条件成立可能性小(为编译器优化)(retval == - ECHILD)则retval等于Returns 0 and nd will be valid on success; Retuns error, otherwise. |
2338 | 如果此条件成立可能性小(为编译器优化)(retval == - ESTALE)则retval等于Returns 0 and nd will be valid on success; Retuns error, otherwise. |
2341 | 如果此条件成立可能性大(为编译器优化)(!retval)则audit_inode(name, dentry, 0) |
2343 | restore_nameidata() |
2345 | 返回:retval |
名称 | 描述 |
---|---|
kern_path | |
vfs_path_lookup | vfs_path_lookup - lookup a file path relative to a dentry-vfsmount pair*@dentry: pointer to dentry of the base directory*@mnt: pointer to vfs mount of the base directory*@name: pointer to file name*@flags: lookup flags*@path: pointer to struct path to fill |
user_path_at_empty | |
fs_lookup_param | s_lookup_param - Look up a path referred to by a parameter*@fc: The filesystem context to log errors through.*@param: The parameter.*@want_bdev: T if want a blockdev*@_path: The result of the lookup |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |