函数逻辑报告 |
Source Code:fs\eventpoll.c |
Create Date:2022-07-29 10:50:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static int ep_modify(struct eventpoll *ep, struct epitem *epi, const struct epoll_event *event)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| 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 | 如果非ep_has_wakeup_source(epi)则ep_create_wakeup_source(epi) |
| 1628 | 否则如果ep_has_wakeup_source(epi)则 |
| 1650 | smp_mb() |
| 1660 | 如果非Tells us if the item is currently linked 则 |
| 1674 | 如果pwake则ep_poll_safewake( & Wait queue used by file->poll() ) |
| 1677 | 返回:0 |
| 名称 | 描述 |
|---|---|
| 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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |