Home
last modified time | relevance | path

Searched refs:MAX_POLL_FD (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_engine.c102 #define MAX_POLL_FD CONFIG_ZVFS_POLL_MAX macro
105 static struct zsock_pollfd sock_fds[MAX_POLL_FD];
107 static struct lwm2m_ctx *sock_ctx[MAX_POLL_FD];
131 zvfs_eventfd_write(sock_fds[MAX_POLL_FD - 1].fd, 1); in lwm2m_engine_wake_up()
538 if (sock_nfds >= (MAX_POLL_FD - 1)) { in lwm2m_socket_add()
542 if (sock_nfds >= MAX_POLL_FD) { in lwm2m_socket_add()
769 for (int i = 0; i < MAX_POLL_FD; ++i) { in socket_reset_pollfd_events()
862 rc = zsock_poll(sock_fds, MAX_POLL_FD, timeout); in socket_loop()
870 for (i = 0; i < MAX_POLL_FD; i++) { in socket_loop()
874 i == (MAX_POLL_FD - 1)) { in socket_loop()
[all …]
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_server.c36 #define MAX_POLL_FD CONFIG_ZVFS_POLL_MAX macro
719 struct zsock_pollfd sock_fds[MAX_POLL_FD]; in coap_server_thread()
761 if (sock_nfds >= MAX_POLL_FD) { in coap_server_thread()
764 MAX_POLL_FD); in coap_server_thread()
775 if (sock_nfds < MAX_POLL_FD) { in coap_server_thread()