Searched refs:fds_count (Results 1 – 20 of 20) sorted by relevance
/external/libwebsockets/lib/core-net/ |
D | pollfd.c | 73 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 …]
|
D | adopt.c | 34 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()
|
D | wsi.c | 134 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()
|
D | server.c | 250 pt->fds_count, in lws_json_dump_context()
|
D | close.c | 155 wsi->context->pt[(int)wsi->tsi].fds_count); in __lws_free_wsi()
|
D | private-lib-core-net.h | 458 unsigned int fds_count; member
|
D | vhost.c | 1281 for (n = 0; (unsigned int)n < pt->fds_count; n++) {
|
/external/libwebsockets/lib/plat/optee/ |
D | network.c | 131 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/ |
D | windows-service.c | 40 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()
|
D | windows-init.c | 75 pt->fds_count = 0; in lws_plat_init()
|
D | windows-sockets.c | 182 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/ |
D | freertos-fds.c | 32 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()
|
D | freertos-service.c | 130 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/ |
D | unix-fds.c | 158 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()
|
D | unix-service.c | 45 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/ |
D | ops-listen.c | 167 } while (pt->fds_count < context->fd_limit_per_thread - 1 && in rops_handle_POLLIN_listen()
|
/external/libwebsockets/plugins/ |
D | server-status.js | 159 "<span class=n>fds:</span> <span class=v>" + san(jso.i.contexts[ci].pt[n].fds_count) + " / " +
|
/external/libwebsockets/lib/misc/ |
D | spawn.c | 52 if ((unsigned int)context->pt[tsi].fds_count == in lws_create_basic_wsi()
|
/external/libwebsockets/lib/event-libs/libuv/ |
D | libuv.c | 167 for (n = 0; (unsigned int)n < context->pt[m].fds_count; n++) { in lws_libuv_stop()
|
/external/libwebsockets/lib/core/ |
D | context.c | 1161 while (pt->fds_count) { in lws_pt_destroy()
|