Function report |
Source Code:fs\eventpoll.c |
Create Date:2022-07-28 20:19:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:p_scan_ready_list - Scans the ready list in a way that makes possible for* the scan code, to call f_op->poll(). Also allows for* O(NumReady) performance.*@ep: Pointer to the epoll private data structure.*@sproc: Pointer to the scan callback.
Proto:static __poll_t ep_scan_ready_list(struct eventpoll *ep, __poll_t (*sproc)(struct eventpoll *, struct list_head *, void *), void *priv, int depth, bool ep_locked)
Type:__poll_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct eventpoll * | ep | |
| __poll_t (* | sproc | |
| void * | priv | |
| int | depth | |
| bool | ep_locked |
| 692 | WRITE_ONCE(* This is a single linked list that chains all the "struct epitem" that * happened while transferring ready events to userspace w/out * holding ->lock., NULL) |
| 714 | If Not Tells us if the item is currently linked Then |
| 728 | WRITE_ONCE(* This is a single linked list that chains all the "struct epitem" that * happened while transferring ready events to userspace w/out * holding ->lock., EP_UNACTIVE_PTR) |
| 740 | Return res |
| Name | Describe |
|---|---|
| ep_item_poll | 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. |
| ep_eventpoll_poll | |
| ep_send_events |
| 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 |