Home
last modified time | relevance | path

Searched refs:zsock_poll (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/tests/net/socket/socketpair/src/
Dpoll.c32 res = zsock_poll(fds, 1, 1); in test_socketpair_poll_timeout_common()
43 res = zsock_poll(fds, 1, 1); in test_socketpair_poll_timeout_common()
115 res = zsock_poll(fds, 1, -1); in ZTEST_F()
153 res = zsock_poll(fds, 1, -1); in ZTEST_F()
177 res = zsock_poll(fds, 1, 0); in ZTEST_USER_F()
189 res = zsock_poll(fds, 1, 0); in ZTEST_USER_F()
199 res = zsock_poll(fds, 2, 0); in ZTEST_USER_F()
260 res = zsock_poll(fds, 1, 5000); in ZTEST_F()
283 res = zsock_poll(fds, 1, 5000); in ZTEST_F()
306 res = zsock_poll(fds, 1, 0); in ZTEST_USER_F()
[all …]
/Zephyr-latest/tests/net/socket/poll/src/
Dmain.c68 res = zsock_poll(pollfds, ARRAY_SIZE(pollfds), 0); in ZTEST()
82 res = zsock_poll(pollfds, ARRAY_SIZE(pollfds), 30); in ZTEST()
93 res = zsock_poll(pollfds, ARRAY_SIZE(pollfds), 30); in ZTEST()
111 res = zsock_poll(pollfds, ARRAY_SIZE(pollfds), 0); in ZTEST()
126 res = zsock_poll(pollout, ARRAY_SIZE(pollout), 200); in ZTEST()
148 res = zsock_poll(pollout, ARRAY_SIZE(pollout), 200); in ZTEST()
164 res = zsock_poll(pollfds, ARRAY_SIZE(pollfds), 0); in ZTEST()
209 res = zsock_poll(pollout, ARRAY_SIZE(pollout), 10); in ZTEST()
221 res = zsock_poll(pollout, ARRAY_SIZE(pollout), 10); in ZTEST()
236 res = zsock_poll(pollout, ARRAY_SIZE(pollout), 500); in ZTEST()
/Zephyr-latest/tests/posix/eventfd/src/
Dblocking.c122 ret = zsock_poll(fds, ARRAY_SIZE(fds), 200); in ZTEST_F()
158 ret = zsock_poll(fds, ARRAY_SIZE(fds), 200); in ZTEST_F()
/Zephyr-latest/tests/net/socket/tls/src/
Dmain.c400 ret = zsock_poll(fds, 1, 1000); in test_prepare_dtls_connection()
1556 ret = zsock_poll(fds, 1, 0); in ZTEST()
1562 ret = zsock_poll(fds, 1, 100); in ZTEST()
1591 ret = zsock_poll(fds, 1, 0); in ZTEST()
1598 ret = zsock_poll(fds, 1, 100); in ZTEST()
1625 ret = zsock_poll(fds, 1, 0); in ZTEST()
1644 ret = zsock_poll(fds, 1, 0); in ZTEST()
1652 ret = zsock_poll(fds, 1, 100); in ZTEST()
1672 ret = zsock_poll(fds, 1, 0); in ZTEST()
1696 ret = zsock_poll(fds, 1, 100); in ZTEST()
[all …]
/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.c88 ret = zsock_poll(&fds, 1, CONFIG_TFTPC_REQUEST_TIMEOUT); in send_data()
211 ret = zsock_poll(&fds, 1, CONFIG_TFTPC_REQUEST_TIMEOUT); in send_request()
356 } while (zsock_poll(&fds, 1, CONFIG_TFTPC_REQUEST_TIMEOUT) <= 0); in tftp_get()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_service.c236 ret = zsock_poll(ctx.events, count + 1, -1); in socket_service_thread()
Dsockets_tls.c750 ret = zsock_poll(&fds, 1, timeout); in wait()
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_transport_udp.c228 rc = zsock_poll(&pollfd, 1, 0); in tp_udp_poll()
/Zephyr-latest/subsys/net/lib/sntp/
Dsntp.c220 status = zsock_poll(ctx->sock.fds, ctx->sock.nfds, timeout); in sntp_recv_response()
/Zephyr-latest/include/zephyr/net/
Dsocket.h598 static inline int zsock_poll(struct zsock_pollfd *fds, int nfds, int timeout) in zsock_poll() function
/Zephyr-latest/subsys/net/lib/http/
Dhttp_client.c47 pollres = zsock_poll(&pfd, 1, req_timeout_ms); in sendall()
478 ret = zsock_poll(fds, nfds, req_timeout_ms); in http_wait_data()
Dhttp_server_core.c536 ret = zsock_poll(ctx->fds, HTTP_SERVER_SOCK_COUNT, -1); in http_server_run()
/Zephyr-latest/tests/net/lib/mqtt/v3_1_1/mqtt_client/src/
Dmain.c101 ret = zsock_poll(client_fds, client_nfds, TIMEOUT); in client_wait()
398 ret = zsock_poll(fds, ARRAY_SIZE(fds), TIMEOUT); in broker_process()
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/
Dmqtt_client.c258 rc = zsock_poll(fds, nfds, timeout); in poll_mqtt_socket()
/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket.c569 pollres = zsock_poll(&pfd, 1, req_timeout_ms); in sendmsg_all()
903 ret = zsock_poll(&fds, 1, timeout); in wait_rx()
/Zephyr-latest/subsys/net/lib/ptp/
Dclock.c301 ret = zsock_poll(ptp_clk.pollfd, PTP_SOCKET_CNT * ptp_clk.default_ds.n_ports + 1, -1); in ptp_clock_poll_sockets()
/Zephyr-latest/subsys/shell/backends/
Dshell_mqtt.c121 rc = zsock_poll(sh_mqtt->fds, sh_mqtt->nfds, timeout); in wait()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_server.c784 ret = zsock_poll(sock_fds, sock_nfds, coap_server_poll_timeout()); in coap_server_thread()
Dcoap_client.c585 ret = zsock_poll(fds, nfds, COAP_PERIODIC_TIMEOUT); in handle_poll()
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c102 if (zsock_poll(ctx.fds, ctx.nfds, NETWORK_TIMEOUT) < 0) { in wait_fds()
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c1105 int poll_rc = zsock_poll(poll_fds, POLL_FDS_NUM, ASYNC_POLL_TIMEOUT); in ZTEST()
1146 poll_rc = zsock_poll(poll_fds, 1, ASYNC_POLL_TIMEOUT); in ZTEST()
2309 ret = zsock_poll(fds, 1, 10); in ZTEST()
/Zephyr-latest/tests/net/socket/getaddrinfo/src/
Dmain.c132 ret = zsock_poll(pollfds, ARRAY_SIZE(pollfds), -1); in process_dns()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_engine.c862 rc = zsock_poll(sock_fds, MAX_POLL_FD, timeout); in socket_loop()
/Zephyr-latest/modules/hostap/src/
Dsupp_main.c211 ret = zsock_poll(fds, 1, WRITE_TIMEOUT); in zephyr_wifi_send_event()
/Zephyr-latest/doc/releases/
Drelease-notes-2.2.rst1123 * :github:`18867` - zsock_poll() unnecessarily wait when querying for ZSOCK_POLLOUT

12