Lines Matching full:eventfd
13 *fd = eventfd(initval, flags); in reopen()
14 zassert_true(*fd >= 0, "eventfd(%d, %d) failed: %d", initval, flags, errno); in reopen()
41 zassert_equal(ret, 1, "eventfd not blocked with initval == 0"); in eventfd_poll_unset_common()
48 zassert_equal(ret, 0, "eventfd blocked after write"); in eventfd_poll_unset_common()
58 /* eventfd shall block on subsequent reads */ in eventfd_poll_unset_common()
62 zassert_equal(ret, 1, "eventfd not blocked after read"); in eventfd_poll_unset_common()
73 zassert_equal(ret, 0, "eventfd is blocked with initval != 0"); in eventfd_poll_set_common()
81 zassert_equal(ret, 1, "eventfd is not blocked after read"); in eventfd_poll_set_common()
96 fixture->fd = eventfd(0, 0); in before()
97 zassert_true(fixture->fd >= 0, "eventfd(0, 0) failed: %d", errno); in before()
108 ZTEST_SUITE(eventfd, NULL, setup, before, after, NULL);