函数逻辑报告 |
Source Code:fs\eventpoll.c |
Create Date:2022-07-29 10:50:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ep_send_events_proc
函数原型:static __poll_t ep_send_events_proc(struct eventpoll *ep, struct list_head *head, void *priv)
返回类型:__poll_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct eventpoll * | ep | |
| struct list_head * | head | |
| void * | priv |
| 1690 | init_poll_funcptr( & pt, NULL) |
| 1691 | res等于0 |
| 1714 | 如果ws则 |
| 1717 | __pm_relax(ws) |
| 1720 | 删除链表项并重新初始化 |
| 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 | 如果非revents则继续下一循环 |
| 1740 | res自加 |
| 1741 | uevent自加 |
| 1742 | 如果events按位与Set the One Shot behaviour for the target file descriptor 则events与等于Epoll private bits inside the event mask |
| 1756 | 添加链表项 |
| 1761 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |