| 40 | } |
| 41 | |
| 42 | static inline bool cq_ring_needs_flush(struct io_uring *ring) |
| 43 | { |
| 44 | return IO_URING_READ_ONCE(*ring->sq.kflags) & |
| 45 | (IORING_SQ_CQ_OVERFLOW | IORING_SQ_TASKRUN); |
| 46 | } |
| 47 | |
| 48 | static inline bool cq_ring_needs_enter(struct io_uring *ring) |
| 49 | { |
no outgoing calls
no test coverage detected