Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_poll_wake
Proto:static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, void *key)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct wait_queue_entry * | wait | |
| unsigned | mode | |
| int | sync | |
| void * | key |
| 2653 | mask = key_to_poll(key) |
| 2668 | If mask && spin_trylock_irqsave( & completion_lock, flags) Then |
| 2672 | io_poll_complete(req, mask, 0) |
| 2673 | trigger_ev = io_should_trigger_evfd(ctx) |
| 2674 | If trigger_ev && eventfd_signal_count() Then |
| 2675 | trigger_ev = false |
| 2676 | func = io_poll_trigger_evfd |
| 2677 | Else |
| 2682 | spin_unlock_irqrestore( & completion_lock, flags) |
| 2683 | __io_cqring_ev_posted(ctx, trigger_ev) |
| 2684 | Else |
| 2685 | io_queue_async_work(req) |
| 2688 | Return 1 |
| 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 |