Branch Coverage

libev/ev_iouring.c
Criterion Covered Total %
branch 0 70 0.0


line true false branch
270 0 0 EV_RELEASE_CB;
279 0 0 EV_ACQUIRE_CB;
298 0 0 if (ecb_expect_true (tail + 1 - EV_SQ_VAR (head) <= EV_SQ_VAR (ring_entries)))
309 0 0 if (res >= 0)
357 0 0 if (iouring_ring != MAP_FAILED) munmap (iouring_ring, iouring_ring_size);
358 0 0 if (iouring_sqes != MAP_FAILED) munmap (iouring_sqes, iouring_sqes_size);
360 0 0 if (ev_is_active (&iouring_tfd_w))
382 0 0 if (!have_monotonic) /* cannot really happen, but what if11 */
387 0 0 if (iouring_fd < 0)
390 0 0 if ((~params.features) & (IORING_FEAT_NODROP | IORING_FEAT_SINGLE_MMAP | IORING_FEAT_SUBMIT_STABLE))
406 0 0 if (iouring_ring == MAP_FAILED || iouring_sqes == MAP_FAILED)
0 0 if (iouring_ring == MAP_FAILED || iouring_sqes == MAP_FAILED)
428 0 0 if (iouring_tfd < 0)
440 0 0 while (iouring_internal_init (EV_A) < 0)
455 0 0 if (oev)
474 0 0 if (nev)
498 0 0 if (ecb_expect_false (tfd_to < iouring_tfd_to))
520 0 0 if (cqe->user_data == (uint64_t)-1)
534 0 0 if (ecb_expect_false (gen != (uint32_t)anfds [fd].egen))
537 0 0 if (ecb_expect_false (res < 0))
541 0 0 if (res == -EBADF)
559 0 0 (res & (POLLOUT | POLLERR | POLLHUP) ? EV_WRITE : 0)
589 0 0 if (!iouring_max_entries)
611 0 0 if (backend)
629 0 0 if (head == tail)
633 0 0 if (ecb_expect_false (EV_CQ_VAR (overflow)))
643 0 0 while (head != tail);
659 0 0 if (iouring_handle_cq (EV_A) || fdchangecnt)
0 0 if (iouring_handle_cq (EV_A) || fdchangecnt)
666 0 0 if (timeout || iouring_to_submit)
0 0 if (timeout || iouring_to_submit)
670 0 0 if (ecb_expect_false (res < 0))
671 0 0 if (errno == EINTR)
673 0 0 else if (errno == EBUSY)
689 0 0 if (iouring_internal_init (EV_A) < 0)