Lines Matching full:fixture
14 ret = eventfd_write(fixture->fd, 3); in ZTEST_F()
17 ret = eventfd_write(fixture->fd, 2); in ZTEST_F()
20 ret = eventfd_read(fixture->fd, &val); in ZTEST_F()
25 reopen(&fixture->fd, 0, EFD_SEMAPHORE); in ZTEST_F()
27 ret = eventfd_write(fixture->fd, 3); in ZTEST_F()
30 ret = eventfd_write(fixture->fd, 2); in ZTEST_F()
33 ret = eventfd_read(fixture->fd, &val); in ZTEST_F()
43 ret = eventfd_write(fixture->fd, 0); in ZTEST_F()
44 zassert_equal(ret, 0, "fd == %d", fixture->fd); in ZTEST_F()
47 ret = is_blocked(fixture->fd, &event); in ZTEST_F()
56 pfd.fd = fixture->fd; in ZTEST_F()
65 reopen(&fixture->fd, TESTVAL, 0); in ZTEST_F()
66 eventfd_poll_set_common(fixture->fd); in ZTEST_F()
71 eventfd_poll_unset_common(fixture->fd); in ZTEST_F()
80 struct eventfd_fixture *fixture = arg1; in thread_eventfd_read_42() local
82 zassert_ok(eventfd_read(fixture->fd, &value)); in thread_eventfd_read_42()
89 thread_eventfd_read_42, fixture, NULL, NULL, 0, 0, K_NO_WAIT); in ZTEST_F()
94 zassert_ok(eventfd_write(fixture->fd, 42)); in ZTEST_F()
102 struct eventfd_fixture *fixture = arg1; in thread_eventfd_write() local
104 zassert_ok(eventfd_write(fixture->fd, 71)); in thread_eventfd_write()
111 .fd = fixture->fd, in ZTEST_F()
119 thread_eventfd_write, fixture, NULL, NULL, 0, 0, K_MSEC(100)); in ZTEST_F()
128 zassert_ok(eventfd_read(fixture->fd, &value)); in ZTEST_F()
137 struct eventfd_fixture *fixture = arg1; in thread_eventfd_read() local
139 zassert_ok(eventfd_read(fixture->fd, &value)); in thread_eventfd_read()
146 .fd = fixture->fd, in ZTEST_F()
152 zassert_ok(eventfd_write(fixture->fd, UINT64_MAX - 1)); in ZTEST_F()
155 thread_eventfd_read, fixture, NULL, NULL, 0, 0, K_MSEC(100)); in ZTEST_F()