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:Modify the interest event mask by dropping an event if the new mask* has a match in the current file status. Must be called with "mtx" held.
Proto:static int ep_modify(struct eventpoll *ep, struct epitem *epi, const struct epoll_event *event)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct eventpoll * | ep | |
| struct epitem * | epi | |
| const struct epoll_event * | event | 
| 1611 | pwake = 0 | 
| 1614 | lockdep_assert_irqs_enabled() | 
| 1616 | init_poll_funcptr( & pt, NULL) | 
| 1626 | If Not ep_has_wakeup_source(epi) Then ep_create_wakeup_source(epi) | 
| 1628 | Else if ep_has_wakeup_source(epi) Then | 
| 1650 | smp_mb() | 
| 1660 | If Not Tells us if the item is currently linked Then | 
| 1674 | If pwake Then ep_poll_safewake( & Wait queue used by file->poll() ) | 
| 1677 | Return 0 | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE4 | The following function implements the controller interface for* the eventpoll file that enables the insertion/removal/change of* file descriptors inside the interest set. | 
| 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  |