函数逻辑报告 |
Source Code:fs\eventpoll.c |
Create Date:2022-07-29 10:50:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ep_poll_safewake
函数原型:static void ep_poll_safewake(wait_queue_head_t *wq)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| wait_queue_head_t * | wq |
| 561 | local_irq_save(flags) |
| 562 | 禁止抢占() |
| 564 | spin_lock_nested( & lock, subclass + 1) |
| 565 | __this_cpu_inc(As described in commit 0ccf831cb lockdep: annotate epoll* the use of wait queues used by epoll is done in a very controlled* manner) |
| 566 | wake_up_locked_poll(wq, POLLIN) |
| 567 | __this_cpu_dec(As described in commit 0ccf831cb lockdep: annotate epoll* the use of wait queues used by epoll is done in a very controlled* manner) |
| 568 | 自旋锁解锁 |
| 569 | local_irq_restore(flags) |
| 570 | 禁用抢占和中断() |
| 名称 | 描述 |
|---|---|
| ep_free | |
| ep_poll_callback | This is the callback that is passed to the wait queue wakeup* mechanism |
| ep_insert | Must be called with "mtx" held. |
| ep_modify | 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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |