Lines Matching full:fd
14 reopen(&fixture->fd, 0, EFD_NONBLOCK); in ZTEST_F()
16 ret = eventfd_read(fixture->fd, &val); in ZTEST_F()
20 ret = eventfd_write(fixture->fd, TESTVAL); in ZTEST_F()
23 ret = eventfd_read(fixture->fd, &val); in ZTEST_F()
27 ret = eventfd_read(fixture->fd, &val); in ZTEST_F()
34 reopen(&fixture->fd, TESTVAL, EFD_NONBLOCK); in ZTEST_F()
35 eventfd_poll_set_common(fixture->fd); in ZTEST_F()
40 reopen(&fixture->fd, 0, EFD_NONBLOCK); in ZTEST_F()
41 eventfd_poll_unset_common(fixture->fd); in ZTEST_F()
49 reopen(&fixture->fd, 0, EFD_NONBLOCK); in ZTEST_F()
52 ret = is_blocked(fixture->fd, &event); in ZTEST_F()
55 ret = eventfd_write(fixture->fd, UINT64_MAX); in ZTEST_F()
56 zassert_equal(ret, -1, "fd == %d", fixture->fd); in ZTEST_F()
59 ret = eventfd_write(fixture->fd, UINT64_MAX-1); in ZTEST_F()
60 zassert_equal(ret, 0, "fd == %d", fixture->fd); in ZTEST_F()
63 ret = is_blocked(fixture->fd, &event); in ZTEST_F()
66 ret = eventfd_write(fixture->fd, 1); in ZTEST_F()
67 zassert_equal(ret, -1, "fd == %d", fixture->fd); in ZTEST_F()