Home
last modified time | relevance | path

Searched refs:fds_count (Results 1 – 20 of 20) sorted by relevance

/external/libwebsockets/lib/core-net/
Dpollfd.c73 assert(wsi->position_in_fds_table < (int)pt->fds_count); in _lws_change_pollfd()
251 lwsl_warn("%s: fds_count %u, %s\n", __func__, pt->fds_count, s); in __dump_fds()
253 for (n = 0; n < pt->fds_count; n++) { in __dump_fds()
277 __func__, wsi, wsi->tsi, wsi->desc.sockfd, pt->fds_count); in __insert_wsi_socket_into_fds()
279 if ((unsigned int)pt->fds_count >= context->fd_limit_per_thread) { in __insert_wsi_socket_into_fds()
310 wsi->position_in_fds_table = pt->fds_count; in __insert_wsi_socket_into_fds()
315 pa.events = pt->fds[pt->fds_count].events; in __insert_wsi_socket_into_fds()
330 if ((unsigned int)pt->fds_count == context->fd_limit_per_thread - 1) in __insert_wsi_socket_into_fds()
382 (unsigned int)m < pt->fds_count)); in __remove_wsi_socket_from_fds()
396 assert(pt->fds_count && (unsigned int)m != pt->fds_count); in __remove_wsi_socket_from_fds()
[all …]
Dadopt.c34 lwsl_debug("%s: %d %d\n", __func__, context->pt[n].fds_count, in lws_get_idlest_tsi()
36 if ((unsigned int)context->pt[n].fds_count != in lws_get_idlest_tsi()
38 (unsigned int)context->pt[n].fds_count < lowest) { in lws_get_idlest_tsi()
39 lowest = context->pt[n].fds_count; in lws_get_idlest_tsi()
Dwsi.c134 for (n = 0; n < pt->fds_count; n++) { in lws_callback_all_protocol()
159 for (n = 0; n < pt->fds_count; n++) { in lws_callback_all_protocol_vhost_args()
284 for (n = 0; n < pt->fds_count; n++) { in lws_rx_flow_allow_all_protocol()
Dserver.c250 pt->fds_count, in lws_json_dump_context()
Dclose.c155 wsi->context->pt[(int)wsi->tsi].fds_count); in __lws_free_wsi()
Dprivate-lib-core-net.h458 unsigned int fds_count; member
Dvhost.c1281 for (n = 0; (unsigned int)n < pt->fds_count; n++) {
/external/libwebsockets/lib/plat/optee/
Dnetwork.c131 n = poll(pt->fds, pt->fds_count, timeout_us / LWS_US_PER_MS); in _lws_plat_service_tsi()
156 for (n = 0; n < (int)pt->fds_count && c; n++) { in _lws_plat_service_tsi()
217 pt->fds[pt->fds_count++].revents = 0; in lws_plat_insert_socket_into_fds()
226 pt->fds_count--; in lws_plat_delete_socket_from_fds()
/external/libwebsockets/lib/plat/windows/
Dwindows-service.c40 for (n = 0; n < (int)pt->fds_count; n++) { in _lws_plat_service_forced_tsi()
100 for (i = 0; i < pt->fds_count; ++i) { in _lws_plat_service_tsi()
148 for (n = 0; n < (int)pt->fds_count; n++) in _lws_plat_service_tsi()
175 for (eIdx = 0; eIdx < pt->fds_count; ++eIdx) { in _lws_plat_service_tsi()
Dwindows-init.c75 pt->fds_count = 0; in lws_plat_init()
Dwindows-sockets.c182 pt->fds[pt->fds_count++].revents = 0; in lws_plat_insert_socket_into_fds()
192 pt->fds_count--; in lws_plat_delete_socket_from_fds()
/external/libwebsockets/lib/plat/freertos/
Dfreertos-fds.c32 pt->fds[pt->fds_count++].revents = 0; in lws_plat_insert_socket_into_fds()
41 pt->fds_count--; in lws_plat_delete_socket_from_fds()
Dfreertos-service.c130 for (n = 0; n < (int)pt->fds_count; n++) { in _lws_plat_service_tsi()
153 for (m = 0; m < (int)pt->fds_count; m++) { in _lws_plat_service_tsi()
201 for (n = 0; n < (int)pt->fds_count && c; n++) { in _lws_plat_service_tsi()
/external/libwebsockets/lib/plat/unix/
Dunix-fds.c158 pt->fds[pt->fds_count++].revents = 0; in lws_plat_insert_socket_into_fds()
171 pt->fds_count--; in lws_plat_delete_socket_from_fds()
Dunix-service.c45 for (n = 0; n < (int)pt->fds_count; n++) { in _lws_plat_service_forced_tsi()
134 n = poll(pt->fds, pt->fds_count, timeout_us /* ms now */ ); in _lws_plat_service_tsi()
/external/libwebsockets/lib/roles/listen/
Dops-listen.c167 } while (pt->fds_count < context->fd_limit_per_thread - 1 && in rops_handle_POLLIN_listen()
/external/libwebsockets/plugins/
Dserver-status.js159 "<span class=n>fds:</span> <span class=v>" + san(jso.i.contexts[ci].pt[n].fds_count) + " / " +
/external/libwebsockets/lib/misc/
Dspawn.c52 if ((unsigned int)context->pt[tsi].fds_count == in lws_create_basic_wsi()
/external/libwebsockets/lib/event-libs/libuv/
Dlibuv.c167 for (n = 0; (unsigned int)n < context->pt[m].fds_count; n++) { in lws_libuv_stop()
/external/libwebsockets/lib/core/
Dcontext.c1161 while (pt->fds_count) { in lws_pt_destroy()