函数逻辑报告 |
Source Code:fs\eventpoll.c |
Create Date:2022-07-29 10:51:03 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Implement the event wait interface for the eventpoll file. It is the kernel* part of the user space epoll_wait(2).
函数原型:static int do_epoll_wait(int epfd, struct epoll_event __user *events, int maxevents, int timeout)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | epfd | |
| struct epoll_event __user * | events | |
| int | maxevents | |
| int | timeout |
| 2246 | 如果maxevents小于等于0或maxevents大于EP_MAX_EVENTS则返回:负EINVAL |
| 2263 | 如果非is_file_epoll(file)则转到:error_fput |
| 2275 | error_fput : |
| 2277 | 返回:error |
| 名称 | 描述 |
|---|---|
| SYSCALL_DEFINE4 | |
| SYSCALL_DEFINE6 | Implement the event wait interface for the eventpoll file. It is the kernel* part of the user space epoll_pwait(2). |
| COMPAT_SYSCALL_DEFINE6 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |