Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Returns true if there are no backlogged entries after the flush
Proto:static bool io_cqring_overflow_flush(struct io_ring_ctx *ctx, bool force)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_ring_ctx * | ctx | |
| bool | force |
| 772 | If Not force Then |
| 775 | If cached_cq_tail - READ_ONCE(head) == Ring sizes (constant, power of 2) Then Return false |
| 780 | spin_lock_irqsave( & completion_lock, flags) |
| 783 | If force Then cq_overflow_flushed = true |
| 786 | cqe = NULL |
| 788 | cqe = io_get_cqring(ctx) |
| 795 | If cqe Then |
| 798 | WRITE_ONCE(flags, 0) |
| 799 | Else |
| 805 | io_commit_cqring(ctx) |
| 806 | spin_unlock_irqrestore( & completion_lock, flags) |
| 807 | io_cqring_ev_posted(ctx) |
| 812 | io_put_req(req) |
| 815 | Return cqe != NULL |
| Name | Describe |
|---|---|
| io_cqring_events | |
| io_submit_sqes | |
| io_ring_ctx_wait_and_kill | |
| SYSCALL_DEFINE6 |
| 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 |