Function report |
Source Code:fs\eventpoll.c |
Create Date:2022-07-28 20:19:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Implement the event wait interface for the eventpoll file. It is the kernel* part of the user space epoll_wait(2).
Proto:static int do_epoll_wait(int epfd, struct epoll_event __user *events, int maxevents, int timeout)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | epfd | |
| struct epoll_event __user * | events | |
| int | maxevents | |
| int | timeout |
| 2246 | If maxevents <= 0 || maxevents > EP_MAX_EVENTS Then Return -EINVAL |
| 2263 | If Not is_file_epoll(file) Then Go to error_fput |
| 2275 | error_fput : |
| 2277 | Return error |
| Name | Describe |
|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |