函数逻辑报告 |
Source Code:fs\fhandle.c |
Create Date:2022-07-29 11:06:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_handle_open
函数原型:static long do_handle_open(int mountdirfd, struct file_handle __user *ufh, int open_flag)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
int | mountdirfd | |
struct file_handle __user * | ufh | |
int | open_flag |
218 | retval等于0 |
223 | retval等于handle_to_path(mountdirfd, ufh, & path) |
227 | fd等于get_unused_fd_flags(open_flag) |
228 | 如果fd小于0则 |
230 | 返回:fd |
232 | file等于file_open_root(dentry, mnt, "", open_flag, 0) |
233 | 如果是错误则 |
234 | put_unused_fd(fd) |
236 | 否则 |
242 | 返回:retval |
名称 | 描述 |
---|---|
SYSCALL_DEFINE3 | sys_open_by_handle_at: Open the file handle*@mountdirfd: directory file descriptor*@handle: file handle to be opened*@flags: open flags.*@mountdirfd indicate the directory file descriptor* of the mount point. file handle is decoded relative |
COMPAT_SYSCALL_DEFINE3 | Exactly like fs/open.c:sys_open_by_handle_at(), except that it* doesn't set the O_LARGEFILE flag. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |