Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_uring_poll
Proto:static __poll_t io_uring_poll(struct file *file, poll_table *wait)
Type:__poll_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| poll_table * | wait |
| 4972 | mask = 0 |
| 4979 | smp_rmb() |
| 4980 | If READ_ONCE(tail) - cached_sq_head != Ring sizes (constant, power of 2) Then mask |= EPOLLOUT | EPOLLWRNORM |
| 4983 | If io_cqring_events(ctx, false) Then mask |= Epoll event masks | EPOLLRDNORM |
| 4986 | Return mask |
| 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 |