/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | poll.c | 32 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/ |
D | main.c | 68 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/ |
D | blocking.c | 122 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/ |
D | main.c | 400 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/ |
D | tftp_client.c | 88 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/ |
D | sockets_service.c | 236 ret = zsock_poll(ctx.events, count + 1, -1); in socket_service_thread()
|
D | sockets_tls.c | 750 ret = zsock_poll(&fds, 1, timeout); in wait()
|
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn_transport_udp.c | 228 rc = zsock_poll(&pollfd, 1, 0); in tp_udp_poll()
|
/Zephyr-latest/subsys/net/lib/sntp/ |
D | sntp.c | 220 status = zsock_poll(ctx->sock.fds, ctx->sock.nfds, timeout); in sntp_recv_response()
|
/Zephyr-latest/include/zephyr/net/ |
D | socket.h | 598 static inline int zsock_poll(struct zsock_pollfd *fds, int nfds, int timeout) in zsock_poll() function
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_client.c | 47 pollres = zsock_poll(&pfd, 1, req_timeout_ms); in sendall() 478 ret = zsock_poll(fds, nfds, req_timeout_ms); in http_wait_data()
|
D | http_server_core.c | 536 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/ |
D | main.c | 101 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/ |
D | mqtt_client.c | 258 rc = zsock_poll(fds, nfds, timeout); in poll_mqtt_socket()
|
/Zephyr-latest/subsys/net/lib/websocket/ |
D | websocket.c | 569 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/ |
D | clock.c | 301 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/ |
D | shell_mqtt.c | 121 rc = zsock_poll(sh_mqtt->fds, sh_mqtt->nfds, timeout); in wait()
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_server.c | 784 ret = zsock_poll(sock_fds, sock_nfds, coap_server_poll_timeout()); in coap_server_thread()
|
D | coap_client.c | 585 ret = zsock_poll(fds, nfds, COAP_PERIODIC_TIMEOUT); in handle_poll()
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | updatehub.c | 102 if (zsock_poll(ctx.fds, ctx.nfds, NETWORK_TIMEOUT) < 0) { in wait_fds()
|
/Zephyr-latest/tests/net/socket/tcp/src/ |
D | main.c | 1105 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/ |
D | main.c | 132 ret = zsock_poll(pollfds, ARRAY_SIZE(pollfds), -1); in process_dns()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_engine.c | 862 rc = zsock_poll(sock_fds, MAX_POLL_FD, timeout); in socket_loop()
|
/Zephyr-latest/modules/hostap/src/ |
D | supp_main.c | 211 ret = zsock_poll(fds, 1, WRITE_TIMEOUT); in zephyr_wifi_send_event()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.2.rst | 1123 * :github:`18867` - zsock_poll() unnecessarily wait when querying for ZSOCK_POLLOUT
|