/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | poll.c | 31 fds[0].events |= ZSOCK_POLLIN; in test_socketpair_poll_timeout_common() 105 fds[0].events |= ZSOCK_POLLIN; in ZTEST_F() 117 zassert_equal(fds[0].revents & ZSOCK_POLLIN, ZSOCK_POLLIN, "POLLIN not set"); in ZTEST_F() 188 fds[0].events |= ZSOCK_POLLIN; in ZTEST_USER_F() 192 zassert_not_equal(fds[0].revents & ZSOCK_POLLIN, 0, "POLLIN not set"); in ZTEST_USER_F() 198 fds[1].events |= ZSOCK_POLLIN; in ZTEST_USER_F() 203 zassert_not_equal(fds[1].revents & ZSOCK_POLLIN, 0, "POLLIN not set"); in ZTEST_USER_F() 249 fds[0].events |= ZSOCK_POLLIN; in ZTEST_F() 263 zassert_not_equal(fds[0].revents & ZSOCK_POLLIN, 0, "POLLIN not set"); in ZTEST_F() 305 fds[0].events |= ZSOCK_POLLIN; in ZTEST_USER_F() [all …]
|
/Zephyr-latest/tests/net/socket/poll/src/ |
D | main.c | 62 pollfds[0].events = ZSOCK_POLLIN; in ZTEST() 64 pollfds[1].events = ZSOCK_POLLIN; in ZTEST() 73 zassert_equal(pollfds[0].events, ZSOCK_POLLIN, ""); in ZTEST() 76 zassert_equal(pollfds[1].events, ZSOCK_POLLIN, ""); in ZTEST() 99 zassert_equal(pollfds[0].events, ZSOCK_POLLIN, ""); in ZTEST() 102 zassert_equal(pollfds[1].events, ZSOCK_POLLIN, ""); in ZTEST() 103 zassert_equal(pollfds[1].revents, ZSOCK_POLLIN, ""); in ZTEST()
|
/Zephyr-latest/tests/net/lib/coap_client/src/ |
D | main.c | 138 clear_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_recvfrom_custom_fake() 158 set_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_sendto_custom_fake() 207 set_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_sendto_custom_fake_echo() 248 set_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_sendto_custom_fake_echo_next_req() 286 clear_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_recvfrom_custom_fake_response() 326 clear_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_recvfrom_custom_fake_rst() 339 clear_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_recvfrom_custom_fake_only_ack() 359 clear_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_recvfrom_custom_fake_unmatching() 386 clear_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_recvfrom_custom_fake_echo() 413 clear_socket_events(sock, ZSOCK_POLLIN); in z_impl_zsock_recvfrom_custom_fake_echo_next_req() [all …]
|
D | stubs.h | 26 #define ZSOCK_POLLIN 1 macro
|
/Zephyr-latest/include/zephyr/posix/ |
D | poll.h | 19 #define POLLIN ZSOCK_POLLIN
|
/Zephyr-latest/tests/net/socket/service/src/ |
D | main.c | 82 sock[0].events = ZSOCK_POLLIN; in run_test_service() 88 sock[0].events = ZSOCK_POLLIN; in run_test_service() 137 sock[1].events = ZSOCK_POLLIN; in run_test_service()
|
/Zephyr-latest/drivers/modem/ |
D | modem_socket.c | 288 } else if (fds[i].events & ZSOCK_POLLIN) { in modem_socket_poll() 325 } else if ((fds[i].events & ZSOCK_POLLIN) && (sock->packet_sizes[0] > 0U)) { in modem_socket_poll() 326 fds[i].revents |= ZSOCK_POLLIN; in modem_socket_poll() 345 if (pfd->events & ZSOCK_POLLIN) { in modem_socket_poll_prepare() 374 if (pfd->events & ZSOCK_POLLIN) { in modem_socket_poll_update() 376 pfd->revents |= ZSOCK_POLLIN; in modem_socket_poll_update()
|
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn_transport_udp.c | 225 .events = ZSOCK_POLLIN, in tp_udp_poll() 233 LOG_DBG("revents %d", pollfd.revents & ZSOCK_POLLIN); in tp_udp_poll() 235 return pollfd.revents & ZSOCK_POLLIN; in tp_udp_poll()
|
/Zephyr-latest/tests/posix/eventfd/src/ |
D | blocking.c | 112 .events = ZSOCK_POLLIN, in ZTEST_F() 125 zassert_equal(fds[0].revents, ZSOCK_POLLIN); in ZTEST_F()
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_tcp_receiver.c | 149 if (!(pev->event.revents & ZSOCK_POLLIN)) { in tcp_recv_data() 183 fds[i].events = ZSOCK_POLLIN; in tcp_recv_data() 270 pollfd->events = ZSOCK_POLLIN; in tcp_bind_listen_connection()
|
D | zperf_udp_receiver.c | 340 if (!(pev->event.revents & ZSOCK_POLLIN)) { in udp_recv_data() 439 fds[SOCK_ID_IPV4].events = ZSOCK_POLLIN; in zperf_udp_receiver_init() 496 fds[SOCK_ID_IPV6].events = ZSOCK_POLLIN; in zperf_udp_receiver_init()
|
/Zephyr-latest/subsys/net/lib/ptp/ |
D | ptp.c | 73 if (!(fd->revents & (ZSOCK_POLLIN | ZSOCK_POLLPRI))) { in ptp_thread()
|
/Zephyr-latest/lib/os/zvfs/ |
D | zvfs_eventfd.c | 55 if (pfd->events & ZSOCK_POLLIN) { in zvfs_eventfd_poll_prepare() 88 if (pfd->events & ZSOCK_POLLIN) { in zvfs_eventfd_poll_update() 89 pfd->revents |= ZSOCK_POLLIN * (efd->cnt > 0); in zvfs_eventfd_poll_update()
|
/Zephyr-latest/subsys/net/lib/tftp/ |
D | tftp_client.c | 60 .events = ZSOCK_POLLIN, in send_data() 208 .events = ZSOCK_POLLIN, in send_request() 343 .events = ZSOCK_POLLIN, in tftp_get()
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/ |
D | stubs.h | 20 #define ZSOCK_POLLIN 1 macro
|
D | stubs.c | 118 if (my_events & ZSOCK_POLLIN) { in z_impl_zsock_recvfrom()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_tls.c | 781 return wait(sock, timeout, ZSOCK_POLLIN); in wait_for_reason() 3008 if ((pfd->events & ZSOCK_POLLIN) && (ctx->type == SOCK_DGRAM) && in ztls_poll_prepare_ctx() 3020 pfd->events &= ~ZSOCK_POLLIN; in ztls_poll_prepare_ctx() 3038 if (pfd->events & ZSOCK_POLLIN) { in ztls_poll_prepare_ctx() 3152 pfd->revents |= ZSOCK_POLLIN; in ztls_poll_update_pollin() 3158 if (!(pfd->revents & ZSOCK_POLLIN)) { in ztls_poll_update_pollin() 3172 if (!is_handshake_complete(ctx) && !(pfd->revents & ZSOCK_POLLIN)) { in ztls_poll_update_pollin() 3183 pfd->revents &= ~ZSOCK_POLLIN; in ztls_poll_update_pollin() 3203 pfd->revents &= ~ZSOCK_POLLIN; in ztls_poll_update_pollin() 3227 if ((pfd->events & ZSOCK_POLLIN) && in ztls_poll_update_ctx() [all …]
|
D | socketpair.c | 761 if (pfd->events & ZSOCK_POLLIN) { in zsock_poll_prepare_ctx() 875 if (pfd->events & ZSOCK_POLLIN) { in zsock_poll_update_ctx() 877 pfd->revents |= ZSOCK_POLLIN; in zsock_poll_update_ctx() 882 pfd->revents |= ZSOCK_POLLIN; in zsock_poll_update_ctx() 896 pfd->revents |= ZSOCK_POLLIN; in zsock_poll_update_ctx()
|
/Zephyr-latest/tests/net/socket/tls/src/ |
D | main.c | 399 fds[0].events = ZSOCK_POLLIN; in test_prepare_dtls_connection() 1554 fds[0].events = ZSOCK_POLLIN; in ZTEST() 1564 zassert_equal(fds[0].revents, ZSOCK_POLLIN, "No POLLIN event"); in ZTEST() 1589 fds[0].events = ZSOCK_POLLIN; in ZTEST() 1600 zassert_equal(fds[0].revents, ZSOCK_POLLIN, "No POLLIN event"); in ZTEST() 1691 fds[0].events = ZSOCK_POLLIN; in ZTEST() 1698 zassert_true(fds[0].revents & ZSOCK_POLLIN, "No POLLIN event"); in ZTEST() 1719 fds[0].events = ZSOCK_POLLIN; in ZTEST() 1753 fds[0].events = ZSOCK_POLLIN; in ZTEST() 1790 fds[0].events = ZSOCK_POLLIN; in ZTEST()
|
/Zephyr-latest/subsys/shell/backends/ |
D | shell_websocket.c | 181 if (!(evt->event.revents & ZSOCK_POLLIN)) { in ws_server_cb() 207 ctx->fds[0].events = ZSOCK_POLLIN; in shell_ws_init()
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_server.c | 769 sock_fds[sock_nfds].events = ZSOCK_POLLIN; in coap_server_thread() 777 sock_fds[sock_nfds].events = ZSOCK_POLLIN; in coap_server_thread() 793 sock_fds[i].revents & ZSOCK_POLLIN) { in coap_server_thread() 801 if (sock_fds[i].revents & ZSOCK_POLLIN) { in coap_server_thread()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_core.c | 109 ctx->fds[count].events = ZSOCK_POLLIN; in http_server_init() 241 ctx->fds[count].events = ZSOCK_POLLIN; in http_server_init() 590 if (!(ctx->fds[i].revents & ZSOCK_POLLIN)) { in http_server_run() 611 ctx->fds[j].events = ZSOCK_POLLIN; in http_server_run()
|
/Zephyr-latest/tests/net/lib/mqtt/v3_1_1/mqtt_client/src/ |
D | main.c | 87 client_fds[0].events = ZSOCK_POLLIN; in prepare_client_fds() 385 { s_sock, ZSOCK_POLLIN, 0}, in broker_process() 386 { c_sock, ZSOCK_POLLIN, 0}, in broker_process() 412 if (!(fds[i].revents & ZSOCK_POLLIN)) { in broker_process()
|
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/ |
D | mqtt_client.c | 83 fds[0].events = ZSOCK_POLLIN; in prepare_fds() 365 if (fds[0].revents & ZSOCK_POLLIN) { in app_mqtt_process()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | mdns_responder.c | 804 v6_ctx[i].fds[j].events = ZSOCK_POLLIN; in init_listener() 806 ipv6_fds[fds_pos++].events = ZSOCK_POLLIN; in init_listener() 897 v4_ctx[i].fds[j].events = ZSOCK_POLLIN; in init_listener() 899 ipv4_fds[fds_pos++].events = ZSOCK_POLLIN; in init_listener()
|