Home
last modified time | relevance | path

Searched refs:ZSOCK_POLLOUT (Results 1 – 23 of 23) sorted by relevance

/Zephyr-Core-3.7.0/tests/net/socket/socketpair/src/
Dpoll.c42 fds[0].events |= ZSOCK_POLLOUT; in test_socketpair_poll_timeout_common()
143 fds[0].events |= ZSOCK_POLLOUT; in ZTEST_F()
176 fds[0].events |= ZSOCK_POLLOUT; in ZTEST_USER_F()
180 zassert_not_equal(fds[0].revents & ZSOCK_POLLOUT, 0, "POLLOUT not set"); in ZTEST_USER_F()
196 fds[0].events |= ZSOCK_POLLOUT; in ZTEST_USER_F()
202 zassert_not_equal(fds[0].revents & ZSOCK_POLLOUT, 0, "POLLOUT not set"); in ZTEST_USER_F()
272 fds[0].events |= ZSOCK_POLLOUT; in ZTEST_F()
286 zassert_not_equal(fds[0].revents & ZSOCK_POLLOUT, 0, "POLLOUT was not set"); in ZTEST_F()
357 fds[0].events |= ZSOCK_POLLOUT; in ZTEST_USER_F()
361 zassert_not_equal(fds[0].revents & ZSOCK_POLLOUT, 0, "POLLOUT not set"); in ZTEST_USER_F()
[all …]
/Zephyr-Core-3.7.0/tests/net/socket/poll/src/
Dmain.c119 pollout[0].events = ZSOCK_POLLOUT; in ZTEST()
129 zassert_equal(pollout[0].revents, ZSOCK_POLLOUT, ""); in ZTEST()
136 pollout[0].events = ZSOCK_POLLOUT; in ZTEST()
151 zassert_equal(pollout[0].revents, ZSOCK_POLLOUT, ""); in ZTEST()
207 pollout[0].events = ZSOCK_POLLOUT; in ZTEST()
211 zassert_equal(pollout[0].revents, ZSOCK_POLLOUT, ""); in ZTEST()
219 pollout[0].events = ZSOCK_POLLOUT; in ZTEST()
233 pollout[0].events = ZSOCK_POLLOUT; in ZTEST()
238 zassert_equal(pollout[0].revents, ZSOCK_POLLOUT, ""); in ZTEST()
/Zephyr-Core-3.7.0/include/zephyr/posix/
Dpoll.h18 #define POLLOUT ZSOCK_POLLOUT
/Zephyr-Core-3.7.0/tests/net/lib/coap_client/src/
Dstubs.h19 #define ZSOCK_POLLOUT 4 macro
/Zephyr-Core-3.7.0/drivers/modem/
Dmodem_socket.c285 if (fds[i].events & ZSOCK_POLLOUT) { in modem_socket_poll()
322 if (fds[i].events & ZSOCK_POLLOUT) { in modem_socket_poll()
323 fds[i].revents |= ZSOCK_POLLOUT; in modem_socket_poll()
356 if (pfd->events & ZSOCK_POLLOUT) { in modem_socket_poll_prepare()
381 if (pfd->events & ZSOCK_POLLOUT) { in modem_socket_poll_update()
385 pfd->revents |= ZSOCK_POLLOUT; in modem_socket_poll_update()
/Zephyr-Core-3.7.0/tests/posix/eventfd/src/
Dblocking.c147 .events = ZSOCK_POLLOUT, in ZTEST_F()
161 zassert_equal(fds[0].revents, ZSOCK_POLLOUT); in ZTEST_F()
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/lwm2m_engine/src/
Dmain.c411 set_socket_events(ZSOCK_POLLOUT); in ZTEST()
509 set_socket_events(ZSOCK_POLLOUT); in ZTEST()
517 set_socket_events(ZSOCK_POLLOUT); in ZTEST()
523 set_socket_events(ZSOCK_POLLOUT); in ZTEST()
530 set_socket_events(ZSOCK_POLLOUT); in ZTEST()
Dstubs.h21 #define ZSOCK_POLLOUT 4 macro
Dstubs.c104 if (my_events & ZSOCK_POLLOUT) { in z_impl_zsock_sendto()
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/
Dsockets_select.c118 events |= ZSOCK_POLLOUT; in z_impl_zsock_select()
184 if (revents & ZSOCK_POLLOUT) { in z_impl_zsock_select()
Dsocketpair.c778 if (pfd->events & ZSOCK_POLLOUT) { in zsock_poll_prepare_ctx()
835 if (pfd->events & ZSOCK_POLLOUT) { in zsock_poll_update_ctx()
855 pfd->revents |= ZSOCK_POLLOUT; in zsock_poll_update_ctx()
Dsockets.c2237 if (pfd->events & ZSOCK_POLLOUT) { in zsock_poll_prepare_ctx()
2283 if (pfd->events & ZSOCK_POLLOUT) { in zsock_poll_update_ctx()
2290 pfd->revents |= ZSOCK_POLLOUT; in zsock_poll_update_ctx()
2294 pfd->revents |= ZSOCK_POLLOUT; in zsock_poll_update_ctx()
Dsockets_tls.c785 return wait(sock, timeout, ZSOCK_POLLOUT); in wait_for_reason()
/Zephyr-Core-3.7.0/lib/os/zvfs/
Dzvfs_eventfd.c68 if (pfd->events & ZSOCK_POLLOUT) { in zvfs_eventfd_poll_prepare()
93 if (pfd->events & ZSOCK_POLLOUT) { in zvfs_eventfd_poll_update()
94 pfd->revents |= ZSOCK_POLLOUT * (efd->cnt < UINT64_MAX - 1); in zvfs_eventfd_poll_update()
/Zephyr-Core-3.7.0/include/zephyr/net/
Dsocket.h53 #define ZSOCK_POLLOUT 4 macro
1047 #define POLLOUT ZSOCK_POLLOUT
/Zephyr-Core-3.7.0/tests/net/socket/tls/src/
Dmain.c1623 fds[0].events = ZSOCK_POLLOUT; in ZTEST()
1627 zassert_equal(fds[0].revents, ZSOCK_POLLOUT, "No POLLOUT event"); in ZTEST()
1654 zassert_equal(fds[0].revents, ZSOCK_POLLOUT, "No POLLOUT event"); in ZTEST()
1669 fds[0].events = ZSOCK_POLLOUT; in ZTEST()
1674 zassert_equal(fds[0].revents, ZSOCK_POLLOUT, "No POLLOUT event"); in ZTEST()
/Zephyr-Core-3.7.0/drivers/net/
Dnsos_sockets.c609 ret = nsos_wait_for_poll(sock, ZSOCK_POLLOUT, sock->send_timeout); in nsos_connect_blocking()
759 ret = nsos_poll_if_blocking(sock, ZSOCK_POLLOUT, sock->send_timeout, flags); in nsos_sendto()
818 ret = nsos_poll_if_blocking(sock, ZSOCK_POLLOUT, sock->send_timeout, flags); in nsos_sendmsg()
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/
Dlwm2m_engine.c757 : ZSOCK_POLLOUT); in socket_reset_pollfd_events()
874 if (revents & ZSOCK_POLLOUT) { in socket_loop()
/Zephyr-Core-3.7.0/drivers/wifi/simplelink/
Dsimplelink_sockets.c607 if (fds[i].events & ZSOCK_POLLOUT) { in simplelink_poll()
630 fds[i].revents |= ZSOCK_POLLOUT; in simplelink_poll()
/Zephyr-Core-3.7.0/tests/net/socket/tcp/src/
Dmain.c1104 poll_fds[0].events = ZSOCK_POLLOUT; in ZTEST()
1145 poll_fds[0].events = ZSOCK_POLLOUT; in ZTEST()
1148 zassert_equal(poll_fds[0].revents, ZSOCK_POLLOUT, in ZTEST()
2306 fds[0].events = ZSOCK_POLLOUT; in ZTEST()
/Zephyr-Core-3.7.0/subsys/net/lib/http/
Dhttp_client.c46 pfd.events = ZSOCK_POLLOUT; in sendall()
/Zephyr-Core-3.7.0/subsys/net/lib/websocket/
Dwebsocket.c569 pfd.events = ZSOCK_POLLOUT; in sendmsg_all()
/Zephyr-Core-3.7.0/doc/releases/
Drelease-notes-2.2.rst1123 * :github:`18867` - zsock_poll() unnecessarily wait when querying for ZSOCK_POLLOUT