Function report |
Source Code:fs\eventpoll.c |
Create Date:2022-07-28 20:19:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ep_send_events_proc
Proto:static __poll_t ep_send_events_proc(struct eventpoll *ep, struct list_head *head, void *priv)
Type:__poll_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct eventpoll * | ep | |
| struct list_head * | head | |
| void * | priv |
| 1690 | init_poll_funcptr( & pt, NULL) |
| 1691 | res = 0 |
| 1713 | ws = all only when ep->mtx is held |
| 1714 | If ws Then |
| 1717 | __pm_relax(ws) |
| 1728 | revents = Differs from ep_eventpoll_poll() in that internal callers already have* the ep->mtx so we need to start from depth=1, such that mutex_lock_nested()* is correctly annotated. |
| 1729 | If Not revents Then Continue |
| 1738 | Return 0 |
| 1740 | res++ |
| 1741 | uevent++ |
| 1742 | If events & Set the One Shot behaviour for the target file descriptor Then events &= Epoll private bits inside the event mask |
| 1744 | Else if Not (events & Set the Edge Triggered behaviour for the target file descriptor ) Then |
| 1761 | Return 0 |
| 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 |