函数逻辑报告 |
Source Code:fs\open.c |
Create Date:2022-07-29 10:31:02 |
Last Modify:2020-03-18 10:16:03 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_sys_open
函数原型:long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
int | dfd | |
const char __user * | filename | |
int | flags | |
umode_t | mode |
1085 | fd等于build_open_flags(flags, mode, & op) |
1095 | fd等于get_unused_fd_flags(flags) |
1096 | 如果fd大于等于0则 |
1097 | f等于do_filp_open(dfd, tmp, & op) |
1098 | 如果是错误则 |
1099 | put_unused_fd(fd) |
1101 | 否则 |
1103 | fd_install(fd, f) |
1107 | 返回:fd |
名称 | 描述 |
---|---|
SYSCALL_DEFINE3 | |
SYSCALL_DEFINE4 | |
COMPAT_SYSCALL_DEFINE3 | Exactly like sys_open(), except that it doesn't set the* O_LARGEFILE flag. |
COMPAT_SYSCALL_DEFINE4 | Exactly like sys_openat(), except that it doesn't set the* O_LARGEFILE flag. |
ksys_open |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |